-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Module: Get Page HTML
Jess Williams edited this page Dec 31, 2019
·
2 revisions
- Objective: This module will retrieve the HTML from the current page.
- Date: ???
- Authors: bcoles
- Browsers: All
- Code
This module returns the HTML of the header and body of the hooked web page :
try {
var html_head = document.head.innerHTML.toString();
} catch (e) {
var html_head = "Error: document has no head";
}
try {
var html_body = document.body.innerHTML.toString();
} catch (e) {
var html_body = "Error: document has no body";
}
- Configuration
- Interface
- Information Gathering
- Social Engineering
- Network Discovery
- Metasploit
- Tunneling
- XSS Rays
- Persistence
- Creating a Module
- Geolocation
- Using-BeEF-With-NGROK