Solved

How do i spoof the referrer in the http header in vb?

Posted on 2003-11-06
5
580 Views
Last Modified: 2013-11-13
As the Question?
0
Comment
Question by:usrhlp
  • 2
5 Comments
 

Author Comment

by:usrhlp
ID: 9693340
As the title it was supposed to read!
0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 9693531
Can you give a valid reason for wanting to do this?
0
 
LVL 17

Accepted Solution

by:
zzzzzooc earned 125 total points
ID: 9693886
http://www.w3.org/Protocols/rfc2616/rfc2616.html

Add a "Referer:" header within your "GET" request. Such as the below and simply send it to the webserver (winsock control for example).


    Dim sTemp As String
    sTemp = "GET /Test.html HTTP/1.0" & vbCrLf
    sTemp = sTemp & "Referer: http://www.yahoo.com/" & vbCrLf & vbCrLf
0
 

Author Comment

by:usrhlp
ID: 10163403
i ended up working this out myself but the closest person was zzzzzzzzzoc so ill give him the points!! well done!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
If you haven’t already, I encourage you to read the first article (http://www.experts-exchange.com/articles/18680/An-Introduction-to-R-Programming-and-R-Studio.html) in my series to gain a basic foundation of R and R Studio.  You will also find the …
The viewer will learn how to implement Singleton Design Pattern in Java.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

919 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

21 Experts available now in Live!

Get 1:1 Help Now