By scott, on February 17th, 2012%
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 . . . → Read More: How to Read a Packet Capture .cap File from Command Line
By scott, on February 14th, 2012%
To ignore any ssl certificate warnings with curl, use the tack k option.
Here is an example:
$ curl -I -k https://scottlinux.com
$ curl -I -k https://scottlinux.com HTTP/1.1 200 OK Date: Tue, 14 Feb 2012 20:00:03 GMT . . . → Read More: cURL Ignore SSL Certificate Warnings
By scott, on February 7th, 2012%
This account is currently not available
If you get this message attempting to ssh in or su’ing as another user, there is no valid shell set for this user.
You can quickly inspect this by looking at . . . → Read More: This account is currently not available
By scott, on February 3rd, 2012%
Q. How can I access my computer or family’s computer remotely without having to open up ports in the firewall? A. Using a [free] third party app is the solution
Here are a few free* solutions to . . . → Read More: Remote Access Without Opening Ports
By scott, on January 4th, 2012%
ssh has a built in debug mode from the client side to provide information in troubleshooting a connection. This will provide information such as mismatch in client/server configuration options, key conflicts, permission problems, and various other useful . . . → Read More: Troubleshoot ssh Authentication Failure
By scott, on December 22nd, 2011%
netcat can be used to quickly grab a service banner, as well as trusty nmap. I’ll show you some tips!
The netcat command is simply:
$ nc [target] [port]
Add tack v to get more verbosity.
. . . → Read More: Banner Grabs with netcat and nmap
By scott, on December 22nd, 2011%
The particular way an operating system or device sends and receives TCP packets provides a unique fingerprint. TCP header information such as the window size, TTL, overall SYN packet size, MSS, MTU and so forth can help . . . → Read More: TCP/OS Fingerprinting Tools – p0f and nmap
By scott, on November 18th, 2011%
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: . . . → Read More: OS X Version from Command Line
By scott, on November 11th, 2011%
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 . . . → Read More: OS X Monitor Virtual Memory Usage from Command Line
By scott, on October 31st, 2011%
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
. . . → Read More: OS X Lion Show Hidden Library Folder
By scott, on September 5th, 2011%
How can I open winmail.dat or other .dat files?
Outlook users sending HTML emails with attachments often reach other users as an odd winmail.dat file. (Thanks, Microsoft!) I’ll show you some tips on how to . . . → Read More: Open and Extract winmail.dat Files
By scott, on August 19th, 2011%
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 . . . → Read More: Quick Intro to zsh: auto complete
By scott, on August 7th, 2011%
Similar to MP3 (but lossless), flac is an audio codec for your music. Instead of ripping to MP3, consider ripping to flac!
flac stands for free lossless audio codec
Why choose flac?
flac is awesome for various . . . → Read More: flac – Audio Codec of Choice
By scott, on August 3rd, 2011%
To clear or delete the arp cache in Mac OS X, crack open a terminal and issue the following command:
$ sudo arp -a -d
Done! Thanks . . . → Read More: Clear or Flush Arp Cache in OS X
|
|
Recent Comments