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: Gaining Access into the Victim's Whatsapp on Android 12 Replies
11 hrs ago -
Forum Thread: Whatsapp Hack? 19 Replies
12 hrs ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
3 days ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
3 wks ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
3 wks ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
2 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
2 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
2 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
3 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
3 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
3 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
4 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
4 mo ago -
Forum Thread: How to Run and Install Kali Linux on a Chromebook 18 Replies
5 mo ago -
Forum Thread: How to Find Admin Panel Page of a Website? 13 Replies
6 mo ago -
Forum Thread: can i run kali lenux in windows 10 without reboting my computer 4 Replies
6 mo ago -
Forum Thread: How to Hack School Website 11 Replies
6 mo ago -
Forum Thread: Make a Phishing Page for Harvesting Credentials Yourself 8 Replies
6 mo ago
-
How To: Dox Anyone
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Gain SSH Access to Servers by Brute-Forcing Credentials
-
How To: Brute-Force Nearly Any Website Login with Hatch
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How To: Crack Shadow Hashes After Getting Root on a Linux System
-
How To: Use MDK3 for Advanced Wi-Fi Jamming
-
How To: The Top 80+ Websites Available in the Tor Network
-
How To: Build an Off-Grid Wi-Fi Voice Communication System with Android & Raspberry Pi
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Enumerate SMB with Enum4linux & Smbclient
-
How to Hack Wi-Fi: Cracking WPA2 Passwords Using the New PMKID Hashcat Attack
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How To: Top 10 Things to Do After Installing Kali Linux
-
How to Hack Wi-Fi: Cracking WPA2-PSK Passwords Using Aircrack-Ng
-
How To: Extract Bitcoin Wallet Addresses & Balances from Websites with SpiderFoot CLI
-
The Hacks of Mr. Robot: How to Hide Data in Audio Files
-
How To: Use SpiderFoot for OSINT Gathering
-
How to Hack Wi-Fi: Hunting Down & Cracking WEP Networks
-
How To: Upgrade a Dumb Shell to a Fully Interactive Shell for More Flexibility
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