CloudFail icon indicating copy to clipboard operation
CloudFail copied to clipboard

can't open file clloudfail.py

Open T-Shilov opened this issue 3 years ago • 2 comments

# python3 cloudfail.py --target seo.com

python3: can't open file 'cloudfail.py': [Errno 2] No such file or directory]

T-Shilov avatar Nov 28 '21 12:11 T-Shilov

Because you need to be in the working directory before executing any command related, which is kinda logic tbh. It's not even related to CloudFail at this point it's just basic knowledge..

cd: The cd command will allow you to change directories. When you open a terminal you will be in your home directory. To move around the file system you will use cd. Examples: To navigate into the root directory, use "cd /" To navigate to your home directory, use "cd" or "cd ~" To navigate up one directory level, use "cd .." To navigate to the previous directory (or back), use "cd -" To navigate through multiple levels of directory at once, specify the full directory path that you want to go to. For example, use, "cd /var/www" to go directly to the /www subdirectory of /var/. As another example, "cd ~/Desktop" will move you to the Desktop subdirectory inside your home directory.

SmokeyKatevin avatar Dec 02 '21 06:12 SmokeyKatevin

ya that is a common mistake. lets say you are on windows and u downloaded it and now its stored in downloads file. all you have to do is "cd C:\Users<YourUserName>\Downloads" and then run the command. i'v made this mistake so many times! what cd does is it calls the directory, hence the name call directory (cd) and makes all run requests in that directory. you may also have to do "cd C:\Users<YourUserName>\Downloads<folder the file you are trying to run is inside>"

DuckyPolice avatar Feb 25 '22 19:02 DuckyPolice