Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christophetd/nmap-nse-info
Browse and search through nmap's NSE scripts.
https://github.com/christophetd/nmap-nse-info
nmap nmap-scan-script nse-script nsescript pentest-tool pentesting
Last synced: about 1 month ago
JSON representation
Browse and search through nmap's NSE scripts.
- Host: GitHub
- URL: https://github.com/christophetd/nmap-nse-info
- Owner: christophetd
- Created: 2017-06-08T08:45:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-08T15:02:27.000Z (over 7 years ago)
- Last Synced: 2024-10-31T22:42:08.322Z (about 1 month ago)
- Topics: nmap, nmap-scan-script, nse-script, nsescript, pentest-tool, pentesting
- Language: Lua
- Homepage:
- Size: 14.6 KB
- Stars: 59
- Watchers: 4
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - christophetd/nmap-nse-info - Browse and search through nmap's NSE scripts. (Lua)
README
# NSEInfo
NSEInfo is a tool to interactively search through nmap's NSE scripts.
[![asciicast](https://asciinema.org/a/4av670luoetzj17y7oxho3juh.png)](https://asciinema.org/a/4av670luoetzj17y7oxho3juh)
# Installation
Needs Python 2.7. To install, run:
```
$ pip install nltk prettytable git+https://github.com/christophetd/nmap-nse-info.git
```# Sample usages
## Search
Find all NSE scripts related to NFS:
```
$ nseinfo search nfs3 matches found.
+---------------+----------------------------------------------------------+-----------------+
| Script name | Description | Categories |
+---------------+----------------------------------------------------------+-----------------+
| nfs-statfs | Retrieves disk space statistics and information from a | discovery, safe |
| | remote NFS share. | |
+---------------+----------------------------------------------------------+-----------------+
| nfs-showmount | Shows NFS exports, like the showmount -e command. | discovery, safe |
+---------------+----------------------------------------------------------+-----------------+
| nfs-ls | Attempts to get useful information about files from NFS | discovery, safe |
| | exports. | |
+---------------+----------------------------------------------------------+-----------------+```
Find all NSE exploit scripts related to SMB:
```
$ nseinfo search smb --category exploit
```Display all the NSE scripts in the category `brute` (bruteforce):
```
$ nseinfo --show-all --category brute
```Show the first 5 NSE scripts in the category `discover`:
```
$ nseinfo --show-all --category discovery --limit 5
```Display all the NSE scripts installed:
```
$ nseinfo --show-all
```If your NSE scripts are not the standard location `/usr/share/nmap/scripts/`, you can use the `-l` or `--location` option to provide your customized path.
## Usage samples
Show a quick description and sample usages (if available) of the NSE script `http-wordpress-enum`:
```
$ nseinfo usage nfs-lsnfs-ls: Attempts to get useful information about files from NFS exports.
2 sample usages found:
nmap -p 111 --script=nfs-ls
nmap -sV --script=nfs-lsRun "nmap --script nfs-ls --help" for more information.
```
## Running the tests```
python -m unittest discover test
```