Determining if a Mac is a laptop in a shell script
I needed a quick way to determine if the machine I was running a shell script on was a laptop or a desktop Mac. (The script I was working on is used to create a unique hostname for the machine...
View ArticlePython script to scrape HTML comments
Recently this ownedcore thread about Blizzard hiding identifiable data in World of Warcraft screen shots sparked a minor tweetstorm among the infosec folks I follow. While I’m not a WoW player, the...
View ArticleThe Unity Amazon search in Ubuntu 12.10
Ubuntu ruffled some feathers recently when they announced the Home search in Unity as included with Ubuntu 12.10 will include the ability to search Amazon for products related to your search terms....
View ArticleInstall OSSEC on OS X Mountain Lion 10.8 – How To
If you’ve tried to install OSSEC on OS X Mountain Lion, you probably attempted to install it using the command line compiler bundled with XCode and run into the error message: sha_locl.h:261: error:...
View Articlenatas16 solution / hints
Today, out of nowhere, I suddenly started seeing a huge number of page views to my post on scraping HTML comments with Python. After digging around, I figured out it was coming from some mentions I...
View ArticleStart OpenVAS on Backtrack 5 the quick way – How to
A while back I wrote myself a small cheat-sheet for getting OpenVAS started in Backtrack 5 R3, and I thought some of you might find it useful. I don’t like bouncing between menus and terminals, so I...
View ArticleMedical devices on Shodan..
If you are among the sudden influx of people finding this blog as a result of my guest blog at Healthcare Info Security, welcome. I’ve tended to fill this space until now with fairly technical stuff,...
View ArticleAn introduction to Hashdeep
One of the things I’ve always loved about Linux and the “FOSS” BSD derivatives is that they can put the very same tools used by “professionals” into the hands of rank amateurs. Instead of playing...
View Article