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 Track Who Is Sms Bombing Me . 4 Replies
1 mo ago -
Forum Thread: Removing Pay-as-You-Go Meter on Loan Phones. 1 Replies
2 mo ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 3 Replies
2 mo ago -
Forum Thread: moab5.Sh Error While Running Metasploit 17 Replies
3 mo ago -
Forum Thread: Execute Reverse PHP Shell with Metasploit 1 Replies
4 mo ago -
Forum Thread: Install Metasploit Framework in Termux No Root Needed M-Wiz Tool 1 Replies
5 mo ago -
Forum Thread: Hack and Track People's Device Constantly Using TRAPE 35 Replies
5 mo ago -
Forum Thread: When My Kali Linux Finishes Installing (It Is Ready to Boot), and When I Try to Boot It All I Get Is a Black Screen. 8 Replies
6 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
6 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
7 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
9 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
9 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
9 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
9 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
9 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
9 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
10 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
10 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
11 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
11 mo ago
-
How To: Spy on Traffic from a Smartphone with Wireshark
-
How to Hack Wi-Fi: Stealing Wi-Fi Passwords with an Evil Twin Attack
-
How To: This Top-Rated Course Will Make You a Linux Master
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How to Hack Wi-Fi: Cracking WPA2 Passwords Using the New PMKID Hashcat Attack
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
Locking Down Linux: Using Ubuntu as Your Primary OS, Part 3 (Application Hardening & Sandboxing)
-
Hack Like a Pro: Abusing DNS for Reconnaissance
-
How To: The Hacks Behind Cracking, Part 1: How to Bypass Software Registration
-
How To: Control Network Traffic with Evil Limiter to Throttle or Kick Off Devices
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
Hack Like a Pro: How to Find Directories in Websites Using DirBuster
-
How to Hack Wi-Fi: Cracking WEP Passwords with Aircrack-Ng
-
How To: Stealthfully Sniff Wi-Fi Activity Without Connecting to a Target Router
-
How To: Use Hash-Identifier to Determine Hash Types for Password Cracking
-
How To: Detect When a Device Is Nearby with the ESP8266 Friend Detector
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