Book Image

Mastering Metasploit - Third Edition

By : Nipun Jaswal
Book Image

Mastering Metasploit - Third Edition

By: Nipun Jaswal

Overview of this book

We start by reminding you about the basic functionalities of Metasploit and its use in the most traditional ways. You’ll get to know about the basics of programming Metasploit modules as a refresher and then dive into carrying out exploitation as well building and porting exploits of various kinds in Metasploit. In the next section, you’ll develop the ability to perform testing on various services such as databases, Cloud environment, IoT, mobile, tablets, and similar more services. After this training, we jump into real-world sophisticated scenarios where performing penetration tests are a challenge. With real-life case studies, we take you on a journey through client-side attacks using Metasploit and various scripts built on the Metasploit framework. By the end of the book, you will be trained specifically on time-saving techniques using Metasploit.
Table of Contents (14 chapters)

Using connect as Netcat

Metasploit offers a great command named connect to provide features similar to the Netcat utility. Suppose a system shell is waiting for us to connect on some port at the target system, and we don't want to switch from our Metasploit console. We can use the connect command to connect with the target, as shown in the following screenshot:

We can see that we initialized a connect with the listener from within the Metasploit framework, which might come in handy in taking reverse connections at the target where the initial access hasn't been gained through Metasploit.