dizcza / hashcat-wpa-server

Hashcat WPA/WPA2 server
http://85.217.171.57:9111/
MIT License
54 stars 10 forks source link

502/504 errors with large wordlists #9

Closed mk13337 closed 1 year ago

mk13337 commented 1 year ago

Hello! There is a problem - it's impossible to use the project with large custom wordlists. I'm using Docker with the latest image: dizcza/hashcat-wpa-server:latest If I add rockyou.txt (130 MB) or other wordlists up to a gigabyte in size to the directory, everything works fine. However, if I add dictionaries of larger size, like a nine-digit number dictionary (9 gigabytes) or weakpass all in one (140 gigabytes), the server goes into a long loading process and gives a 502 Bad Gateway error. After some time, a 504 Gateway Time-out error appears. If I remove the large dictionary from the directory, the service starts working correctly immediately. However, there is nothing in the logs. I think this might be related to issue #5.

By the way, thank you very much for the project, I hope you will continue to develop this project!

dizcza commented 1 year ago

This is probably due to the word counting of each user's wordlist.

I pushed a fix, let me know if it does not resolve.

mk13337 commented 1 year ago

Yep Now everything works just fine, thanks!