Solved

RE: XMLHTTP, setting my IP Address Header

Posted on 2004-08-24
7
534 Views
Last Modified: 2012-05-05
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()
0
Comment
Question by:engineroom
  • 3
  • 2
  • 2
7 Comments
 
LVL 7

Expert Comment

by:j2nku
ID: 11881931
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
 
LVL 31

Accepted Solution

by:
alorentz earned 500 total points
ID: 11884178
Yes, can't trick the request.serverVariables...that's what they are for.  Have to try something other than ASP for IP spoofing.
0
 
LVL 3

Author Comment

by:engineroom
ID: 11884343
something like what? i'm using a wscript by the way.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 31

Expert Comment

by:alorentz
ID: 11884401
I'm not a hacker...can't help ya!
0
 
LVL 3

Author Comment

by:engineroom
ID: 11884445
lol, thanx
0
 
LVL 7

Expert Comment

by:j2nku
ID: 11887526
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
 
LVL 31

Expert Comment

by:alorentz
ID: 11891729
Thanks...good luck with "whatever" you are trying ;)
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Age between date range query (SP) 13 69
Hide row when retrieving data from database 6 67
INNER JOIN ? 8 50
ASP SQL Syntax Duplicate Key 7 110
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question