genlist + nmap

Usage: genlist [Input Type] [General Options]

Input Type:
-s --scan Ping Target Range ex: 10.0.0.\*

Scan Options:
-n --nmap Path to Nmap executable
--inter Perform Nmap Scan using non default interface

General Options:
-v --version Display version
-h --help Display this information

Send Comments to Joshua D. Abraham ( jabra@ccs.neu.edu )

genlist可以用来生成一个列表,该列表包含一个ip段内所有相应ping的ICMP报文响应的主机ip。生成的ip列表可以给后续的PBNJ或Nmap用。
下图中,首先先用genlist ping探测ip段192.168.1.*查找存活主机,存到列表iplist中备用,接着用nmap来扫描列表中的主机们。

backtrack genlist nmap

root@bt:~# genlist -s 192.168.1.* > iplist
root@bt:~# cat iplist                                          #显示iplist
192.168.1.1
192.168.1.100
192.168.1.103
root@bt:~# nmap -v -iL iplist                              #从iplist列表输入
从图中我们可以看到在nmap的扫描报告中分别列出了这三台存活主机所有开放的端口以及运行在相应端口上的服务。

分享到:

dnsdict6获取ipv6地址

[dnsdict6 v1.4 (c) 2010 by van Hauser /   THC www.thc.org]

dnsdict6用来查询网站的ipv6地址,如果存在的话就显示,不存在的话就没有显示。可自定义线程数和字典。用法为:
Syntax: dnsdict6 [-t THREADS] domain [dictionary-file]

root@bt:~# dnsdict6 google.com
Starting enumerating google.com. – creating 8 threads for 3001 words…
Estimated time to completion: 2 to 5 minutes

ipv6.google.com. => 2404:6800:8005::6a

Found 1 domain name and 1 unique ipv6 address for google.com.
root@bt:~# dnsdict6 baidu.com
Starting enumerating baidu.com. – creating 8 threads for 3001 words…
Estimated time to completion: 2 to 5 minutes

Found 0 domain names and 0 unique ipv6 addresses for baidu.com.

分享到: