Pwnagotchi: download and save cracked passwords from wpa-sec on interval

Created on 25 Nov 2019  路  13Comments  路  Source: evilsocket/pwnagotchi

it would be nice if cracked passwords from wpa-secwill be downloaded automaticly and stored in handshakes dir as .pcap.cracked in plaintext - like the quickdic plugin does.

so, extend the wpa-sec plugin with downoad+proccess the cracked pasword list.

steps:

download of the passwordlist:

GET https://wpa-sec.stanev.org/?api&dl=1
with Cookie | key=3e47******************6535c

process the download:
https://github.com/xenDE/pwnagotchi-tools/blob/master/wpa-sec.founds.insert.py

enhancement

Most helpful comment

Would there be a way to add the cracked networks to the ignore list so the pwnagotchi stops trying to get new handshakes?

All 13 comments

You want to use the file to display it on the map, right?^^

yes.
I already show the passwords in .pcap.cracked created from quickdic plugin.

Sounds nice, i will add it^^

I'd like to keep it raw and let other plugins parse it for themself

looks good, but it downloads only if it has a new handshake for upload.

I need to think about "other plugins parse it for themself" - not sure what's the best way.

the potfile is only usable for extract password - implement the parser at every plugin that wants to have the password is not a good way IMHO.

is working.
only a log message i miss

looks good, but it downloads only if it has a new handshake for upload.

I need to think about "other plugins parse it for themself" - not sure what's the best way.

the potfile is only usable for extract password - implement the parser at every plugin that wants to have the password is not a good way IMHO.

well, its one for-loop and not really a complex parsing because the data is only seperated by ":"^^

for line in file:
  bssid,stamac,ssid,pw = line.split(":")

Will fix the "Only download on new handshake"

Edit:// Fixed it and added a log message. Now it checks every hour.
We could add a functions "get_cracked" and return an array of tuples with the read passwords..

Derek close

Would there be a way to add the cracked networks to the ignore list so the pwnagotchi stops trying to get new handshakes?

Would there be a way to add the cracked networks to the ignore list so the pwnagotchi stops trying to get new handshakes?

I second this!鈽濓笍

馃憤

Onlinehashcrack (starting from PR #821) saves cracked passwords into .pcap.cracked files (one for each password), allowing them to be usable with the webgpsmap plugin.
It would be nice if wpa-sec did the same (?)
In my opinion, save a unique potfile isn't a great solution.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dadav picture dadav  路  4Comments

elipsius picture elipsius  路  7Comments

xenDE picture xenDE  路  8Comments

mrseeker picture mrseeker  路  7Comments

jeffedstrom picture jeffedstrom  路  4Comments