Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.34 KB

File metadata and controls

30 lines (24 loc) · 1.34 KB

CyKit Series

7) Code Injector

A pthon program in cybersecurity kit series that analyzes the response packet and modifies it with a javascript code with it.

Requirements :

Linux distro (preferably Kali Linux), Python 3, terminal or any IDE (vscode or pycharm)

Introduction :

Setup :

  1. Download Kali Linux, Python 3 and IDE:

    1. https://www.kali.org/get-kali/#kali-virtual-machines
    2. https://www.python.org/downloads/ (python 3)
    3. https://www.jetbrains.com/pycharm/download/#section=windows (pycharm)
    4. https://code.visualstudio.com/download (vscode)
  2. Download repository :

    1. On GitHub, navigate to the main page of the repository.
    2. Under the repository name, click Clone or Download.
    3. In the Clone with HTTPs section, click to copy the clone URL for the repository.
    4. Open Git Bash.
    5. Change the current working directory to the location where you want the cloned directory to be made.
    6. Alternatively, you can download its .zip file and store it to your desired location on the system.
  3. Run requirements.txt (if any):

    1. Opne terminal/Command Prompt
    2. Type the following code : pip install -r requirements.txt (Python 2) or pip3 install -r requirements.txt (Python 3)
  4. Usage :

    1. sudo python code_injector.py -m [Machine to execute command on (local/remote)] -i [Injection code to execute]