diy:referrer-spoofing
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
diy:referrer-spoofing [2025/09/30 22:44] – external edit 127.0.0.1 | diy:referrer-spoofing [2025/10/11 12:05] (current) – Humphrey Boa-Gart | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Referrer Spoofing ====== | + | #redirect diy: |
- | + | ||
- | When a browser or bot requests a webpage, it sends a " | + | |
- | + | ||
- | So, if you are on // | + | |
- | + | ||
- | To prevent this from happening, you can just configure your browser to send a different Referer, or even no Referer at all! | + | |
- | + | ||
- | + | ||
- | ===== Why It's Important ===== | + | |
- | + | ||
- | There are many reasons one might want to consider | + | |
- | + | ||
- | * Some sites bar remote hotlinking or direct access to media, unless the referer string comes from another page on the same site. | + | |
- | * You want to trip up logging, analytics or advertising trackers that are embedded on the sites you are visiting. | + | |
- | * You are fraudulently increasing impressions of paid advertising campaigns. | + | |
- | * You are following links to a target of [[: | + | |
- | * You are sending a target on a [[hazards: | + | |
- | * You are breaking into poorly-coded websites that rely on Referer strings as part of a security measure. //(they out there!)// | + | |
- | * You are engaging in [[wp> | + | |
- | * You are engaging in [[tactics: | + | |
- | + | ||
- | Note that we do not endorse | + | |
- | + | ||
- | + | ||
- | ===== Application-Specific Instructions ===== | + | |
- | + | ||
- | Since Referer strings are set on the application level, how to spoof it depends on the type of software you are using. If you have multiple programs, you will have to spoof them all individually: | + | |
- | + | ||
- | + | ||
- | ==== Web Browsers ==== | + | |
- | + | ||
- | While by no means an exhaustive list, the following **browser extensions** have referer spoofing and/or cloaking capabilities. | + | |
- | + | ||
- | // | + | |
- | + | ||
- | + | ||
- | === Firefox === | + | |
- | + | ||
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | + | ||
- | + | ||
- | === Brave & Chrome === | + | |
- | + | ||
- | * [[https:// | + | |
- | * [[https:// | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ==== Terminal Utilities ==== | + | |
- | + | ||
- | If you are using [[tools: | + | |
- | + | ||
- | + | ||
- | === cURL === | + | |
- | + | ||
- | Use the '' | + | |
- | + | ||
- | $ curl --referer " | + | |
- | - or - | + | |
- | $ curl -e " | + | |
- | + | ||
- | Since the Referer is passed as an [[tools: | + | |
- | + | ||
- | $ curl --header " | + | |
- | - or - | + | |
- | $ curl -H " | + | |
- | + | ||
- | Since cURL does not set a Referer by default, there is no reason to make it pass a blank string, as the string is empty already. | + | |
- | + | ||
- | + | ||
- | === Wget === | + | |
- | + | ||
- | To set a custom Referer header with Wget, use the '' | + | |
- | + | ||
- | $ wget --referer=" | + | |
- | + | ||
- | Since Wget does not set a Referer by default, there is no reason to make it pass a blank string, as the string is empty already. | + | |
- | + | ||
- | For more information on how to use '' | + | |
- | + | ||
- | + | ||
- | {{tag> | + |
diy/referrer-spoofing.txt · Last modified: by Humphrey Boa-Gart
Find this page online at: https://bestpoint.institute/diy/referrer-spoofing
Find this page online at: https://bestpoint.institute/diy/referrer-spoofing