Name | nmap-vscan-fix JSON |
Version |
1.2.0
JSON |
| download |
home_page | |
Summary | nmap service and application version detection (without nmap installation) |
upload_time | 2023-10-06 12:29:37 |
maintainer | |
docs_url | None |
author | An0m |
requires_python | |
license | MIT |
keywords |
nmap
vscan
fingerprint
recognition
security
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
==========
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
==========
- https://nmap.org/
- https://nmap.org/book/vscan.html
- https://nmap.org/book/vscan-fileformat.html
- https://github.com/nmap/nmap/blob/master/service_scan.cc
- https://svn.nmap.org/nmap/nmap-service-probes
Raw data
{
"_id": null,
"home_page": "",
"name": "nmap-vscan-fix",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "nmap vscan fingerprint recognition security",
"author": "An0m",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/1e/5b/d815aa9ace309ff7835c3e538978fc444d1ffd1f38155f4795931f14a0f9/nmap_vscan_fix-1.2.0.tar.gz",
"platform": null,
"description": "==========\r\nnmap_vscan\r\n==========\r\n\r\n**nmap_vscan** can finish Service and Application Version Detection without Nmap installation. It is not an official release from the Nmap Project.\r\n\r\nRequirements\r\n============\r\n \r\n* Works on Linux, Windows, Mac OSX, BSD\r\n\r\n\r\nInstall\r\n=======\r\n\r\nThe quick way::\r\n\r\n pip install nmap_vscan_fix\r\n\r\n\r\nUsage\r\n=====\r\n\r\nPlease download https://svn.nmap.org/nmap/nmap-service-probes at first.\r\n\r\n >>> from nmap_vscan import vscan\r\n >>> nmap = vscan.ServiceScan('./nmap-service-probes')\r\n\r\nLet's try to scan HTTP, MYSQL, SSH, REDIS and so on.\r\n\r\n >>> nmap.scan('www.apache.org', 80, \"tcp\")\r\n {'match': {'pattern': '^HTTP/1\\\\.[01] \\\\d\\\\d\\\\d .*\\\\r\\\\nServer: Apache[/ ](\\\\d[-.\\\\w]+) ([^\\\\r\\\\n]+)',\r\n 'versioninfo': {'cpename': ['apache:http_server:2.4.7'],\r\n 'devicetype': [' v'],\r\n 'hostname': [],\r\n 'info': ['(Ubuntu)'],\r\n 'operatingsystem': [],\r\n 'vendorproductname': ['Apache httpd'],\r\n 'version': ['2.4.7']}},\r\n 'probe': {'probename': 'GetRequest',\r\n 'probestring': 'GET / HTTP/1.0\\\\r\\\\n\\\\r\\\\n'}}\r\n\r\n >>> nmap.scan('192.168.1.245', 3306, 'tcp')\r\n {'match': {'pattern': '^.\\\\0\\\\0\\\\0\\\\x0a(5\\\\.[-_~.+\\\\w]+)\\\\0',\r\n 'versioninfo': {'cpename': ['mysql:mysql:5.5.28-log'],\r\n 'hostname': [],\r\n 'info': [],\r\n 'operatingsystem': [],\r\n 'vendorproductname': ['MySQL'],\r\n 'version': ['5.5.28-log']}},\r\n 'probe': {'probename': 'NULL', 'probestring': ''}}\r\n\r\n >>> nmap.scan('192.168.1.245', 6379, 'tcp')\r\n {'match': {'pattern': '^\\\\$\\\\d+\\\\r\\\\n(?:#[^\\\\r\\\\n]*\\\\r\\\\n)*redis_version:([.\\\\d]+)\\\\r\\\\n',\r\n 'versioninfo': {'cpename': [],\r\n 'hostname': [],\r\n 'info': [],\r\n 'operatingsystem': [],\r\n 'vendorproductname': ['Redis key-value store'],\r\n 'version': ['2.6.12']}},\r\n 'probe': {'probename': 'redis-server',\r\n 'probestring': '*1\\\\r\\\\n$4\\\\r\\\\ninfo\\\\r\\\\n'}}\r\n\r\n\r\nReferences\r\n==========\r\n\r\n- https://nmap.org/\r\n- https://nmap.org/book/vscan.html\r\n- https://nmap.org/book/vscan-fileformat.html\r\n- https://github.com/nmap/nmap/blob/master/service_scan.cc\r\n- https://svn.nmap.org/nmap/nmap-service-probes\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "nmap service and application version detection (without nmap installation)",
"version": "1.2.0",
"project_urls": null,
"split_keywords": [
"nmap",
"vscan",
"fingerprint",
"recognition",
"security"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "abcd3a8d935325e7c37fff163f430d353d1b79c838df304c47e18a57df77cb47",
"md5": "9f22d9ca0b568994db611f4a38e399fd",
"sha256": "87412a0641a82f01f259a95712aeb16e30d24bf73137039069cbd7ae6ddd77fb"
},
"downloads": -1,
"filename": "nmap_vscan_fix-1.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9f22d9ca0b568994db611f4a38e399fd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 17182,
"upload_time": "2023-10-06T12:29:34",
"upload_time_iso_8601": "2023-10-06T12:29:34.766239Z",
"url": "https://files.pythonhosted.org/packages/ab/cd/3a8d935325e7c37fff163f430d353d1b79c838df304c47e18a57df77cb47/nmap_vscan_fix-1.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1e5bd815aa9ace309ff7835c3e538978fc444d1ffd1f38155f4795931f14a0f9",
"md5": "8959b582c1185c0e97b73019a2edf44e",
"sha256": "82093cd28d713752eecf1b518f7bf970372de2a4761b3e5bd2d9cad7446fbcb8"
},
"downloads": -1,
"filename": "nmap_vscan_fix-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "8959b582c1185c0e97b73019a2edf44e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 16776,
"upload_time": "2023-10-06T12:29:37",
"upload_time_iso_8601": "2023-10-06T12:29:37.259322Z",
"url": "https://files.pythonhosted.org/packages/1e/5b/d815aa9ace309ff7835c3e538978fc444d1ffd1f38155f4795931f14a0f9/nmap_vscan_fix-1.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-06 12:29:37",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "nmap-vscan-fix"
}