Solved

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

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

770 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