netsploit-py, or Netsploit is a CLI wrapper for popular network security/pentesting tools includingnmap,hping3andping.- Each feature is in the form of a "module", within which you can configure and run the desired function you want to perform.
- After running the command in each module, you can choose whether to save a log of the output or not.
- Logging will not work out-of-the-box; you WILL need to set it up with the instructions below.
- As a user, you just need to run the
netsploit.pyfile (instructions are given below), you don't need to touch any of the source code unless you want to.
Note
- This is a work-in-progress project. Surely many things can be improved here and there, so feel free to open an issue about it.
- If something doesn't work on your platform, please feel free to open an issue about it.
- This project is made targeted for Linux platform. So there it might not work on other platforms. It might work on macOS with some changes.
| No. | Command | Description |
|---|---|---|
| 1 | network-scanner | Find devices connected to the network |
| 2 | device-info | Get info about a device |
| 3 | oui-lookup | Find the manufacturer of target with OUI |
| 4 | os-guesser | Guess the OS running on target device |
| 5 | port-scanner | Scan the target device for open ports |
| 6 | dos | Run a Denial-Of-Service attack on the target |
| 7 | ping | Ping the target to see if they are online |
| 8 | vuln-scanner | Scan the target for vulnerabilities |
- Install required
pippackages:
$ pip install -r requirements.txt-
Make sure you have the required packages installed on your system
- (Refer to the respective links for installation instructions)
- Clone the repository (recommended):
$ git clone https://github.com/ArcticDev78/netsploit-py.git- OR, you can Download the repository
.zipfile by clicking onCode > Download ZIPon this page. Note that using this method means you cannot update Netsploit since the last time you last downloaded it.
- (Required for setup) Setup folders for logging function:
- First make sure that you are in the git repository folder of
netsploit-py
$ mkdir logs/ # Create logs folder
$ cd logs/ # Enter logs folder
$ mkdir device-info network-scanner os-guesser oui-lookup port-scanner vuln-scanner # Create respective log folders for each module- Run Netsploit:
$ python3 netsploit.py- Use either a module or the
autocommand:- Use a module of your choice:
- Type
"use <module>"to use a module ( is the name of the module to use)
- Type
- Use the
autocommand to automate the usage ofnetsploit:- Type
autoin the prompt and follow the prompts to complete your desired action(s).
- Type
- Use a module of your choice:
- The
oui.txtfile (OUI Lookup Database) was taken from here (the Wireshark website) - I did not create this, nor do I own this.
