Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
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.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

705 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

18 Experts available now in Live!

Get 1:1 Help Now