Jump to content

Fully automate your recon, de-authing, handshake capturing and cracking!


Recommended Posts

This simple PHP script is an aggressive war-driver for the Hak Wifi Pineapple Mark VII to fully automate your recon, de-authing and handshake capturing. Turn this thing on, take your Pineapple for a walk around town, and collect those handshakes without any effort.

Pair this with ohc-api.sh to auto-submit your captures to onlinehashcrack.com for free, hands-off cracking. Just run it on a cron and check your inbox 🙂


  • Like 1
  • Upvote 1
Link to comment
Share on other sites

Many thanks for the ohc-api.sh. That works great ! 

However, as regards the war-driver php script, could you please explain how to use it ? Maybe my question can look a bit stupid but I have no clue how to use/install it on the pineapple. Many thanks by advance  

Link to comment
Share on other sites

Sure, friend.  This can (should) be run from your local machine and not on the Wifi Pineapple itself.  It utilizes the Hak5 REST API to make calls to the device in a workflow derived specifically for aggressively capturing handshakes. 

Requirements - PHP 7+


git clone git://github.com/sailboat-anon/wifi-pineapple-war-driver.git

nano war-driver.php

Modify $config to match the server, port, username, password for your Wifi Pineapple.


php war-driver.php

This workflow is started:

- set pineAP settings to AGGRESSIVE, broadcasting, allowing connections, auto-restart, etc
- run recon for 90 seconds, identify all APs with associated clients
- start handshake capture
- de-auth all clients related to AP, repeat 20 seconds later; total 2 mins
- handshakes captured, available for use
- repeat: move to next AP with associated clients, de-auth, etc.
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Unzip the folder go to > wifi-pineapple-war-driver-master>war-driver.php (WITH NOTPAD++)Or what ever you like n


$config = array(
    'server_ip' => "",  nothing to change 
    'server_port' => 1471,   here put the "" >"1471"
    'admin_user' => "root", leave it alone 
    'admin_password' => "password" Your pass to login.... save it 

then open a terminal type " war-driver.php " and should be good to go for a drive 😛

Edited by jess4140
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...