readme
来自「示范了Unix和Linux下如何利用Raw Socket构造伪装的TCP、IP、」· 代码 · 共 33 行
TXT
33 行
RAW sockets example code ------------------------ The code included will hopefully act as a guide to those wanting to useraw sockets. Use one of the makefiles to compile on your system.The following operating systems are supported:Makefile.bsd4 BSD4.4 Derived Systems: (OpenBSD 2.1 needs to tweak this since they dont need a bug workaround other BSD systems do).Makefile.sco SCO Openserver 5.0Makefile.sol Solaris 2.4/2.5 (Solaris 2.6 may not need a bug workaround used in it).Makefile.linux Linux 2.0.29Three binaries should be created:tcp : Basically sends out an empty TCP packet with the FIN flag set.udp : Sends out a udp packet with zeroed out data, of 12 bytes.ipicmp : Sends out an ICMP echo request. Without any time information on it.If anyone has bug fixes, additional ports, please send me the patches. Ilike keeping seperate makefiles for each operating system, so if you can,just roll one up with your port.Thamer Al-Herbish <shadows@whitefang.com>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?