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: Whatsapp Hack? 16 Replies
20 hrs ago -
Forum Thread: How to Track Who Is Sms Bombing Me . 4 Replies
2 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
5 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
6 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
7 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
7 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
8 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
10 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
10 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
10 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
10 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: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Extract Bitcoin Wallet Addresses & Balances from Websites with SpiderFoot CLI
-
How To: Use Ettercap to Intercept Passwords with ARP Spoofing
-
How To: Control Network Traffic with Evil Limiter to Throttle or Kick Off Devices
-
How To: Dox Anyone
-
Steganography: How to Hide Secret Data Inside an Image or Audio File in Seconds
-
How To: Top 10 Things to Do After Installing Kali Linux
-
How To: Hunt Down Social Media Accounts by Usernames with Sherlock
-
How To: Buy the Best Wireless Network Adapter for Wi-Fi Hacking in 2019
-
How To: Gain SSH Access to Servers by Brute-Forcing Credentials
-
How To: Brute-Force Nearly Any Website Login with Hatch
-
How To: Hijack Chromecasts with CATT to Display Images, Messages, Videos, Sites & More
-
How To: Crack Shadow Hashes After Getting Root on a Linux System
-
Hacking Gear: 10 Essential Gadgets Every Hacker Should Try
-
Mac for Hackers: How to Install the Metasploit Framework
-
How To: Hack Networks & Devices Right from Your Wrist with the Wi-Fi Deauther Watch
-
How To: Brute-Force WPA/WPA2 via GPU
-
How To: Select a Field-Tested Kali Linux Compatible Wireless Adapter
-
How To: Use John the Ripper in Metasploit to Quickly Crack Windows Hashes
-
Hack Like a Pro: Metasploit for the Aspiring Hacker, Part 1 (Primer & Overview)
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