Skip to content

Commit

Permalink
Adds more HTTP header variants
Browse files Browse the repository at this point in the history
  • Loading branch information
topscoder committed Feb 5, 2024
1 parent b4f990f commit b072152
Showing 1 changed file with 64 additions and 1 deletion.
65 changes: 64 additions & 1 deletion fourohme.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,70 @@ func main() {

headerKeysList := []string{
"Base-Url",
"CACHE_INFO",
"CF_CONNECTING_IP",
"CF-Conne",
"CF-Connecting-IP",
"CLIENT_IP",
"Client-IP",
"COMING_FROM",
"CONNECT_VIA_IP",
"Content-Length",
"Destination",
"FORWARD_FOR",
"FORWARD-FOR",
"FORWARDED_FOR_IP",
"FORWARDED_FOR",
"FORWARDED-FOR-IP",
"FORWARDED-FOR",
"FORWARDED",
"From",
"HTTP-CLIENT-IP",
"HTTP-FORWARDED-FOR-IP",
"HTTP-PC-REMOTE-ADDR",
"HTTP-PROXY-CONNECTION",
"Http-Url",
"HTTP-VIA",
"HTTP-X-FORWARDED-FOR-IP",
"HTTP-X-IMFORWARDS",
"HTTP-XROXY-CONNECTION",
"PC_REMOTE_ADDR",
"PRAGMA",
"Profile",
"PROXY_AUTHORIZATION",
"PROXY_CONNECTION",
"Proxy-Client-IP",
"Proxy-Host",
"Proxy-Url",
"Proxy",
"PROXY",
"Real-Ip",
"Redirect",
"Referer",
"Referrer",
"REMOTE_ADDR",
"Request-Uri",
"Source-IP",
"True-Client-IP",
"Uri",
"Url",
"Via",
"VIA",
"WL-Proxy-Client-IP",
"X_CLUSTER_CLIENT_IP",
"X_COMING_FROM",
"X_DELEGATE_REMOTE_HOST",
"X_FORWARDED_FOR_IP",
"X_FORWARDED_FOR",
"X_FORWARDED",
"X_IMFORWARDS",
"X_LOCKING",
"X_LOOKING",
"X_REAL_IP",
"X-Arbitrary",
"X-Backend-Host",
"X-BlueCoat-Via",
"X-Cache-Info",
"X-Client-IP",
"X-Custom-IP-Authorization",
"X-Forward-For",
Expand All @@ -78,29 +123,47 @@ func main() {
"X-Forwarded-Server",
"X-Forwarded",
"X-Forwarder-For",
"X-Forwared-Host",
"X-From-IP",
"X-From",
"X-Gateway-Host",
"X-Hos",
"X-Host",
"X-Http-Destinationurl",
"X-HTTP-DestinationURL",
"X-Http-Host-Override",
"X-Ip",
"X-OReferrer",
"X-Original-Host",
"X-Original-IP",
"X-Original-Remote-Addr",
"X-Original-Url",
"X-Original-URL",
"X-Originally-Forwarded-For",
"X-Originating-IP",
"X-Override-URL",
"X-Proxy-Url",
"X-ProxyMesh-IP",
"X-ProxyUser-Ip",
"X-ProxyUser-IP",
"X-Real-Ip",
"X-Real-IP",
"X-Remote-Addr",
"X-Remote-IP",
"X-Rewrite-URL",
"X-rewrite-url",
"X-Rewrite-URL",
"X-True-Client-IP",
"X-WAP-Profile",
"XONNECTION",
"XPROXY",
"XROXY_CONNECTION",
"Z-Forwarded-For",
"ZCACHE_CONTROL",
}

headerValuesList := []string{
"127.0.0.1",
"127.0.0.1, 127.0.0.1, 127.0.0.1",
"127.0.0.1:80",
"127.0.0.1:443",
"127.0.0.1:8080",
Expand Down

0 comments on commit b072152

Please sign in to comment.