Coder Social home page Coder Social logo

nmap-nse-info's Introduction

NSEInfo

NSEInfo is a tool to interactively search through nmap's NSE scripts.

asciicast

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 nfs

3 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-ls

nfs-ls: Attempts to get useful information about files from NFS exports.

2 sample usages found:

 nmap -p 111 --script=nfs-ls <target>
 nmap -sV --script=nfs-ls <target>

Run "nmap --script nfs-ls --help" for more information.

Running the tests

python -m unittest discover test

nmap-nse-info's People

Contributors

christophetd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nmap-nse-info's Issues

Properly handle usage samples with multiple lines

e.g. http-open-proxy.nse :

nseinfo usage http-open-proxy

http-open-proxy: Checks if an HTTP proxy is open.

1 sample usage found:

 nmap --script http-open-proxy.nse \

Run "nmap --script http-open-proxy --help" for more information

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.