Counting & Matching Text in Files Read

command.png As we are at finding leaking data, I thought putting something related would be more fun. In this issue of command line gyan, we’ll see how we can find some text in files. Say we are looking for a pattern of …

Are you patched? Read

rpm list.PNG 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 Windows Starting …

List Vulnerable IPs in Nessus Export Read

command.png 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 In …

Playing with System Shutdown Read

commandline.jpg Windows To shutdown a windows box (remember we aren’t talking pre XP machines) the command line option is “shutdown” C:> shutdown /? Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m\computername] [-t xx] [-c "comment"] [-d up:xx:yy] …

Command Line Fun of the month Read

commandline.jpg “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 …