Articles

The following post is an extremely simplified step by step guide to configure SSL in apache using Self Signed Certificates you can also use a real certificate issued by a CA if you have it.



During academics, we have heard so many times about backups. In offices we have costly utilities to do such stuff too, but when it comes to personal data on laptops / desktops, we need something which can make our backup process better. After all we'll be backing up large files music & movies too...



While the whole issue was talking about web security, I thought of writing something on the same lines In this issue of command line gyan, we’ll see how we can monitor our websites automatically so as to get notified if anyone defaces it. Nothing very great in this and there are a lot of services giving this feature in cheap, but the fun is to write your own dirty little script to help you.



You can say that my antivirus is up-to-date and it will take care of the same, but having said that are we sure all the malware are caught by ‘my’ antivirus? Am I sure my Linux box doesn’t have a malware which is leaving me vulnerable to this? And that’s where our friend ‘netstat’ comes handy but we’ll take a different approach to use it this time.



Frankly this issue of “Command Line Gyan” does not have as much flesh as previous issues. But we thought of dedicating this issue to Android so here we are with a small article on how to tether your android. As per wikipedia “Tethering is the use of a mobile device with Internet access such as 3G cellular service to serve as an Internet gateway or access point for other devices. Other devices may connect to the gateway via Bluetooth, Wi-Fi or by Universal Serial Bus (USB) cabling.” The connectivity can be normal GPRS/EDGE or most awaited 3G. At the same time other device can be other wi-fi enabled phone/pda, laptop or even desktop.



Compression is the reduction in size of data to save space. For data compression ZIP format is used and it’s in archive format. ZIP file contains one or more files that have been compressed to reduce file size, or stored as it is. This time we are going to reduce size of file or directory using command-line and save space on HDD.



The idea this time is to delete a file and make sure it’s not recoverable (easily). We all know kind of deletion is called as wiping the file. We also know that there are a bunch of freeware & commercial tool to do so, but the idea is to achieve this from built-in commands/utils in a system. Remember you might get stuck on a machine where you don’t have your favorite tool and might not be connected to internet to download the same



Now we have decided that everything in this issue will be discussed on cloud only. Although this individual article might not be that great for help but let’s explore how we can use command line tools to upload our content on Amazon AWS and Google App Engine



Oh! By the way we have discussed a lot on Command Line Gyan about advance stuff but are we comfortable with basic settings which we might use daily? In this issue of command line gyan, let’s play around with IP address configurations



I’m sure you all know that almost all operating system have a kind of inbuilt firewall. Windows has “Windows firewall” whereas the Linux has “iptables”.



As we are at finding leaking data, I thought putting something related would be more fun.



We all have heard this in every advisory “patch your OS & software regularly” In this issue of command line gyan, we’ll see how we can check the status of updates/patches on windows & different flavors of Linux



While we learnt usage of nessus today, I’ll share my experience on how I use command line trick to list all the IPs vulnerable to a single vulnerability. Just run these command on .nsr file to get a quick list



To shutdown a windows box (remember we aren’t talking pre XP machines) the command line option is “shutdown” And same for Linux where we have "shutdown" command



“The real geek loves command line”. We have heard this line a lot, it’s the pickup line of geeks. So we are dedicating one section of the magazine for command line fun. Here you’ll be enlightened (if not already) by the simple gyan of command line to fulfill your shell dream. Remember we require these stuff many a times in our scripts to make them effective. So here we are with “Command line fun of the month”