Send SYN packet in C#?
I am wondering whether it is even possible or I cannot do such a raw socket manipulation? If开发者_StackOverflow社区 so, how can I try it? I am not trying to do this old DoS attack, just curious how to send it thru C#. Thanks
You should be able to do this by creating a socket using SocketType.Raw
and ProtocolType.IP
options.
Then you can write the bytes that form the SYN packet to the socket.
精彩评论