sudo tcpdump tcp -i eth1 -t -s 0 -c 200 and src net 10.169.1.45 -w target2.cap
sudo tcpdump tcp -i eth1 -t -s 0 -c 800 and host 10.169.1.45 -w target4.cap
-t 不带时间戳
-s 0 可以抓完整的数据包,默认抓取长度68字节
-c 抓取多少个数据包
src net 10.169.1.0/24
wirshark 分析--追踪流--tcp流
ftp> open
到 10.159.0.247连接到 10.159.0.247。
220 (vsFTPd 3.0.2)
200 Always in UTF8 mode.
用户(10.159.0.247:(none)): ZY
331 Please specify the password.
密码:
230 Login successful.
ftp> cd //windows
550 Failed to change directory.
ftp> cd /windows
550 Failed to change directory.
250 Directory successfully changed.
So, be cautious to set the ftp path .
Or the ftp client software developer can ignore the first "/" user input.