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.
OS X Lion Show Hidden Library Folder
OS X Lion Show Hidden Library Folder | To enable viewing the Library folder which is hidden in OS X Lion, crack open a terminal (Utilities > Terminal) and use this terminal command: chflags nohidden ~/Library Cool!
TechSNAP Episode 28 – ZFS
TechSNAP Episode 28 – ZFS | TechSNAP is a sweet sysadmin show over on Jupiter Broadcasting. Episode 28 is an incredible show on ZFS. Check it out!
WPScan WordPress Vulnerability Scanner
WPScan WordPress Vulnerability Scanner | WPScan is a nifty WordPress vulnerability scanner. It can do things such as scan for installed plugins and provide vulnerability information based on results. It is part of Backtrack, which is handy as well! Here’s how wpscan looks checking scottlinux.com: root@bt:/pentest/web/wpscan# ruby wpscan.rb –url scottlinux.com –enumerate p
ufw Allow From Specific IP on Specific Port
ufw Allow From Specific IP on Specific Port | ufw is the friendly command line firewall utility in Debian and Ubuntu. I’ll show you how to create a specific rule syntax for allowing traffic in from a specific ip on a specific port. Say for example you want to allow traffic from 192.168.1.215 on udp port 88. Here is the command: $ sudo ufw
Use nmap to Identify MAC and IP of Machines on LAN
Use nmap to Identify MAC and IP of Machines on LAN | Instead of pinging the broadcast which may or may not work for various reasons, use namp to identify MAC addresses and ips of computers or devices on your LAN. Here is how it works! The nmap option is tack sP along with the ip range desired to scan. If you use a 192.168 range at
Quick nmap How-To
Quick nmap How-To | nmap or network mapper is an open source command line program for security auditing. Here is a basic intro! As always, only scan your own hosts or hosts that you have permission to scan! To do a simple check of open ports or port filtering, issue: $ sudo nmap host stmiller@brahms:~$ sudo nmap scottlinux.com Starting
Create self-signed SSL certificate for Virtual Host
Create self-signed SSL certificate for Virtual Host | In Debian or Ubuntu, it is easy to generate a self-signed certificate for your virtual host. Here is how it works! 1. First, install the package ssl-cert: $ sudo apt-get install ssl-cert Since godaddy and the like are making 2048 bit certs common these days, optionally edit the file /usr/share/ssl-cert/ssleay.cnf and change 1024 bit 2048



