Solved

RE: XMLHTTP, setting my IP Address Header

Posted on 2004-08-24
7
571 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

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…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 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