6 ms·
Isn't that a TERRIBLE idea as you can run: var fs = require('fs'); var content = fs.readFileSync('/etc/passwd'); console.log(content+''); or look into any oth
by pcarion 11y ago
Isn't that a TERRIBLE idea as you can run:
var fs = require('fs');
var content = fs.readFileSync('/etc/passwd');
console.log(content+'');
or look into any other file?
- boucher 11y agoYou can, and you should feel free to give it a shot. Everything is running in its own sandbox, so there's no real issue with that.
- drhayes9 11y agoThat was one of the first things I tried when I found the service: https://tonicdev.com/drhayes/fun-with-fs https://tonicdev.com/drhayes/fun-with-fs