GamehunterKaan / AutoPWN-Suite

AutoPWN Suite is a project for scanning vulnerabilities and exploiting systems automatically.
https://auto.pwnspot.com
Other
946 stars 113 forks source link

Optimizations and refactoring #23

Closed iaacornus closed 2 years ago

iaacornus commented 2 years ago

I broke down the pull requests I created a while ago, the major changes that includes are stripped away for now, but the refactoring and optimizations stayed, as well as the compliance with pep 0008.

iaacornus commented 2 years ago

forgot the rich, since there are print and print_colored statements I replaced with rich.Console.print since both do the same job but the latter is in more efficient manner.

GamehunterKaan commented 2 years ago

Created a seperate branch for this PR. I also filtered user agents to common and web browser.

iaacornus commented 2 years ago

We should add more distros in auto installer

yeah I added some more in this commit: b38881acf6e3e69ed38d16ca11949563b5683e8c, which includes support for some major distro, however, there are still some distros that are not included, since the distro.id() method does not guarantee a successful recognition (docs), although I'm currently looking for other methods that can reliably pull this feature.