Hooking the browser with BeEF

In order to use BeEF, we need to start its services and be able to access its console. Additionally, in order to exploit a victim's browser, we need to find a way to hook their browser. There are a number of ways of exploiting a victim's browser; in this chapter, we will cover two ways:

  • The first shows how we can deploy a script on a website that we are able to directly edit.
  • In the second example, we will exploit a website vulnerable to XSS attacks. In this way, we can deploy our script on a site we have no administrative access to.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset