Solved

RE: XMLHTTP, setting my IP Address Header

Posted on 2004-08-24
7
499 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
Comment Utility
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
Comment Utility
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
Comment Utility
something like what? i'm using a wscript by the way.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 31

Expert Comment

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

Author Comment

by:engineroom
Comment Utility
lol, thanx
0
 
LVL 7

Expert Comment

by:j2nku
Comment Utility
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
Comment Utility
Thanks...good luck with "whatever" you are trying ;)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Upload a file using ASP Classic 20 49
Migrated SQL connection issues 2012 6 35
ASP VB... 7 92
Error viewing ASP page 12 71
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now