-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Module: Raw Javascript
Haoxi Tan edited this page Jan 7, 2020
·
2 revisions
-
Objective: Executes Raw Javascript in the browser
-
Authors: wade, vo
-
Browsers: All
This module will send the code entered in the 'JavaScript Code' section to the selected hooked browsers where it will be executed. Code is run inside an anonymous function and the return value is passed to the framework. Multiline scripts are allowed, no special encoding is required.
var result;
try {
result = function() {<%= @cmd %>}();
} catch(e) {
for(var n in e)
result+= n + " " + e[n] + "\n";
}
- Configuration
- Interface
- Information Gathering
- Social Engineering
- Network Discovery
- Metasploit
- Tunneling
- XSS Rays
- Persistence
- Creating a Module
- Geolocation
- Using-BeEF-With-NGROK