Mar 19, 2014 11:02 PM
(This post was last modified: Sep 3, 2015 03:03 PM by SIM-2015410.)
Hello Hf,
Welcome to my first hacking tutorial. Hopefully this will not be my last though 🙂
When you start out in hacking, you will soon run across the word "exploit". An exploit is an attack on a computer system, especially one that takes advantage of a particular vulnerability that the system offers to intruders. It can take advantage of both weaknesses in an operating system or vended application programs.
What Is Metasploit?
Metasploit is one of the best, most widely used exploitation tools in both white hat and black hat hacking. It can be used by both beginning n00bs and more advanced hax0rs 🙂.
Metasploit was developed in 2003 as an open source project by H.D. Moore. Originally developed in PERL, the developer team rewrote Metasploit in Ruby in 2007. This is critical, because you need to have Ruby on your system in order to run Metasploit and to develop your own exploits. Metasploit was then purchased by rapid7 in 2009, which still offers "metasploit community edition" as a free, open source download for anyone to use.
Metasploit is an "exploitation framework". As a framework, it eases the effort to exploit known vulnerabilities in networks, operating systems and applications, and to develop new exploits for new or unknown vulnerabilities. The metasploit framework contains hundreds of exploits and "payloads" and makes it easy to use them. My current version of metasploit contains 1161 exploits and 310 payloads!
In this tutorial, i will be using linux. There are numerous advantages to using linux when hacking. Linux is free, and open source. There is a Windows version of Metasploit, but many of the features such as raw IP packet injection, wireless driver exploitation, SMB relaying attacks, etc. are unavailable on windows. There is also a GUI developed for metasploit by independent developers, but we will be using the command line. All hackers should be familiar and comfortable using the command line.
Download and Installation
First we need to download and install Metasploit (obviously 🙂).
One of the best distros for hacking is Kali Linux. this distro comes with metasploit framework pre-installed, so if you want to use kali, skip the next few steps. Here, I'll walk you through downloading and installing on one of the most popular Linux distros: Ubuntu.
Spoiler (Click to View)
After you have metasploit installed, you are ready to run it! To start up the metasploit framework console, type this into terminal:
NOTE: On kali, you first need to start the metasploit framework service using:
You should see the beautiful text art "Metasploit" if it runs correctly, and be prompted for a command. Feel free to experiment and research, or wait loyally for my next tutorial on some basic usage of metasploit.
Now that you have successfully installed Metasploit you can start doing some l33t hacks!
Manual Updates:
Spoiler (Click to View)
LIST OF BASIC COMMANDS:Spoiler (Click to View)
Thanks for reading, please reply with your thanks if you enjoyed this and/or found it useful.
I am hoping to make another tutorial soon that will teach you how to use Metasploit for a real hack!
Written by MeshCollider 🤝
Welcome to my first hacking tutorial. Hopefully this will not be my last though 🙂
When you start out in hacking, you will soon run across the word "exploit". An exploit is an attack on a computer system, especially one that takes advantage of a particular vulnerability that the system offers to intruders. It can take advantage of both weaknesses in an operating system or vended application programs.
What Is Metasploit?
Metasploit is one of the best, most widely used exploitation tools in both white hat and black hat hacking. It can be used by both beginning n00bs and more advanced hax0rs 🙂.
Metasploit was developed in 2003 as an open source project by H.D. Moore. Originally developed in PERL, the developer team rewrote Metasploit in Ruby in 2007. This is critical, because you need to have Ruby on your system in order to run Metasploit and to develop your own exploits. Metasploit was then purchased by rapid7 in 2009, which still offers "metasploit community edition" as a free, open source download for anyone to use.
Metasploit is an "exploitation framework". As a framework, it eases the effort to exploit known vulnerabilities in networks, operating systems and applications, and to develop new exploits for new or unknown vulnerabilities. The metasploit framework contains hundreds of exploits and "payloads" and makes it easy to use them. My current version of metasploit contains 1161 exploits and 310 payloads!
In this tutorial, i will be using linux. There are numerous advantages to using linux when hacking. Linux is free, and open source. There is a Windows version of Metasploit, but many of the features such as raw IP packet injection, wireless driver exploitation, SMB relaying attacks, etc. are unavailable on windows. There is also a GUI developed for metasploit by independent developers, but we will be using the command line. All hackers should be familiar and comfortable using the command line.
Download and Installation
First we need to download and install Metasploit (obviously 🙂).
One of the best distros for hacking is Kali Linux. this distro comes with metasploit framework pre-installed, so if you want to use kali, skip the next few steps. Here, I'll walk you through downloading and installing on one of the most popular Linux distros: Ubuntu.
Spoiler (Click to View)
After you have metasploit installed, you are ready to run it! To start up the metasploit framework console, type this into terminal:
Code
msfconsoleNOTE: On kali, you first need to start the metasploit framework service using:
Code
service metasploit startYou should see the beautiful text art "Metasploit" if it runs correctly, and be prompted for a command. Feel free to experiment and research, or wait loyally for my next tutorial on some basic usage of metasploit.
Now that you have successfully installed Metasploit you can start doing some l33t hacks!
Manual Updates:
Spoiler (Click to View)
LIST OF BASIC COMMANDS:Spoiler (Click to View)
Thanks for reading, please reply with your thanks if you enjoyed this and/or found it useful.
I am hoping to make another tutorial soon that will teach you how to use Metasploit for a real hack!
Written by MeshCollider 🤝


