A simple Python 2 HTTP/HTTPS Payload Injector & Logger Server
This can also be used as a HTTP/HTTPS logger to sniff (see) the requests sent by the applications and browser.
Note : This script can be used for free internet tricks if you have a free homepage / host which can be used as bug in payload.
To run this server, we need to use Python 2.
-
Open Config.ini file and set your proxy, port and desired payload which acts as bug for your Internet provider or Simcard providers. If you want only to log HTTP requests, please set PAYLOAD value as empty (see PROFILE4 in Config.ini).
-
Use the following command to run the Payload Injector Server :
python injector.py
-
Follow the instructions shown on screen while running the server. Selected desired Profile & Payload Injection mode.
-
Configure system proxy as 127.0.0.1 & the same local port at which our server is listening so that all requests sent by applications are routed to this Injector Server which will forward request to original servers and recive response and the send it the corresponding applications which made the request. ( see screenost)
Setup Screenshot
Logging Screenshot
We can also use VPN over this Payload injector server, we just need to forward VPN requests to this local server.
In OpenVPN configuartion files, we just need to add the following line to forward the request to this local server ( use the port at which our server is running). Let us say this injector server is ruuning at 8080 for example.
http-proxy 127.0.0.1 8080
Note : The author of this script is unkwon.