Skip to main content
File added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

# NMAP Query Tool
Post-processor for nmap output that allows fast, simple filtering of data both interactively and inline (i.e. via a bash pipe).

```bash
Usage: python nmap-query.py [-h] [-p PORTS] [-a IPS] [-os OS] [-d DEVICE_TYPE] [-c] [-i NMAP_SCAN_RESULTS_FILE] [-o OUTPUT_FILENAME] [-q]

Note: the nmap scan results can be provided either through an input file or from STDIN (through a pipe)

Example: nmap -sV 10.0.0.0/24 | python nmap-query.py -q



[-h | --help]: Will print the help/usage message

[-p | --ports] PORTS: specify one or more (open) ports to filter on. The following input formats are accepted:

Single port number: -p 22
Set of port numbers: -p 22,80,443

[-a | --ip-addrs] IPS: specify one or more IP addresses on which to filter. The following input formats are accepted:

Single IP: -a 10.0.0.1
Set of IPs: -a 10.0.0.1,10.0.0.2,10.0.0.3
Single CIDR block: -a 10.0.0.0/24
Set of CIDR blocks: -a 10.0.0.0/24,10.0.1.0/24
Range of IPs: -a 10.0.0.1-4

[-os | --operating-system] OS: specify one or more operating systems on which to filter. The following input formats are accepted:

Single operating system: -os Windws
Set of operating systems: -os Windows,Linux

[-d | --device-type] DEVICE_TYPE: specify one or more device types on which to filter. The following input formats are accepted:

Single device type: -d router
Set of device types: -d router,switch

[-c | --output-csv]: use CSV as the output format

[-i | --input-file] NMAP_SCAN_RESULTS_FILE: specify the name of the input file (i.e. the file which contains the results of the Nmap scan)

[-o | --output-file] OUTPUT_FILENAME: specify the name of the output file

[-q | --query-mode]: enter the interactive query mode
```


Metadata

Release files for nmap-query-tool 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for nmap-query-tool 0.0.1
File Size Uploaded
nmap_query_tool-0.0.1.tar.gz 8.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for nmap-query-tool 0.0.1
File Interpreter ABI Platform
nmap_query_tool-0.0.1-py3-none-any.whl Python 3 none any Details
nmap_query_tool-0.0.1-py2-none-any.whl Python 2 none any Details

Total release size: 33.4 kB

Release files / nmap_query_tool-0.0.1.tar.gz

Download URL nmap_query_tool-0.0.1.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6d851d7d2d9536b04bed9220438e434a56864bcced89b5f945a511e8cc423698
BLAKE2b-256 checksum
How to use checksums
f02985e973343703331ad9bd4664a7e15379f219a5f5a3b17616b4bcb156591b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.6

Release files / nmap_query_tool-0.0.1-py3-none-any.whl

Download URL nmap_query_tool-0.0.1-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
719a3e6e59a5656d088a9c8d29c824dbf9c8e583b2e8f08e4326d0954f45a18c
BLAKE2b-256 checksum
How to use checksums
5dc74b7d0c0163e486c1e6d6e8ec9d9520c769e78be11d802fd9dd85f2f414f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.6

Release files / nmap_query_tool-0.0.1-py2-none-any.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL nmap_query_tool-0.0.1-py2-none-any.whl
Size 13.7 kB
Tags Python 2
SHA-256 checksum
How to use checksums
03a3db6875337450a5dc59a35e8dfac0f5cd493337470107c3ccb7df28e3a9a6
BLAKE2b-256 checksum
How to use checksums
c8613bcceff87177383bb4cd9d03cc5fb012d618e3192371cda47b820f7ce8f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15+

Release history Release notifications | RSS feed

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

This release

0.0.1 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page