burst.pl

As I was traveling down Rt. 47, I thought to myself, "I wonder if it's possible to automate searching for access points, and when you found one, attempt to DHCP and transfer some data automatically." This is the product of that thought. The idea is that you can program the computer in your car (you do have a computer in your car, don't you?) to transfer "burst" transmissions while on the road. WiFi isn't everywhere, but it's *somewhere*, and wherever it is, this script can take advantage of it. Think of it as "smash and grab" internet.

The script is meant to be run as root (how else are you going to modify the wireless settings?). When an AP is found and has successfully acquired an IP address through dhcp (The script uses dhcpcd. Other clients should work equally well, assuming they report success by returning 0 and failure otherwise.), a set of scripts (currently in /var/spool/burst) are run in parallel, then burst waits for the scripts to exit, and waits for another ESSID to show up. The program doesn't unconfigure the interface after this, though, so you could use this script to automate searching APs for interactive use.

The scripts spawned on successful connect have two environment variables set, $ESSID and $CELL. They're handy for logging purposes, or just waiting for a specific victim. :)

Downloads

All content printed on 100% recycled internet memes.