How to do it...

We need root privileges to run Empire so that it can start the listeners on system ports as well. Follow these steps to get started:

  1. Execute the following command to run Empire with root privilege:
sudo ./empire

The Empire framework will now load, as shown in the following screenshot:

Phase 1 – listener initiation: When using Empire, it is required to first configure a listener that will listen for incoming connections. A listener in Empire is just like a handler in Metasploit:

  1. To view a list of all active listeners, we will execute the following command:
listeners

The output of running the preceding command can be seen ...

Get Kali Linux - An Ethical Hacker's Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.