Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MyKings/python-masscan
python-masscan is a python library which helps in using masscan port scanner.
https://github.com/MyKings/python-masscan
masscan python
Last synced: 21 days ago
JSON representation
python-masscan is a python library which helps in using masscan port scanner.
- Host: GitHub
- URL: https://github.com/MyKings/python-masscan
- Owner: MyKings
- License: gpl-3.0
- Created: 2017-03-23T02:42:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-06T01:35:42.000Z (7 months ago)
- Last Synced: 2024-11-10T04:14:19.251Z (about 1 month ago)
- Topics: masscan, python
- Language: Python
- Homepage: https://pypi.org/project/python-masscan/
- Size: 89.8 KB
- Stars: 281
- Watchers: 9
- Forks: 60
- Open Issues: 7
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - MyKings/python-masscan - python-masscan is a python library which helps in using masscan port scanner. (Python)
README
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/LICENSEINSTALL
--------.. code-block:: bash
$ pip install python-masscan
USAGE
--------.. code-block:: python
import masscan
mas = masscan.PortScanner()
mas.scan('192.168.1.1', ports='22,1900', 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/