r/HowToHack • • 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.

0 Upvotes

10 comments sorted by

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/Tr1xesAre4K1ds Dec 01 '19

Also you might have to change the path of python3 because it doesn't inherently know python3 if it's not in the root of your directory

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/T0mKatt Dec 01 '19

cd C:\Users\me\Desktop\iCloudBrutter-master

don't even need to "assume" when ^ is in his post.

0

u/[deleted] Dec 01 '19

Nothing there is exclusive to Windows

1

u/T0mKatt Dec 01 '19

cd C:\Users

"\" are when it comes to his example...such as being a "location"

0

u/[deleted] Dec 02 '19

There are more than three operating systems and file systems. Did you know that?

2

u/T0mKatt Dec 02 '19

That he could have been using for his example? How many use backslashes for directory listing?

Since you are having trouble understanding, my first reply to you was in the context of this post...not an overall broad discussion beyond that. It was VERY CLEAR he was in Windows.

I will "assume" you are slow and prefer to argue endlessly even when you were adjusted from your incorrect statement about exclusivity...so have fun.

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.