*Yawn* Futile effort. Been around a while and does it with more elegance - https://code.google.com/p/wifite/