formats

OS X Version from Command Line

Published on November 18, 2011,

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

formats

OS X Monitor Virtual Memory Usage from Command Line

Published on November 11, 2011,

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.

formats

How to Check for SSL Renegotiation

Published on November 3, 2011,

How to Check for SSL Renegotiation | To check if a server allows SSL Renegotiation, you can use the openssl command. I’ll show you how! The commands are as follows: $ openssl s_client -connect yourdomain.com:443 Then after the regular ssl cert info displays, enter the following: GET / HTTP/1.0 R If the server allows renegotiation, it will then have something similar to

formats

OS X Lion Show Hidden Library Folder

Published on October 31, 2011,

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!

formats

TechSNAP Episode 28 – ZFS

Published on October 21, 2011,

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!

formats

WPScan WordPress Vulnerability Scanner

Published on October 17, 2011,

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

formats

ufw Allow From Specific IP on Specific Port

Published on October 10, 2011,

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

formats

Use nmap to Identify MAC and IP of Machines on LAN

Published on October 1, 2011,

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

formats

Quick nmap How-To

Published on October 1, 2011,

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

formats

Create self-signed SSL certificate for Virtual Host

Published on September 24, 2011,

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