Nitin Venkatesh
Last seen May 22, 2016, 11:17 a.m.

Location: Chennai, India

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 - 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 ...

Adding SSL Certificates from OWASP ZAP - A Visual Walkthrough
Dec. 14, 2014, 8 a.m. by Nitin Venkatesh

So, you've setup OWASP ZAP and are routing your browser's traffic through it and are ready to do some digging, but everytime you hit a site, you get an annoying SSL Security Exception error and when you view the certificate, it is the OWASP ZAP Certificate. OWASP ZAP has a beautiful dynamic SSL Certificate generation feature that takes care of ...

Wordpress comments RSS feed for posts by a single author
Nov. 23, 2014, 6:31 a.m. by Nitin Venkatesh

Wordpress offers a plethora of RSS feeds right out of the box. It's pretty well-documented at the Codex - Wordpress Feeds page. One thing that was missing from the documentation, and for which I was actually looking for when combing through it in the first place, is the hidden feature of retrieving all comments made on posts by a ...

Accessing your Virtualbox Guest from your Host OS
Nov. 8, 2014, noon by Nitin Venkatesh

We all use VirtualBox to setup our playgrounds and experiment(wreck) everything without ever having to bear the repercussions. Sometimes, we want to access this guest machine from our host, but we fail. For example, I have an Ubuntu guest (nitin-VirtualBox) running inside my Ubuntu host(trusty) and I want to access the Apache Web Server running on my guest. Running an ...

← Older

I read, write, code and teach