A pthon program in cybersecurity kit series that intercepts the downloads of a victim and replaces it with a malicious file.
Linux distro (preferably Kali Linux), Python 3, terminal or any IDE (vscode or pycharm)
-
Download Kali Linux, Python 3 and IDE:
-
Download repository :
- On GitHub, navigate to the main page of the repository.
- Under the repository name, click Clone or Download.
- In the Clone with HTTPs section, click to copy the clone URL for the repository.
- Open Git Bash.
- Change the current working directory to the location where you want the cloned directory to be made.
- Alternatively, you can download its .zip file and store it to your desired location on the system.
-
Run requirements.txt (if any):
- Opne terminal/Command Prompt
- Type the following code : pip install -r requirements.txt (Python 2) or pip3 install -r requirements.txt (Python 3)
-
Usage :
- sudo python downloads_replacer.py -m [Machine to execute command on (local/remote)] -d [Extension to sniff and replace] -r [Replace download with]