GreyDGL / PentestGPT

A GPT-empowered penetration testing tool
MIT License
7.29k stars 886 forks source link

Added Windows support, Fixed UnicodeDecode error and made some improvements #110

Open Af7eR9l0W opened 1 year ago

Af7eR9l0W commented 1 year ago

Made a few improvements. Tested on Windows, Kali and Mint. Hopefully there aren't any oversights. I Started by adding Windows support, which inadvertently ended up fixing a lot of problems for linux and macos as well. Changes:

Af7eR9l0W commented 1 year ago

Forgot to mention that the url used for looking up cookies isn't the same one used in the url variable. Chrome on Windows stores the domain name without the wildcards. So the url used in the variable doesn't work on Windows. For reasons im not entirely sure, just using openai.com works on both linux and windows.

GreyDGL commented 1 year ago

The solution looks perfect! Thanks for the contribution. I'll test it with your branch and merge the code if everything works.

GreyDGL commented 1 year ago

I just did some local testing, but it does not work on MacOS native terminal + Chrome. I'll debug on Ubuntu and see what is the issue.