Solved

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

Posted on 2003-11-06
5
611 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

Suggested Solutions

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

828 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