v3n0m-Scanner / V3n0M-Scanner

Popular Pentesting scanner in Python3.6 for SQLi/XSS/LFI/RFI and other Vulns
GNU General Public License v3.0
1.46k stars 407 forks source link

Trouble Installing #200

Closed Whitewolf342 closed 3 years ago

Whitewolf342 commented 3 years ago

Hello, im having trouble installing all the modules. I manually installed all the requirements in the requirements,txt using pip install, when I open the venom.py file it says this

|------ PYTHON PROBLEM DETECTED! Recovery Menu Enabled -----|

Exception Error Message encountered: No module named 'aio_ping'

|--- You are advised to run either or both steps below ---| |--- Recovery Menu :::: please let me know if you have any problems with it! ---| | --Note, if your running Ubuntu you may need to run --> sudo apt-get install python3-bs4 --|

         V3n0M python modules can be updated with either option below

[1] Run Pip3.6 and Auto-Update Python3.6 modules to latest versions, [2] Auto-Install all the required v3n0m modules specified in the program requirements [3] Exit

Note: Both recovery options will at the end, perform a check at the end so everything is upto date :

vittring commented 3 years ago

Option 2 should work to install and fix dependencies. Option 1 is more if you want to update Python but it's sort of a memory hog atm. This section of the code needs a massive overhaul. At least the functions are all consistent and descriptive now so errors aren't so convoluted. Try option 2 and then try updating Pip in a virtualenv.

Whitewolf342 commented 3 years ago

How do i use option 2 ?

vittring commented 3 years ago

You should have the recovery menu prompt every time you run Venom. Simply choose option 2 and it will review and verify your installed packages.

kattstof commented 3 years ago

the recovery menu is stating you don't have aio_ping installed simply use the recovery menu or pip install yourself. on a side not vittring: v3n0m's recovery mode only shows up for me if theres a dependency issue which afaik is how it's supposed to work, is it running every time for you? the recovery menu is abit hacky altogether but i think nova added it due to the abundance of issues saying "x module not found what do why is v3n0m broken" and when told how to solve it they didn't grasp the concept of pip install or something. tbh it's abit overkill but at one point there was 20+ issues being opened a week due to people not understanding basic python error codes and how to install dependencies
(even when nova added the commands to the readme, it got ignored)

Whitewolf342 commented 3 years ago

So i must just type 2 and then enter? Because when I do that it just closes Edit : I got it to work, I just had to hit space first then type 2 and enter.

vittring commented 3 years ago

v3n0m's recovery mode only shows up for me if theres a dependency issue which afaik is how it's supposed to work, is it running every time for you?

I'm developing it on both Windows 10 and Kali (Ubuntu Linux). The check is automatically performed on Cygwin64. The menu is very straightforward and should only run if dependencies aren't met, but since it doesn't know how to detect certain OS, it runs this check every time. I recently added the comments in the code that warn this is a resource hog so I hope people are aware it is one of the things we need to work on eliminating and going to something more clean.

Once the program is working on at least both these platforms without errors in any of the 8 options and we have optimized the memory usage, I will probably work on Poetry for dependencies and that should greatly reduce memory cost.

kattstof commented 3 years ago

since this is re-solved I'll go ahead and close it, but as a note, i don't necessarily see the NEED of a recovery menu other than helping people who don't know to use python. My personal version doesn't use it as i find it easier to work off python error codes than the recovery menu if there's an issue tbh.