Nitin Venkatesh
Last seen June 24, 2015, 8:10 a.m.

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

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


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


Installing vim.basic - making vi normal again
Oct. 5, 2014, 8:24 a.m. by Nitin Venkatesh

On Debian and other Debian-based distros, when you use Vim, you might find it a little weird. For example, in the insert mode, when you press the arrow keys, you end up with inserting characters - A, B, C and D which gets confusing for people new to the editor (like me). This is because Debian uses the vim.tiny configuration ...


PGP and SSH keys - Generate, export, backup and restore
Aug. 15, 2014, 6 a.m. by Nitin Venkatesh

I recently ran into a tiny problem when I forgot to backup my PGP and SSH keys. So, here's a li'l article on generating, exporting, securing your PGP and SSH keys for backups and restoring them from that backup. PGP (GnuPG) Generating keys: When you run $ gpg --gen-key, you're walked through the whole process of creating keys. nitin@trusty:~$ gpg ...


← Older

I read, write, code and teach