2010年8月29日星期日

Nmap发布Web地图zz

Nmap项目根据Alexa流量数据,扫描了百万网站,收集了328,427个不同的网站图标(favicon),其中只有288,945个图标是合适的图像,剩余的39,482个图标或者是错误字串或者是非图像文件,然后据此生成了一幅依受欢迎程度等比例放大的可视化地图。用户可以输入网站网站搜索其图标所处的位置,例如Solidot、/.、Twitter。开发者利用的工具是Nmap Scripting Engine,它能执行快速发现、漏洞检测等各种任务。

标签: ,


2010年3月28日星期日

tor+proxychains+nmap+socat+nc

接上贴

1、proxychains+nmap,实现匿名扫描

root@woody-desktop:~# proxychains nmap -sV -p 80 202.118.66.5
ProxyChains-3.1 (http://proxychains.sf.net)

Starting Nmap 5.00 ( http://nmap.org ) at 2010-03-28 01:56 CST
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:80-<><>-OK
Interesting ports on rose.dlut.edu.cn (202.118.66.5):
PORT STATE SERVICE VERSION
80/tcp open http Apache httpd 2.2.3 ((Debian) PHP/4.4.4-8+etch6)

Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 11.13 seconds

2、socat允许双向中继转播,可通过监听在192.168.1.3上9100端口的Tor socks代理转发TCP请求,进而通过socat中继进行任意次数的刺探(比如nessus、nikto)。下面命令建立一个socat代理,监听本地的8080端口,并将所有到202.118.66.5的80端口的所有tcp请求通过192.168.1.3:9100的socks tor 代理进行转发。即
127.0.0.1:8080->192.168.1.3:9100->tor代理网络->202.118.66.5:80

root@woody-desktop:~# socat TCP4-LISTEN:8080,fork SOCKS4a:192.168.1.3:202.118.66.5:80,socksport=9100

3、nc连接到远程服务器
root@woody-desktop:~# nc 127.0.0.1 8080
HEAD / HTTP/1.0


HTTP/1.1 200 OK
Date: Sat, 27 Mar 2010 17:54:17 GMT
Server: Apache/2.2.3 (Debian) PHP/4.4.4-8+etch6
Last-Modified: Mon, 23 Nov 2009 03:04:10 GMT
ETag: "f7a64-b50-479011456be80"
Accept-Ranges: bytes
Content-Length: 2896
Connection: close
Content-Type: text/html

标签: , , , ,


通过proxychains实现匿名扫描

proxychains能强制任意指定应用程序通过tor或其他代理服务器进行tcp连接,如果使nmap通过proxychains,就可以隐藏行踪。

环境:
代理服务器:
os:mac os 10.6.2
应用:tor 0.2.1.25

客户端:ubuntu 9.10
应用:
proxychains 3.1
nmap 5.0

1、代理服务器安装与设置
在torproject.org下载mac os x下的tor套件,进行安装。修改tor代理的配置文件/users/woody/Library/vidalia/torrc,添加
SocksListenAddress 127.0.0.1 #为本机应用服务
SocksListenAddress 192.168.1.3:9100 #对非本机应用提供服务
192.168.1.3为服务器ip地址,9100为服务端口,注意不要与其他端口冲突。

2、客户端安装与设置
在ubuntu9.10下
#aptitude install proxychains
修改proxychains配置文件/etc/proxychains.conf,将socks配置修改为
socks4 192.168.1.3 9100

3、重启服务器端的tor服务。

4、客户端运行
#proxychains nmap -sT 202.118.66.5
root@woody-desktop:~# proxychains nmap -sT 202.118.66.5
ProxyChains-3.1 (http://proxychains.sf.net)

Starting Nmap 5.00 ( http://nmap.org ) at 2010-03-28 00:10 CST
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:1723-<--denied
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:23-<><>-OK
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:554-<--denied
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:8888-<--denied
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:80-<><>-OK
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:995-<--denied
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:256-<--denied
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:8080-<--denied
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:443-<--denied
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:445-<--timeout
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:1025-<--timeout
|S-chain|-<>-192.168.1.3:9100-<><>-202.118.66.5:21-<--timeout

可正常扫描。
proxychains只在linux下有。

标签: ,


This page is powered by Blogger. Isn't yours?

订阅 博文 [Atom]