Nitin Venkatesh
Last seen Feb. 8, 2015, 1:24 a.m.

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

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


User and group management in Linux
Aug. 4, 2014, 6 a.m. by Nitin Venkatesh

Let's look at a few commands for adding, modifying and deleting users and groups alike. The commands are similar - useradd,usermod,userdel and groupadd,groupmod,groupdel. Note: Although a lot can be achieved using these tools, only a few operations have been demonstrated in the post for the sake of brevity. Please refer to the man pages to know about them. User Management ...


Searching the haystack with grep
July 26, 2014, 6 a.m. by Nitin Venkatesh

Short Version Syntax: grep [options] pattern [file] -i: ignore case of pattern -v: reverse search -n: display line numbers of lines matching pattern -c: display total count of number of lines matching pattern -e: used to specify multiple patterns Long Version grep is used to search for a particular string or pattern within a file or any given input. For ...


Monitoring webpages with Last-Modified and ETag headers
July 14, 2014, midnight by Nitin Venkatesh

Most sites have a lot going on in their HTTP headers which can sometimes help us easily identify if the web page has changed since the last time we visited it. This ofcourse depends on if the server responds with these headers and has been configured correctly to reflect any changes in the headers. Enough said, so when we query ...


Viewing text files on Linux - cat, head, tail, more and less
July 4, 2014, 6 a.m. by Nitin Venkatesh

A lot of times, we have the need to view text files on a Linux box, whether it be logs or scripts or what have you. This post is more like a cheat-sheet for me on using the cat, head, tail, more and less commands, but with examples and some screenshots. Short version head <filename>- View the top few lines ...


Installing PHPMyAdmin on Ubuntu
June 21, 2014, midnight by Nitin Venkatesh

I had to install PHPMyAdmin today and I encountered a little glitch. So here's me documenting it. It is assumed that you've already installed and setup your LAMP stack. If not, Step 0: Installing LAMP Stack $ sudo apt-get update && sudo apt-get install tasksel && sudo tasksel install lamp-server Step 1: Install PHPMyAdmin on Ubuntu $ sudo apt-get update ...


← Older

I read, write, code and teach