开发者

ping a port with specific packet /my own packet

开发者 https://www.devze.com 2023-03-27 18:08 出处:网络
Is there a way to ping a specific port with my own packetsize ? Can I create 开发者_如何学Pythonmy own packets lets say using a packet builder and send them without a MAC address of the receiving mac

Is there a way to ping a specific port with my own packetsize ? Can I create 开发者_如何学Pythonmy own packets lets say using a packet builder and send them without a MAC address of the receiving machine ?


1) Ping is simply a specific type of ICMP Message. ICMP Messages sit directly on top of IP and thus there's no concept of a port, since that's introduced by TCP.

2) You must specify a MAC Address in all your packets. It can be the one of the device you're trying to ping.

0

精彩评论

暂无评论...
验证码 换一张
取 消