Skip to Content
Learn Ethical Hacking from Scratch
book

Learn Ethical Hacking from Scratch

by Zaid Sabih
July 2018
Beginner
564 pages
12h 22m
English
Packt Publishing
Content preview from Learn Ethical Hacking from Scratch

Listening for connections

As you'll know, the backdoor we created uses a reverse payload. For the reverse payload to work, we need to open a port in our computer so that the target machine can connect to it. When we created the backdoor, we set the port to 8080, so we need to open that port on our Kali machine. Remember, the name of our chosen payload is meterpreter/rev_https in this example.

We are now going to split our screens, as before, and listen for incoming connections using the Metasploit framework. To run Metasploit, use the msfconsole command, which should generate output similar to the following screenshot:

To listen for incoming ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Ethical Hacking From Scratch

Learn Ethical Hacking From Scratch

Zaid Sabih
Ethical Hacking Masterclass

Ethical Hacking Masterclass

SUNIL GUPTA (India), Sunil Gupta
Ethical Hacking

Ethical Hacking

Ric Messier
Ethical Hacking

Ethical Hacking

Daniel G. Graham

Publisher Resources

ISBN: 9781788622059Supplemental Content