All Projects → bitsadmin → nmappy

bitsadmin / nmappy

Licence: BSD-3-Clause License
NmapPy - Python implementation of Nmap

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to nmappy

MX1014
MX1014 is a flexible, lightweight and fast port scanner.
Stars: ✭ 79 (+192.59%)
Mutual labels:  nmap, portscan
garmin-connect-export
Downloads gpx, tcx or original fit files from your Garmin Connect Account.
Stars: ✭ 42 (+55.56%)
Mutual labels:  commandline
rsfetch
A WIP rewrite of rsfetch from scratch.
Stars: ✭ 33 (+22.22%)
Mutual labels:  commandline
nse
Nmap NSE scripts
Stars: ✭ 23 (-14.81%)
Mutual labels:  nmap
searchscan
Search Nmap and Metasploit scanning scripts.
Stars: ✭ 51 (+88.89%)
Mutual labels:  nmap
nycurl
A web server that fetches data from the New York Times and formats it for display in the terminal.
Stars: ✭ 27 (+0%)
Mutual labels:  commandline
py-spotme
A CLI tool that creates AWS spot instances on the fly
Stars: ✭ 16 (-40.74%)
Mutual labels:  commandline
oidc-agent
oidc-agent for managing OpenID Connect tokens on the command line
Stars: ✭ 47 (+74.07%)
Mutual labels:  commandline
gomphotherium
Gomphotherium (/ˌɡɒmfəˈθɪəriəm/; "welded beast"), a command line Mastodon client.
Stars: ✭ 22 (-18.52%)
Mutual labels:  commandline
findssh
Asyncio concurrent Python finds SSH servers (or other services with open ports) on an IPv4 subnet, WITHOUT NMAP
Stars: ✭ 36 (+33.33%)
Mutual labels:  nmap
cliar
Create modular Python CLIs with type annotations and inheritance
Stars: ✭ 47 (+74.07%)
Mutual labels:  commandline
starcli
✨ Browse trending GitHub projects from your command line
Stars: ✭ 436 (+1514.81%)
Mutual labels:  commandline
jsf
Creates fake JSON files from a JSON schema
Stars: ✭ 46 (+70.37%)
Mutual labels:  commandline
xml-lint
A php tool to lint and validate xml files from the commandline.
Stars: ✭ 14 (-48.15%)
Mutual labels:  commandline
cmdr
POSIX-compliant command-line UI (CLI) parser and Hierarchical-configuration operations
Stars: ✭ 94 (+248.15%)
Mutual labels:  commandline
metrics
IS, FID score Pytorch and TF implementation, TF implementation is a wrapper of the official ones.
Stars: ✭ 91 (+237.04%)
Mutual labels:  commandline
NmapAutoRun
This script will automating scanning list of hosts with nmap
Stars: ✭ 24 (-11.11%)
Mutual labels:  nmap
ebook-converter
Commandline tool for converting between several e-books formats, based on Calibre project.
Stars: ✭ 21 (-22.22%)
Mutual labels:  commandline
ultimate-nmap-parser
parse nmap files
Stars: ✭ 51 (+88.89%)
Mutual labels:  nmap
NSE-scripts
NSE scripts to detect CVE-2020-1350 SIGRED and CVE-2020-0796 SMBGHOST, CVE-2021-21972, proxyshell, CVE-2021-34473
Stars: ✭ 105 (+288.89%)
Mutual labels:  nmap

NMapPy

Files

  • nmappy.py - Python implementation of Nmap
  • include-services.py - Utility to integrate list top services from the nmap-services file into the nmappy.py file
  • topports.py - Utility to obtain the top X ports from the nmap-services file
  • nmap-services - Copy from https://github.com/nmap/nmap

Tools

NmapPy

Python implementation of Nmap

Commandline

usage: nmappy.py [-iL [INPUT_FILENAME]] [-Pn] [-sn] [-s {T,U}] [-p PORTS]
                 [--top-ports TOP_PORTS] [-F] [-r] [-T {1,2,3,4,5}] [-v]
                 [-o {N,X}] [-h]
                 [targets] [output_file]

NmapPy 0.51 ( https://github.com/bitsadmin/nmappy/ )

TARGET SPECIFICATION:
  targets               Can pass hostnames, IP addresses, networks, etc.
  -iL [INPUT_FILENAME]  Input from list of hosts/networks

HOST DISCOVERY:
  -Pn                   Treat all hosts as online -- skip host discovery
  -sn                   Ping Scan - disable port scan

SCAN TECHNIQUES:
  -s {T,U}              TCP Connect()/UDP scan (not implemented)

PORT SPECIFICATION AND SCAN ORDER:
  -p PORTS              Only scan specified ports
  --top-ports TOP_PORTS
                        Scan <number> most common ports
  -F                    Fast mode - Scan fewer ports than the default scan
  -r                    Scan ports consecutively - don't randomize

TIMING AND PERFORMANCE:
  -T {1,2,3,4,5}        Set timing template (higher is faster)

OUTPUT:
  -v                    Increase verbosity level (use -vv or more for greater
                        effect)
  -o {N,X}              Output scan in normal/XML (not implemented)
  output_file           File name/location

MISC:
  -h, --help            Print this help summary page.

Include-Services

Utility to integrate list top services from the nmap-services file into the nmappy.py file.

Commandline

usage: nmappy_services.py [-h] [-i NUMBER] [nmappy_file] [nmap_services_file]

NmapPy services includer 0.10 ( https://github.com/bitsadmin/nmappy/ )

positional arguments:
  nmappy_file           File to patch
  nmap_services_file    nmap-services source file

optional arguments:
  -h, --help            show this help message and exit
  -i NUMBER, --include NUMBER
                        Number of TCP and UDP services to include (default:
                        50). Use -1 for all.

TopPorts

Utility to obtain the top X ports from the nmap-services file.

This is for example useful when you want to use Cobalt Strike to run a portscan on the top 10 TCP ports.

Commandline

usage: topports.py [top # of ports] [optional: tcp|udp]
example: topports.py 10 tcp

TopPorts v1.0 ( https://github.com/bitsadmin/nmappy/ )

PyInstaller

In order to use the tools stand-alone, binaries can be generated using PyInstaller.

  1. Install PyInstaller: pip install PyInstaller

  2. Generate the Windows/Linux binary: pyinstaller --onefile nmappy.py

  3. Output file can be found in ./dist

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].