HTTP Injector
HTTP Injector
httpinjector.com
Glossary
# Word Meaning
Debug Mode Show your data that you send/received in app log
(Please turn off during normal usage)
[SSH/Setting] Connect There's two modes, iptables (root) which will require
Mode root and it only tunnel port 80 and 443 traffic.
VPN Service mode is for Android 4.0+ and will tunnel
all traffic to your server. (Please use root mode, if you
are having issue with VPN Service mode)
SSH Port The port for your SSH server, normally will be port 22
(Normally public squid/http proxy will block port 22)
1/3
Payload Keyword
Using the below keyword, the app will automatically replace with relavent data upon
injection, you don't need to replace the word inside the square bracket unless you know
what you are doing.
Supported keyword: [host] [port] [host_port] [protocol] [netData] [cr] [lf] [crlf] [lfcr]
Assume that 188.100.100.123 is your SSH Server IP and 22 is your SSH port
Inject Method
Notice: In this example we are using "CONNECT" & "HEAD" request method and
domain.com as the host you want to spoof, you might need to use
GET/POST/DELETE/CONNECT/HEAD...
Make sure your remote HTTP proxy allow the request method else you will get 403 error.
Tips: Use "Payload Generator" inside HTTP Injector app instead of writing manually.
Normally we just need to use "CONNECT" request method
Method Payload
2/3
Method Payload
Troubleshoot
302 Error code - If you are getting 302 HTTP header code that means your ISP is
redirecting your request to their captive portal page. Normally ISP blacklisted your
remote proxy or the HTTP Payload
400 Error code - This indicate that your payload is invalid and can't be
understand by remote proxy
VPN
Psiphon - To use with psiphon (uncheck Start SSH), you can't use [host_port] in
your payload, you need to get the SSH IP of psipon and hardcode it (not tested)
OpenVPN - Disable "Start SSH" and use HTTP Injector with your OpenVPN if you
don't have SSH server.
You have to add http-proxy 127.0.0.1 8989 and bypass route route
replace_to_your_remote_proxy_ip 255.255.255.255 net_gateway (change
"replace_to_your_remote_proxy_ip" to IP) to your VPN config.
3/3