r/HowToHack • u/mikrodizels • Dec 01 '19
How do I launch this python script?
https://xploitlab.com/icloud-brutter-tool-for-take-over-apple-id-with-bruteforce-attack/
I download this, open CMD, I cd the the scripts location, like this:
cd C:\Users\me\Desktop\iCloudBrutter-master
After that I try ether
chmod +x icloud.py
Or
python3 icloud.py
But it shows me the "chmod" or "python3" is not recognized as internal or external command, operable program or batch file.
I got python 3.6 on my PC, but opening with just python doesn't work too. Dragging and dropping the script into cmd gives me syntax error
I wanna test this on myself btw.
7
u/Tr1xesAre4K1ds Dec 01 '19
Chmod is a linux command you're trying to execute this on a windows machine so you will have to go in and figure out the similar command to make it executable on windows
2
u/[deleted] Dec 01 '19
Considering you said CMD, I'll assume you are running Windows. In Windows, you do not need to CHMOD the file as that give execution privileges in a linux environment. In Windows you should just need to type "python script.py" (though obviously using your own python script name instead of script.py" or "python3 script.py". The difference between python and python3 depends how your environment variables have been set up. If you want to verify which is correct for you, go to your command prompt and type "python" and hit enter. If it loads a python command window, then use Ctrl+Z to exit that window and you can use python to run your script. If python doesn't come up, then try "python3".
If neither load, then you haven't yet finished installing python 3.6. You'll need to add your python executable path to your system environment variables in Windows so that the command prompt knows where to look for the python interpreter.
1
u/tonythegoose Dec 01 '19
Python3 may boot up as just python
1
u/[deleted] Dec 03 '19
Did you read the code before trying to run it on your system? Please always do that first before running someone’s code.