sailboatanon Posted December 6, 2020 Share Posted December 6, 2020 This simple bash script for the Hak Wifi Pineapple Mark VII features persistent handshake storage and automatically submits your handshakes to this wonderful service (onlinehashcrack.com)! You will receive an email confirmation and upon completion! Sit back, relax, and automate your WPA pen-test workload with ohc-api.sh. https://github.com/sailboat-anon/wifi-pineapple-mark-vii install and use wget https://raw.githubusercontent.com/sailboat-anon/wifi-pineapple-mark-vii/main/scripts/ohc-api.sh nano ohc-api.sh (change the receiving email address, 'email=') chmod a+x ohc-api.sh ./ohc-api.sh You'll likely want to run this on a schedule (default: 5min) export VISUAL=nano; crontab -e */5 * * * * /pineapple/ohc-api.sh workflow: capture handshakes using mark vii handshakes are moved from /tmp to /root/loot/handshakes handshakes are sent to the onlinehashcrack.com api, user receives an email confirmation and upon completion (be sure to set the 'email' variable below to your email address) submitted handshakes in /root/loot/handshakes are renamed 'submitted-.cpab' persistent handshake storage: /root/loot/handshakes transaction logs: /root/loot/handshakes/logs 1 Quote Link to post Share on other sites
Katash Posted December 17, 2020 Share Posted December 17, 2020 works great, thanks. 1 Quote Link to post Share on other sites
Katash Posted February 1 Share Posted February 1 Installed 1.0.2 firmware and noticed scipt has been replaced with loot-and-scoot.sh but getting following errors when running it. > Checking for unsubmitted handshakes > Unsubmitted handshakes FOUND, uploading to api.onlinehashcrack.com cp: can't stat '*.pcap': No such file or directory curl: (26) Error curl: (26) Error curl: (26) Error curl: (26) Error Cleaning up... mv: can't rename '/tmp/handshakes//tmp/handshakes/0C-F9-C0-08-04-F6_partial.pcap': No such file or directory mv: can't rename '/root/loot/handshakes//tmp/handshakes/0C-F9-C0-08-04-F6_partial.pcap': No such file or directory mv: can't rename '/tmp/handshakes//tmp/handshakes/88-F8-72-23-4D-55_partial.pcap': No such file or directory mv: can't rename '/root/loot/handshakes//tmp/handshakes/88-F8-72-23-4D-55_partial.pcap': No such file or directory Output: > Submitted /tmp/handshakes/0C-F9-C0-08-04-F6_partial.pcap to onlinehashcrack.com > Submitted /tmp/handshakes/0C-F9-C0-08-04-F6_partial.pcap to wpa-sec.stanev.org > Submitted /tmp/handshakes/88-F8-72-23-4D-55_partial.pcap to onlinehashcrack.com > Submitted /tmp/handshakes/88-F8-72-23-4D-55_partial.pcap to wpa-sec.stanev.org Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.