python-masscan
================
python-masscan is a python library which helps in using masscan port scanner.
.. image:: https://badge.fury.io/py/python-masscan.svg
:target: https://badge.fury.io/py/python-masscan
.. image:: https://img.shields.io/badge/python-2.7|3.7-brightgreen.svg
:target: https://www.python.org/
.. image:: https://img.shields.io/github/issues/MyKings/python-masscan.svg
:alt: GitHub issues
:target: https://github.com/MyKings/python-masscan/issues
.. image:: https://img.shields.io/github/forks/MyKings/python-masscan.svg
:alt: GitHub forks
:target: https://github.com/MyKings/python-masscan/network
.. image:: https://img.shields.io/github/stars/MyKings/python-masscan.svg
:alt: GitHub stars
:target: https://github.com/MyKings/python-masscan/stargazers
.. image:: https://img.shields.io/github/license/MyKings/python-masscan.svg
:alt: GitHub license
:target: https://github.com/MyKings/python-masscan/blob/master/LICENSE
INSTALL
--------
.. code-block:: bash
$ pip install python-masscan
USAGE
--------
.. code-block:: python
import masscan
mas = masscan.PortScanner()
mas.scan('172.0.8.78/24', ports='22,80,8080', arguments='--max-rate 1000')
print(mas.scan_result)
Result
--------
.. code-block:: json
{
"command_line": "masscan -oJ - 192.168.1.1 -p 80,1900",
"scan": {
"192.168.1.1": [
{
"status": "open",
"reason": "syn-ack",
"ttl": 64,
"port": 1900,
"proto": "tcp"
},
{
"status": "open",
"reason": "syn-ack",
"ttl": 64,
"port": 80,
"proto": "tcp"
}
]
}
}
Contributors
-------------
- [Matt Lebrun](https://github.com/cr8ivecodesmith)
- [Gonçalo Ribeiro](https://github.com/goncalor)
- [Fabian Affolter](https://github.com/fabaff)
REFERENCE
-------------
https://bitbucket.org/xael/python-nmap/
Raw data
{
"_id": null,
"home_page": "https://github.com/MyKings/python-masscan",
"name": "python-masscan",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "masscan,portscanner",
"author": "MyKings",
"author_email": "xsseroot@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/00/1d/224c6387034f6d828023640603bc98625f0397f67a71ea9cf0b7afbcb7a9/python-masscan-1.0.0.tar.gz",
"platform": "Operating System :: OS Independent",
"description": "python-masscan\n================\n\npython-masscan is a python library which helps in using masscan port scanner. \n\n.. image:: https://badge.fury.io/py/python-masscan.svg\n :target: https://badge.fury.io/py/python-masscan\n\n.. image:: https://img.shields.io/badge/python-2.7|3.7-brightgreen.svg\n :target: https://www.python.org/\n\n.. image:: https://img.shields.io/github/issues/MyKings/python-masscan.svg \n :alt: GitHub issues\n :target: https://github.com/MyKings/python-masscan/issues\n\n\n.. image:: https://img.shields.io/github/forks/MyKings/python-masscan.svg\n :alt: GitHub forks\n :target: https://github.com/MyKings/python-masscan/network\n\n\n.. image:: https://img.shields.io/github/stars/MyKings/python-masscan.svg\n :alt: GitHub stars\n :target: https://github.com/MyKings/python-masscan/stargazers\n\n\n.. image:: https://img.shields.io/github/license/MyKings/python-masscan.svg\n :alt: GitHub license\n :target: https://github.com/MyKings/python-masscan/blob/master/LICENSE\n\n\nINSTALL\n--------\n\n.. code-block:: bash\n\n $ pip install python-masscan\n\nUSAGE\n--------\n\n.. code-block:: python\n\n import masscan\n\n\n mas = masscan.PortScanner()\n mas.scan('172.0.8.78/24', ports='22,80,8080', arguments='--max-rate 1000')\n print(mas.scan_result)\n\n\n\nResult\n--------\n\n.. code-block:: json\n\n {\n \"command_line\": \"masscan -oJ - 192.168.1.1 -p 80,1900\",\n \"scan\": {\n \"192.168.1.1\": [\n {\n \"status\": \"open\",\n \"reason\": \"syn-ack\",\n \"ttl\": 64,\n \"port\": 1900,\n \"proto\": \"tcp\"\n },\n {\n \"status\": \"open\",\n \"reason\": \"syn-ack\",\n \"ttl\": 64,\n \"port\": 80,\n \"proto\": \"tcp\"\n }\n ]\n }\n}\n\n\nContributors\n-------------\n\n - [Matt Lebrun](https://github.com/cr8ivecodesmith)\n - [Gon\u00e7alo Ribeiro](https://github.com/goncalor)\n - [Fabian Affolter](https://github.com/fabaff)\n\n\nREFERENCE\n-------------\nhttps://bitbucket.org/xael/python-nmap/",
"bugtrack_url": null,
"license": "GPL-3.0-or-later",
"summary": "",
"version": "1.0.0",
"split_keywords": [
"masscan",
"portscanner"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "001d224c6387034f6d828023640603bc98625f0397f67a71ea9cf0b7afbcb7a9",
"md5": "10bb40b0019010162b297f90699e30ad",
"sha256": "4e822681de29dd0d4807f8b9b4904f61b69f8f7b0e7c06caf03f6183ea6b4907"
},
"downloads": -1,
"filename": "python-masscan-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "10bb40b0019010162b297f90699e30ad",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7697,
"upload_time": "2022-10-06T12:27:54",
"upload_time_iso_8601": "2022-10-06T12:27:54.916328Z",
"url": "https://files.pythonhosted.org/packages/00/1d/224c6387034f6d828023640603bc98625f0397f67a71ea9cf0b7afbcb7a9/python-masscan-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-10-06 12:27:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "MyKings",
"github_project": "python-masscan",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "python-masscan"
}