GamehunterKaan / AutoPWN-Suite

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

Error while downloading exploits #32

Closed acondra2 closed 2 years ago

acondra2 commented 2 years ago

Autopwn Suite version 2.0.0

Distro and machine info:

OS: Ubuntu 20.04.4 LTS x86_64 Host: KVM/QEMU (Standard PC (i440FX + PIIX, 1996) pc-i440fx-6.1) Kernel: 5.13.0-51-generic Uptime: 1 day, 9 mins Packages: 1919 (dpkg), 7 (snap) Shell: bash 5.0.17 Resolution: 1024x768 Terminal: /dev/pts/0 CPU: Common KVM (1) @ 3.392GHz GPU: 00:02.0 Vendor 1234 Device 1111 Memory: 952MiB / 3926MiB

Python 3.8.10 Traceback:

Traceback (most recent call last): File "/usr/local/bin/autopwn-suite", line 8, in sys.exit(main()) File "/usr/local/lib/python3.8/dist-packages/autopwn_suite/autopwn.py", line 104, in main StartScanning( File "/usr/local/lib/python3.8/dist-packages/autopwn_suite/autopwn.py", line 55, in StartScanning GetExploitsFromArray(VulnsArray, log, console, host) File "/usr/local/lib/python3.8/dist-packages/autopwn_suite/modules/getexploits.py", line 160, in GetExploitsFromArray GetExploitAsFile(vulnerability, log, console) File "/usr/local/lib/python3.8/dist-packages/autopwn_suite/modules/getexploits.py", line 108, in GetExploitAsFile Exploits = GetExploitInfo(CVE, log) File "/usr/local/lib/python3.8/dist-packages/autopwn_suite/modules/getexploits.py", line 26, in GetExploitInfo user_agent = next(random_user_agent(log)) File "/usr/local/lib/python3.8/dist-packages/autopwn_suite/modules/random_user_agent.py", line 13, in random_user_agent def fetch_data() -> list[str]: TypeError: 'type' object is not subscriptable

GamehunterKaan commented 2 years ago

Is this the pip or deb package?

acondra2 commented 2 years ago

Deb pkg

acondra2 commented 2 years ago

Deb pkg

GamehunterKaan commented 2 years ago

Fixed in the latest release.

acondra2 commented 2 years ago

I appreciate the quickness. I decided to try the python installation and got the same result. I tried the latest git and it works.

On Sat, Jul 16, 2022, 7:01 AM Kaan Gültekin @.***> wrote:

Closed #32 https://github.com/GamehunterKaan/AutoPWN-Suite/issues/32 as completed.

— Reply to this email directly, view it on GitHub https://github.com/GamehunterKaan/AutoPWN-Suite/issues/32#event-7006010433, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIIOQOU2N7P2KBPWLEA3JDVUKJAPANCNFSM53WQ3D7Q . You are receiving this because you modified the open/close state.Message ID: @.*** com>

GamehunterKaan commented 2 years ago

Latest pip package and deb packages are tested. I can assure you that they work. But I highly recommend you to run this tool with python 3.10 since its developed for that version.

acondra2 commented 2 years ago

Scratch that, git version failed with the same error: def fetch_data() -> list[str]: TypeError: 'type' object is not subscriptable

On Sat, Jul 16, 2022, 10:47 AM Anthony Condra @.***> wrote:

I appreciate the quickness. I decided to try the python installation and got the same result. I tried the latest git and it works.

On Sat, Jul 16, 2022, 7:01 AM Kaan Gültekin @.***> wrote:

Closed #32 https://github.com/GamehunterKaan/AutoPWN-Suite/issues/32 as completed.

— Reply to this email directly, view it on GitHub https://github.com/GamehunterKaan/AutoPWN-Suite/issues/32#event-7006010433, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIIOQOU2N7P2KBPWLEA3JDVUKJAPANCNFSM53WQ3D7Q . You are receiving this because you modified the open/close state.Message ID: @.*** com>

acondra2 commented 2 years ago

Also with the 2.0.1 deb package:

cwgo@lnms:~$ sudo autopwn-suite Traceback (most recent call last): File "/usr/bin/autopwn-suite", line 33, in sys.exit(load_entry_point('autopwn-suite==2.0.1', 'console_scripts', 'autopwn-suite')()) File "/usr/lib/python3/dist-packages/autopwn_suite/autopwn.py", line 82, in main print_banner(console) File "/usr/lib/python3/dist-packages/autopwn_suite/modules/banners.py", line 32, in print_banner panel = Panel( TypeError: init() got an unexpected keyword argument 'height'

GamehunterKaan commented 2 years ago

What python version are you using?