cURL Ignore SSL Certificate Warnings

Published on February 14, 2012, by in linux, osx.

To ignore any ssl certificate warnings with curl, use the tack k option. Here is an example: $ curl -k https://scottlinux.com $ curl -I -k https://scottlinux.com HTTP/1.1 200 OK Date: Tue, 14 Feb 2012 20:00:03 GMT Server: Apache Strict-Transport-Security: max-age=43200; includeSubDomains X-Frame-Options: SAMEORIGIN Set-Cookie: bb2_screener_=1329249603+66.202.152.198; path=/ X-Pingback: http://scottlinux.com/xmlrpc.php Set-Cookie: PHPSESSID=lq5dpvfagbdstib7nlg2b8a0m7; path=/ X-Hello: Hello There Vary:

(More)…

Remote Access Without Opening Ports

Published on February 3, 2012, by in linux, osx, windows.

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 connect remotely and keep your home ip ‘stealth’. (*Free for non-commercial use.) These work with Mac OS X,

(More)…

Troubleshoot ssh Authentication Failure

Published on January 4, 2012, by in linux, osx, sysadmin.

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 tidbits. To connect in debug mode, simply add -vvv to the end. You can use up to three

(More)…

Banner Grabs with netcat and nmap

Published on December 22, 2011, by in linux, osx, sysadmin, windows.

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. Examples: $ nc -v scottlinux.com 22 Connection to scottlinux.com 22 port [tcp/ssh] succeeded! SSH-2.0-OpenSSH_5.3p1 $ nc -v scottlinux.com 80

(More)…

TCP/OS Fingerprinting Tools – p0f and nmap

Published on December 22, 2011, by in linux, osx, sysadmin, windows.

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 identify the OS. This is known as OS fingerprinting. The best known passive TCP fingerprint tool is p0f,

(More)…

OS X Version from Command Line

Published on November 18, 2011, by in osx.

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

(More)…

Home Archive for category "osx" (Page 2)
© Copyleft scottlinux.com CC BY-SA 3.0