Nitin Venkatesh
Last seen April 26, 2017, 8:12 a.m.

Website: http://nitstorm.github.io/
Location: Chennai, India

Apache HTTP Server as a Basic Forward/Reverse Proxy
Sept. 14, 2016, 9:35 a.m. by Nitin Venkatesh

Forward vs Reverse Proxies - Intro Source: Quora.com Forward Proxy A forward proxy brokerages the request of the client and forwards the request to the destination of the client's choice contingent on the configuration of the forward proxy. Most common uses are to Bypass firewall restrictions. Cache static resources and save bandwidth. Control what resources clients can access. Reverse Proxy ...


Installing LAMP + ModSecurity + ModSecurity CRS on Ubuntu 16.04
June 26, 2016, 9:56 p.m. by Nitin Venkatesh

LAMP stack refers to Linux, Apache, MySQL and PHP . With this bundle you can create web applications / services with Linux serving as the OS, Apache as the Web-Server, MySQL as the database server and PHP as the server-side programming language. So what is ModSecurity? ModSecurity is an open-source Web Application Firewall (WAF). It sits before your Web Server ...


Disabling the touchpad on your laptop
June 24, 2016, 10:53 a.m. by Nitin Venkatesh

To disable the touchpad on your Linux machine (Ubuntu used in the example), run xinput list $ xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ PixArt HP X500 USB Optical Mouse id=9 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=12 [slave pointer (2)] ⎣ Virtual ...


Installing Ruby with rvm
May 22, 2016, 11:31 a.m. by Nitin Venkatesh

From the time I discovered rvm, it has become the way of installing Ruby on a Linux box. So what is rvm? From the official page, RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems. And that is exactly what it is. It helps you ...


Enabling/Disabling modules and sites in Apache
Oct. 3, 2015, 8:57 p.m. by Nitin Venkatesh

The usual configuration in the Apache Web Server stems from a single point - httpd.conf, the main configuration file. There might be other configuration files but they are mostly referred to from this central config file with the Include directive. For example, you might find lines like, Include conf.d/ in the core configuration file. It is also not uncommon to ...


Fixing errors while installing Metasploit Framework on Ubuntu
June 24, 2015, 8:11 a.m. by Nitin Venkatesh

I followed the excellent instructions by darkoperator to install the Metasploit Framework on Ubuntu. However, I had a tiny hiccup when it came to doing the bundle install. (The bundle install step is in the section marked Installing Metasploit Framework in the instructions guide). I got the following error: Errno::EACCES: Permission denied @ rb_sysopen - metasploit-framework-4.11.0.pre.dev.gem An error occurred while ...


Intro to sqlmap
May 23, 2015, 10:49 p.m. by Nitin Venkatesh

Quoting its official page, "sqlmap is an open source penetration testing tool that automates the process of detecting and exploiting SQL injection flaws and taking over of database servers." sqlmap is a super complex tool with lots and lots of options and switches that you can bend and use to suit your needs. Today, we'll look at taking some beginner ...


I/O Redirection
May 2, 2015, 3:53 a.m. by Nitin Venkatesh

I/O redirection can come in very handy at times when you're working on the command-line. You can redirect the source of an input to a command and the destination of the output it produces to be files, or other commands themselves. Enough talk, let's get down to business! First of all, the things we need to know are the streams, ...


Hard links vs soft links in Linux
April 30, 2015, 9:02 p.m. by Nitin Venkatesh

There are two types of links in the Linux world that you'll come across - hard links and soft links. Hard links are the source files in a different location (think, a wormhole bending space and time and being at two places at once), whereas soft links(or symbolic links) act as pointers to the original file. Live Action Zone Let's ...


Finding ModSecurity version info
March 7, 2015, 8:06 p.m. by Nitin Venkatesh

If like me, you installed ModSecurity on Ubuntu or a Debian machine with something like $ sudo apt-get install libapache2-mod-security2 , we might end up clueless trying to find the mod_security.c file (as suggested in a few places) because the LoadModule in the Apache config uses a .so file. But whether you're using Ubuntu, Debian or CentOS, there is an ...


Setting up chroot jails for your vsftpd users
Jan. 23, 2015, midnight by Nitin Venkatesh

chroot jails keep your users locked in a directory and not let them wander about the filesystem to places they have no business poking their noses into. Alrighty, let's implement this in our vsftpd server so that you don't have your FTP users peeking at the passwd and shadow files. We assume you've already created your FTP user and have ...


Setting up vsftpd on Ubuntu
Jan. 16, 2015, midnight by Nitin Venkatesh

I wanted to upload files directly into the Wordpress from my bash script and did not want to sit around tinkering with PHP to achieve it. So what I ended up doing is setting up FTP, making life much more simpler. Installating vsftpd vsftpd is a FTP server program. Install it on your remote machine with, $ sudo apt-get install ...


← Older

I read, write, code and teach