ytisf / theZoo

A repository of LIVE malwares for your own joy and pleasure. theZoo is a project created to make the possibility of malware analysis open and available to the public.
https://thezoo.morirt.com
Other
11.32k stars 2.51k forks source link

Python errors #184

Closed D4di69 closed 2 years ago

D4di69 commented 2 years ago

Hello, i cloned the repository, i installed succefully the requirements with python and now typing 'python theZoo.py' the script shows this errors: Traceback (most recent call last): File "C:\Users\sussq\Desktop\theZoo\theZoo-master\theZoo.py", line 109, in <module> main() File "C:\Users\sussq\Desktop\theZoo\theZoo-master\theZoo.py", line 73, in main eulaHandler.prompt_eula() File "C:\Users\sussq\Desktop\theZoo\theZoo-master\imports\eula_handler.py", line 54, in prompt_eula eula_answer = raw_input( NameError: name 'raw_input' is not defined

D4di69 commented 2 years ago

opened imports\eula_handler.py and mofidied line 54 from 'raw_input' to just 'input'

geeksailor commented 1 year ago

For those of you still having issues with the input on the EULA, check the version of Python you have installed. Make sure that you are using Python3 are running python3 theZoo not python theZoo if you have only 2.7 or both 2.7 and 3.x installed. Python2.7's reading input is different than 3's and causes issues.

To the dev team, not sure if you can throw a quick few lines in the next update to detect python version and if ran 2.7, make a second input method for that Python version so it can read the input? Or it closes the EULA with error to restart using python3? Just a suggestion :)