RE: XMLHTTP, setting my IP Address Header

Hey all, what i'm trying to do is call up my webpage and have my web page show the ip address that i give it when i do, <%=request.serverVariables("remote_addr")%>. Right now it shows my ip address 167.206.169.115 , but i want to trick it and think i'm 33.33.33.33. I know how to do it with the user-agent but i can't seem to figure out how to change the ip address. Please let me know, thanx all.

set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP")

xmlhttp.open "GET","https://mysite.com"
xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xmlhttp.setRequestHeader "Host", "www.mysite.com"
xmlhttp.setRequestHeader "Referer", "http://login.mysite.com"
xmlhttp.setRequestHeader "User-Agent", "Mozilla/4.7 [en] (Win98; U)"
xmlHttp.send()
LVL 3
engineroomAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
alorentzConnect With a Mentor Commented:
Yes, can't trick the request.serverVariables...that's what they are for.  Have to try something other than ASP for IP spoofing.
0
 
j2nkuCommented:
You can't trick it, at least i know no way to do it.
ServerVariables are based on the connection, not the page (you can't manipulate them)
0
 
engineroomAuthor Commented:
something like what? i'm using a wscript by the way.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
alorentzCommented:
I'm not a hacker...can't help ya!
0
 
engineroomAuthor Commented:
lol, thanx
0
 
j2nkuCommented:
i don't support hacking (or any abusive action) so i hope you got your answer - you can't use it this way, try to use proxy/cache if you want to use another IP.
0
 
alorentzCommented:
Thanks...good luck with "whatever" you are trying ;)
0
All Courses

From novice to tech pro — start learning today.