flamebarke / DiscoHash

Pwnagotchi plugin to convert pcaps to hashcat mode 22000 hashes, analyse them, grab the GPS location and post the information to Discord using a web hook.
75 stars 4 forks source link

Cannot get DiscoHash to start or send any discord messages? #6

Open Zandiexoder opened 9 months ago

Zandiexoder commented 9 months ago

Relative section of config.toml:

main.plugins.discohash.enabled = true
main.plugins.discohash.webhook_url = "https://discord.com/api/webhooks/XXXXXXXXXXXXXX"

Bluetooth Tether has been successfully set up. I differed from the guide by: Installing HCXtools locally using git clone https://salsa.debian.org/pkg-security-team/hcxtools

And I put the plugin in a different in a different location with all of my other custom plugins that being at /etc/pwnagotchi/plugins

I also get errors when running sudo cp ./* /usr/bin/ in the HCXtools directory

I get the error:

cp: -r not specified; omitting directory './debian'
cp: -r not specified; omitting directory './include'
cp: -r not specified; omitting directory './man'
cp: -r not specified; omitting directory './usefulscripts'

In pwnlog it says: [*] DiscoHash plugin loaded

Using jayofelony's bookworm fork

Any help is very much appreciated! 😊

gabrielb357 commented 7 months ago

I have same problem. would be nice to be able to get this up and running

wpa-2 commented 2 months ago

This fixed it for me

`wget https://salsa.debian.org/pkg-security-team/hcxtools/-/archive/debian/sid/hcxtools-debian-sid.zip

Then run the following on your pwnagotchi to install hcxtools and it's dependencies

sudo su apt-get update apt-get install libcurl4-openssl-dev libssl-dev zlib1g-dev unzip hcxtools-debian-sid.zip cd hcxtools-debian-sid cp -r ./* /usr/bin/ Ignore cp: cannot overwrite non-directory '/usr/bin/man' with directory './man'

chmod ug+x /usr/bin/hcxpcapngtool`

Jays 64bit image

15:44:08 [INFO] [+] DiscoHash EAPOL/PMKID Success: REMOVED 15:44:12 [INFO] [+] DiscoHash EAPOL/PMKID Success: REMOVED 15:44:15 [INFO] [+] DiscoHash EAPOL/PMKID Success: REMOVED.22000 created 15:44:17 [INFO] [+] DiscoHash EAPOL/PMKID Success: REMOVED.22000 created 15:44:19 [INFO] [+] DiscoHash EAPOL/PMKID Success: REMOVED6.22000 created 15:44:21 [INFO] [+] DiscoHash EAPOL/PMKID S