`
malixxx
  • 浏览: 101070 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
由于本人很菜,这个代码是改别人的.呵呵.可以在公司的局域网里搞搞坏,呵呵. 我是在ubuntu8.04下的,需要gcc编译. #include   <stdlib.h> #include   <netdb.h> #include   <sys/socket.h> #include   <sys/types.h> #include   <stdio.h> #include   <errno.h> #include   <sys/ioctl.h> #include   <net/if.h> #in ...
由于本人很菜,这个代码是改别人的.呵呵.可以在公司的局域网里搞搞坏,呵呵. 我是在ubuntu8.04下的,需要gcc编译. 修改了一些,加添了广播,可发给255,我感觉会把局域网弄乱的  呵呵. #include <stdio.h> #include <sys/socket.h> #include <unistd.h> #include <netinet/ip.h> #include <netinet/ip_icmp.h> #include <stdlib.h> #include<netinet/in.h> ...
由于本人很菜,这个代码是改别人的.呵呵.可以在公司的局域网里搞搞坏,呵呵. 我是在ubuntu8.04下的,需要gcc编译. 修改了,加了广播设置.  向写一个线程的,感觉跑起来好像不太对. #include <stdio.h> #include <sys/socket.h> #include <unistd.h> #include <netinet/ip.h> //ip #include <netinet/tcp.h> //tcp #include <stdlib.h> #include <netinet/in. ...
由于本人很菜,这个代码是改别人的.呵呵.可以在公司的局域网里搞搞坏,呵呵. 我是在ubuntu8.04下的,需要gcc编译. 这个也添加了广播,整个网段的人都能收到了 #include <stdio.h> #include <sys/socket.h> #include <unistd.h> #include <netinet/ip.h> //ip #include <netinet/udp.h> //tcp #include <stdlib.h> #include<netinet/in.h> unsign ...
简单的嗅探  收藏 由于本人很菜,这个代码是改别人的.呵呵.可以在公司的局域网里搞搞坏,呵呵. 我是在ubuntu8.04下的,需要gcc编译. #include <string.h> #include <ctype.h> #include <stdio.h> #include <netdb.h> #include <sys/file.h> #include <sys/time.h> #include <sys/socket.h> #include <sys/ioctl.h> #include & ...
用jetty写了一个小程序,主要是解决局域网内很多人不能上网的问题.我的想法是通过一台可以上网的主机,启动这个服务.其他人访问他就可以浏览网页.写的很糙.不过能跑,有的页面还是有问题. 思路: 浏览器   -->    jetty服务,httpclient(这里的url写死的 http://www.google.cn/search?q= 查询内容)   -->   google 浏览器   <--    这里有流操作,把一些url替换掉                                                    <--   google ...
JDK自带的native2ascii工具完全揭密 背景:在做Java开发的时候,常常会出现一些乱码,或者无法正确识别或读取的文件,比如常见的validator验证用的消息资源(properties)文件就需要进行Unicode重新编码。原因是java默认的编码方式为Un ...
反病毒 http://www.clamav.net/ 反垃圾 http://spamassassin.apache.org/ private int timeout = 40000; private static int buffsize = 1024; // ----------------------------------------------------- private String spamIp; private String clamIp; private int spamPost; private int clamPost; // ----- ...
//接收gmail邮件 public void receiveGmail() throws MessagingException, UnsupportedEncodingException { Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider()); final String SSL_FACTORY = "javax.net.ssl.SSLSocketFactory"; // Get a Properties object Properties props = System.getP ...
SMTP 命令 SMTP 命令包括: HELO 向服务器标识用户身份。发送者能欺骗,说谎,但一般情况下服务器都能检测到。 EHLO 向服务器标识用户身份。发送者能欺骗,说谎,但一般情况下服务器都能检测到。 MAIL FROM 命令中指定的地址是发件人地址 RCPT TO 标识单个的邮件接收人;可有多个 RCPT TO;常在 MAIL 命令后面。 DATA 在单个或多个 RCPT 命令后,表示所有的邮件接收人已标识,并初始化数据传输,以 CRLF.CRLF 结束 VRFY 用于验证指定的用户/邮箱是否存在;由于安全方面的原因,服务器常禁止此命令 EXPN 验证给定的邮箱列表是否存在,扩充邮箱列表, ...
Global site tag (gtag.js) - Google Analytics