Rewrite of the wifite script