When I use BeEF, using the hook and running command works... At first. Whenever a hooked user exits the page or browser, it seems as though they stop working. Why does it do this and how can I fix it?
Forum Thread: BeEF XSS Only Works Temporarily?
- Hot
- Active
-
Forum Thread: How to Hack Wireless Password Through MAC Address and IP Address 25 Replies
1 day ago -
Forum Thread: Complete Guide to Creating and Hosting a Phishing Page for Beginners 50 Replies
5 days ago -
Forum Thread: HELP I Created an Apk for Hacking My Phone Using Kali Linux in Virtual Box How Can I Install That Apk on My Phone 18 Replies
2 wks ago -
Forum Thread: Mitm attack problem 2 Replies
3 wks ago -
Forum Thread: Hack and Track People's Device Constantly Using TRAPE 32 Replies
4 wks ago -
Metasploit Error: Handler Failed to Bind 40 Replies
1 mo ago -
Forum Thread: How to Know if You Are a Script Kiddie? 9 Replies
1 mo ago -
Forum Thread: How to Identify and Crack Hashes 8 Replies
1 mo ago -
Forum Thread: How to Hack School Website 8 Replies
1 mo ago -
Forum Thread: Whenever I Try "Airmon-Ng Start wlan0" There's an Error? 16 Replies
1 mo ago -
Forum Thread: How to Fix 'Failed to Detect and Mount CD-ROM' Problem When Installing Kali Linux 14 Replies
1 mo ago -
Forum Thread: Awesome Keylogging Script - BeeLogger 30 Replies
2 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 27 Replies
2 mo ago -
Forum Thread: Create and Use Android/Meterpreter/reverse_tcp APK with Msfvenom? 121 Replies
2 mo ago -
How to: Minecraft DoS'Ing with Python. 1 Replies
3 mo ago -
Forum Thread: Tools for Beginner Hacker 3 Replies
3 mo ago -
Forum Thread: How to Embed an Android Payload in an Image? 9 Replies
4 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 46 Replies
4 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 11 Replies
4 mo ago -
Forum Thread: Fix Initramfs Problem 5 Replies
4 mo ago
-
How To: Find Passwords in Exposed Log Files with Google Dorks
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How To: Brute-Force Nearly Any Website Login with Hatch
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How to Hack Wi-Fi: Get Anyone's Wi-Fi Password Without Cracking Using Wifiphisher
-
Android for Hackers: How to Turn an Android Phone into a Hacking Device Without Root
-
BT Recon: How to Snoop on Bluetooth Devices Using Kali Linux
-
How to Hack Wi-Fi: Cracking WPA2-PSK Passwords Using Aircrack-Ng
-
How To: Gain SSH Access to Servers by Brute-Forcing Credentials
-
How To: Top 10 Things to Do After Installing Kali Linux
-
How to Hack Wi-Fi: Cracking WPA2 Passwords Using the New PMKID Hashcat Attack
-
Hack Like a Pro: How to Crack Online Web Form Passwords with THC-Hydra & Burp Suite
-
How To: Make Spoofed Calls Using Any Phone Number You Want Right from Your Smartphone
-
How To: Bypass File Upload Restrictions on Web Apps to Get a Shell
-
How To: Write an XSS Cookie Stealer in JavaScript to Steal Passwords
-
Steganography: How to Hide Secret Data Inside an Image or Audio File in Seconds
-
Hack Like a Pro: How to Get Facebook Credentials Without Hacking Facebook
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How To: Dox Anyone
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
2 Responses
BeEF runs in a JS environment, which relies on the users browser being on the page your hook.js is running from. Once they leave that page, it's code is no longer executed, and so BeEF no longer has any control. However there is a Man in the Browser exploit (under the persistence tab I think) which should allow you to keep control despite the user leaving your page. The technical details of how this exploit works is beyond me, but it is there and presumably will do what you want to do.
Best of luck :)
Thanks! I'll have to try it!
Share Your Thoughts