Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download and save cracked passwords from wpa-sec on interval #651

Closed
xenDE opened this issue Nov 25, 2019 · 14 comments
Closed

download and save cracked passwords from wpa-sec on interval #651

xenDE opened this issue Nov 25, 2019 · 14 comments
Labels
enhancement New feature or request

Comments

@xenDE
Copy link
Contributor

xenDE commented Nov 25, 2019

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

@xenDE xenDE added the enhancement New feature or request label Nov 25, 2019
@dadav
Copy link
Contributor

dadav commented Nov 25, 2019

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

@xenDE
Copy link
Contributor Author

xenDE commented Nov 25, 2019

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

@dadav
Copy link
Contributor

dadav commented Nov 25, 2019

Sounds nice, i will add it^^

@dadav
Copy link
Contributor

dadav commented Nov 25, 2019

Added this: https://github.com/dadav/pwnagotchi/tree/feature/wpa-sec-download

but need to test ^^

@dadav
Copy link
Contributor

dadav commented Nov 25, 2019

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

@xenDE
Copy link
Contributor Author

xenDE commented Nov 25, 2019

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.

@xenDE
Copy link
Contributor Author

xenDE commented Nov 25, 2019

is working.
only a log message i miss

@dadav
Copy link
Contributor

dadav commented Nov 27, 2019

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..

@dadav
Copy link
Contributor

dadav commented Nov 28, 2019

Derek close

@derek derek bot closed this as completed Nov 28, 2019
@agent932
Copy link

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

@itsdarklikehell
Copy link

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!☝️

@agent932
Copy link

agent932 commented Feb 4, 2020

👍

@jacopotediosi
Copy link
Contributor

jacopotediosi commented Apr 3, 2020

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.

@jacopotediosi
Copy link
Contributor

Just made the PR #1248 to save wpasec cracked password into individual .pcap.cracked password as discussed above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants