nmap NSE脚本中host/port的内容
周末写了一个简单的nmap的NSE脚本,其中使用了nmap API中的host,port两个变量,数据结构记录。
Host
Key | Value |
---|---|
registry | table: 0x7feae1dc5080 |
name | |
reason_ttl | 0 |
bin_ip | |
ip | 192.168.1.10 |
reason | user-set |
interface_mtu | 0 |
times | table: 0x7feae1d9dbf0 |
Key | Value |
---|---|
number | 443 |
reason | syn-ack |
version | table: 0x7feae1dfb720 |
state | open |
reason_ttl | 0 |
service | https |
protocol | tcp |