项目作者: marcelogdeandrade

项目描述 :
A port scanner on a host using Nmap with Python
高级语言: Python
项目地址: git://github.com/marcelogdeandrade/HostScanner.git
创建时间: 2018-03-19T23:06:43Z
项目社区:https://github.com/marcelogdeandrade/HostScanner

开源协议:

下载


Host Scanner

A Python implementation to scan ports on a host using Nmap

Usage

Clone the repository with:

  1. $ git clone https://github.com/marcelogdeandrade/HostScanner
  1. $ cd HostScanner/

You need root to get OS scan with nmap. Write your target as a parameter when executing the script.

Example:

  1. $ sudo python scanner.py 192.168.0.106

Output:

Example:

  1. ----------------------------------------------------
  2. Host : 192.168.0.106 ()
  3. State : up
  4. OS : Linux, ver: 3.X
  5. OS : Linux, ver: 4.X
  6. ----------
  7. Protocol : tcp
  8. port : 139 state : open service: Samba smbd
  9. port : 445 state : open service: Samba smbd