SoldierX.com SquidBlackList - the world's largest porn blacklist! HAX Radio - The stream the FBI Listens to! Offensive Security Wireless Professional PWNIE 2012 Nominations The Hip-Hop Realm

Archive for the ‘Systems Administration’ Category

Catching Pink Dolphins with Libpcap via 802.11

Monday, September 9th, 2013

Having trouble understanding libpcap with 802.11? Having a hard time finding documentation that makes you really grasp the concept of packet sniffing programmatically with 802.11?

libpcap is the libraries most commonly used for packet sniffing and generation. Most of the best network hacking tools use it and the documentation is few and far between for a newbie. I’ve actually wanted to write this for a long long time. I just finished creating a lot of C Programming tutorials and if you followed through with them, you will have no problem at all with this tutorial – so let’s put these two together.

802.11 protocol analyzer’s like Airodump-ng make use of libpcap. When designing WARCARRIER, I ended up making my own version of Airodump-NG so to not have any dependencies. I tried using scapy and lorcon with Python and even Net::PCAP with Perl, but they were just wrappers for the real thing which didn’t offer the type of control that I needed. I needed to use libpcap and C. It sounds rather daunting, because it is heavily filled with computer science and many manjor aspects of networking 802.11, C, libraries, and more need to be known, but I will cover all of these bases with you step by step and even display packets in Wireshark so to see exactly what we are doing.

I realize the code isn’t optimal, but it’s a quick start. I’ll dig into it later and make the WARCARRIER portion a lot smoother. You can click on the image above to go directly to the document. If you find any errors or need any help, feel free to email me in the address in the masthead at the top of this weblog.

~Douglas

Regular Expressions – hard copy arrived!

Monday, July 8th, 2013

This weekend I got the actual book in the mail and I will being editing and revising it starting Wednesday after my test! Publishing date will be announced shortly after.

Also, we have a new review on the last book I published RAIDING the Wireless Empire on Amazon! So if you still had any doubts on picking up your own copy, check out all the reviews!

~Douglas

Regular Expressions: Simplicity and Power in Code

Thursday, June 27th, 2013

The proof has been ordered!

This is just a handbook – so far 67-70 pages. It actually started as a simple whitepaper which made it up to about 30 pages. It breezes through some history, but that’s it. there are two sections: Expressions, and Syntax. The Syntax section has a lot of examples and such. Over the years I’ve spent in chatrooms, IRC, Taming the Electron podcast, or even IRL, I have spoken a lot about Regular Expressions and how they save time in either scripting, programming, or even monitoring the data layer of packets or user input from web applications. This book engraves that fact and will have you on your feet with Regular Expressions in a new outlook.

What makes this book special is how I relate the regex pattern syntax with their Algebraic cousins, my approach to teaching examples, other relationships and explanation style, and it’s desirable succinctness.

The only way to master Regular Expressions is to first hone in your skills for pattern finding and use regexp patterns as much as possible.

~Douglas

New Book: Regular Expressions: Simplicity and Power in Code

Sunday, June 2nd, 2013

I’ve written a new book which will teach not only Regular Expressions, but how to use them properly in AWK, sed, and grep. It’s a small handbook about 50 pages or so, but cuts out the crap by getting to the point and has clear examples. Examples include, how to securely take user input from web pages, how to cut back on simple system administration tasks, and much more. It’s more than just a handbook, as I have written it as a textbook – meaning it’s not just a cheat-sheet. It should be published within the next two to three weeks, depending on shipping times for the proofs and the publisher.

~Douglas

Entify Package Manager

Wednesday, May 1st, 2013

https://code.google.com/p/entify-pm

I created Entify to have the latest and greatest of not only my applications, but other’s too. including mostly all bleeding edge WiFi hacking and administration applications specifically compiled to take full advantage of all resources.

Entify will use my web-server as a repository for the source code tarballs.

I will be releasing an ALPHA copy to the Google Code page sometime this week or weekend. stay tuned!

~Douglas