Skip to main content

nmap_vscan

nmap_vscan can finish Service and Application Version Detection without Nmap installation. It is not an official release from the Nmap Project.

Requirements

  • Works on Linux, Windows, Mac OSX, BSD

Install

The quick way:

pip install nmap_vscan_fix

Usage

Please download https://svn.nmap.org/nmap/nmap-service-probes at first.

>>> from nmap_vscan import vscan
>>> nmap = vscan.ServiceScan('./nmap-service-probes')

Let’s try to scan HTTP, MYSQL, SSH, REDIS and so on.

>>> nmap.scan('www.apache.org', 80, "tcp")
{'match': {'pattern': '^HTTP/1\\.[01] \\d\\d\\d .*\\r\\nServer: Apache[/ ](\\d[-.\\w]+) ([^\\r\\n]+)',
  'versioninfo': {'cpename': ['apache:http_server:2.4.7'],
   'devicetype': [' v'],
   'hostname': [],
   'info': ['(Ubuntu)'],
   'operatingsystem': [],
   'vendorproductname': ['Apache httpd'],
   'version': ['2.4.7']}},
 'probe': {'probename': 'GetRequest',
  'probestring': 'GET / HTTP/1.0\\r\\n\\r\\n'}}
>>> nmap.scan('192.168.1.245', 3306, 'tcp')
{'match': {'pattern': '^.\\0\\0\\0\\x0a(5\\.[-_~.+\\w]+)\\0',
  'versioninfo': {'cpename': ['mysql:mysql:5.5.28-log'],
   'hostname': [],
   'info': [],
   'operatingsystem': [],
   'vendorproductname': ['MySQL'],
   'version': ['5.5.28-log']}},
 'probe': {'probename': 'NULL', 'probestring': ''}}
>>> nmap.scan('192.168.1.245', 6379, 'tcp')
{'match': {'pattern': '^\\$\\d+\\r\\n(?:#[^\\r\\n]*\\r\\n)*redis_version:([.\\d]+)\\r\\n',
  'versioninfo': {'cpename': [],
   'hostname': [],
   'info': [],
   'operatingsystem': [],
   'vendorproductname': ['Redis key-value store'],
   'version': ['2.6.12']}},
 'probe': {'probename': 'redis-server',
  'probestring': '*1\\r\\n$4\\r\\ninfo\\r\\n'}}

References

Metadata

Release files for nmap-vscan-fix 1.2.0

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

Source distribution (sdist)

Source distribution for nmap-vscan-fix 1.2.0
File Size Uploaded Provenance Actions
nmap_vscan_fix-1.2.0.tar.gz 16.8 kB Without provenance Details for nmap_vscan_fix-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nmap-vscan-fix 1.2.0
File Interpreter ABI Platform Actions
nmap_vscan_fix-1.2.0-py3-none-any.whl Python 3 none any Details for nmap_vscan_fix-1.2.0-py3-none-any.whl

Total release size: 34.0 kB

Release files / nmap_vscan_fix-1.2.0.tar.gz

Download URL nmap_vscan_fix-1.2.0.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
82093cd28d713752eecf1b518f7bf970372de2a4761b3e5bd2d9cad7446fbcb8
BLAKE2b-256 checksum
How to use checksums
1e5bd815aa9ace309ff7835c3e538978fc444d1ffd1f38155f4795931f14a0f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / nmap_vscan_fix-1.2.0-py3-none-any.whl

Download URL nmap_vscan_fix-1.2.0-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87412a0641a82f01f259a95712aeb16e30d24bf73137039069cbd7ae6ddd77fb
BLAKE2b-256 checksum
How to use checksums
abcd3a8d935325e7c37fff163f430d353d1b79c838df304c47e18a57df77cb47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Security for nmap-vscan-fix 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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