Skip to content

mahnooranjum/CodeInjector_EthicalHacking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packet Manipulation for Code Injection

Injecting code in the content of web packets using scapy and netfilterqueue. Basic packet manipulation techniques are explored in the following codes. We first remove encoding to make the response packets readable. This response is then manipulated using regex.

Getting Started

Download the repository, run the main program using:

Python == 3.7.4

Scapy == 2.4.3

NetfilterQueue == 0.8.1

Details

File Information
flush.py Run this once the main program has closed
injector.py Main program
output.png Injection screenshot
removeEncoding.py Make responses readable
setup.py Run this before injection
injectorhttps.py Main program for HTTPS, read the comments before running!

Output

program output

About

Code injection using python [for educational purposes]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages