Perform DNS Lookups with the host command | The dig command is commonly used to make DNS queries. However, a much overlooked command is the host command. Here are some quick tips for a useful tool to add to your bag of tricks or to impress your friends. The syntax is: $ host [domain.com] When run with no options, a simple quick summary
Vanguard Web App Scanner – Detect XSS and SQL Injection
Vanguard Web App Scanner – Detect XSS and SQL Injection | Vanguard is a web app vulnerability scanner that checks your website for SQL injection and XSS. Vanguard is entirely in perl, so it is easy to modify for your needs. Vanguard works by first doing a port scan with nmap to determine if the host has available HTTP ports, next crawls the entire site, and
How to Read a Packet Capture .cap File from Command Line
How to Read a Packet Capture .cap File from Command Line | There are a couple of ways to read a packet capture .cap file from the command line. I’ll show you how! tcpdump The tack r filename option for tcpdump will display a capture file onto the screen. Pipe it to less to get something to scroll. $ tcpdump -r mycapturefile.cap | less $ tcpdump -r
OS X Version from Command Line
OS X Version from Command Line | There are a few ways to find the OS X version from the command line. I’ll show you how! $ system_profiler SPSoftwareDataType Output looks like this: $ system_profiler SPSoftwareDataType Software: System Software Overview: System Version: Mac OS X 10.7.2 (11C74) Kernel Version: Darwin 11.2.0 Boot Volume: Macintosh HD Boot Mode: Normal Computer Name: mintbookpro User
OS X Monitor Virtual Memory Usage from Command Line
OS X Monitor Virtual Memory Usage from Command Line | OS X has a simple command line tool to monitor virtual memory usage: vm_stat. I’ll show you how it works! Crack open a terminal and run vm_stat. You will see an output somewhat like below: $ vm_stat Mach Virtual Memory Statistics: (page size of 4096 bytes) Pages free: 54492. Pages active: 541989. Pages inactive: 155818.
Linux Burn CD from Command Line with genisoimage and wodim
Linux Burn CD from Command Line with genisoimage and wodim | Burning to CD from the command line is easy with genisoimage and wodim. I’ll show you how! On Debian/Ubuntu, install these: $ sudo apt-get install genisoimage wodim 1. Create iso image with genisoimage To first make an iso image of a directory, do this: $ genisoimage -r -J -o stuff.iso /mydirectory (tack r adds Rock
Quick Intro to zsh: auto complete
Quick Intro to zsh: auto complete | zsh or the z shell is an interactive shell that builds upon features of other shells such as bash, ksh, and tcsh. zsh is great for advanced script monkeys but also is an excellent simple bash replacement for the regular joe user. Here is a quick intro to the auto complete features of zsh! On
Create Animated GIF in Linux from Command Line
Create Animated GIF in Linux from Command Line | Imagemagick can easily make an animated gif from existing images with a simple command. I’ll show you how! First, install imagemagick: $ sudo apt-get install imagemagick Next, gather all of your .jpg images together in a single folder or directory. If needed, date/name files in a numbered or sequential order. The manor in which they
Quick Intro to VBoxManage
Quick Intro to VBoxManage | VBoxManage is the command line utility to manage all things VirtualBox. VirtualBox geeks will all tell you that there is much more you can do with VBoxManage – many things that are not written into the GUI. Below is a simple intro to VBoxManage! 1. List your available virtual machines: VBoxManage list vms stmiller@brahms:~$ VBoxManage
OS X Software Update From Command Line
OS X Software Update From Command Line | How can I run Software Update from the command line in OS X? This command will update OS X via the terminal: sudo softwareupdate -i -a The output will look something like this: $ sudo softwareupdate -i -a Password: Software Update Tool Copyright 2002-2009 Apple Checking packages… Installing Waiting for other installations to complete… Validating




