摘要: 基于IPV4的TCP端口转发工具阅读全文
posted @ 2012-03-27 08:55 阿牛 阅读(22) 评论(0) 编辑
摘要: javascript string.format //使用方法 alert("name:{0}, sex:{1}".format("sss", "''(){'")); alert("{0}, sex:{1}".format("sss", "''(){'"));阅读全文
posted @ 2012-03-27 08:52 阿牛 阅读(8) 评论(0) 编辑

C:\Users\workman>pathping www.baidu.com

通过最多 30 个跃点跟踪
到 www.a.shifen.com [61.135.169.125] 的路由:
0 workman-PC [192.168.0.100]
1 bogon [192.168.0.1]
2 110.240.90.1
3 221.192.14.166
4 221.192.12.85
5 61.182.172.137
6 218.12.255.210
7 202.99.160.61
8 219.158.8.149
9 124.65.194.18
10 61.148.155.226
11 202.106.43.30
12 * * *
正在计算统计信息,已耗时 275 秒...
指向此处的源 此节点/链接
跃点 RTT 已丢失/已发送 = Pct 已丢失/已发送 = Pct 地址
0 workman-PC [192.168.0.100]
0/ 100 = 0% |
1 3ms 0/ 100 = 0% 0/ 100 = 0% bogon [192.168.0.1]
0/ 100 = 0% |
2 4ms 1/ 100 = 1% 1/ 100 = 1% 110.240.90.1
0/ 100 = 0% |
3 6ms 1/ 100 = 1% 1/ 100 = 1% 221.192.14.166
0/ 100 = 0% |
4 6ms 0/ 100 = 0% 0/ 100 = 0% 221.192.12.85
0/ 100 = 0% |
5 19ms 0/ 100 = 0% 0/ 100 = 0% 61.182.172.137
2/ 100 = 2% |
6 12ms 2/ 100 = 2% 0/ 100 = 0% 218.12.255.210
0/ 100 = 0% |
7 28ms 4/ 100 = 4% 2/ 100 = 2% 202.99.160.61
0/ 100 = 0% |
8 24ms 5/ 100 = 5% 3/ 100 = 3% 219.158.8.149
0/ 100 = 0% |
9 21ms 2/ 100 = 2% 0/ 100 = 0% 124.65.194.18
98/ 100 = 98% |
10 --- 100/ 100 =100% 0/ 100 = 0% 61.148.155.226
0/ 100 = 0% |
11 --- 100/ 100 =100% 0/ 100 = 0% 202.106.43.30

跟踪完成。

C:\Users\workman>ping 61.148.155.226

正在 Ping 61.148.155.226 具有 32 字节的数据:
请求超时。

61.148.155.226 的 Ping 统计信息:
数据包: 已发送 = 1,已接收 = 0,丢失 = 1 (100% 丢失),
Control-C
^C
C:\Users\workman>ping www.baidu.com

正在 Ping www.a.shifen.com [61.135.169.105] 具有 32 字节的数据:
请求超时。
请求超时。
来自 61.135.169.105 的回复: 字节=32 时间=51ms TTL=51
来自 61.135.169.105 的回复: 字节=32 时间=73ms TTL=51

61.135.169.105 的 Ping 统计信息:
数据包: 已发送 = 4,已接收 = 2,丢失 = 2 (50% 丢失),
往返行程的估计时间(以毫秒为单位):
最短 = 51ms,最长 = 73ms,平均 = 62ms

C:\Users\workman>

posted @ 2012-03-04 23:45 阿牛 阅读(15) 评论(0) 编辑
摘要: 调试UDP包交互时,在网上没有找到一个好的端口转发工具。便自己实现了一个UDP端口转发器。 .net 4.0阅读全文
posted @ 2011-12-26 09:32 阿牛 阅读(23) 评论(0) 编辑
摘要: 360浏览器本身就是流氓广告软件阅读全文
posted @ 2011-10-12 22:50 阿牛 阅读(59) 评论(0) 编辑
摘要: 这两天访问网页,总是时不时有广告,排除计算机中毒可能性后,怀疑是DNS被劫持了。。于是打开Fiddler。然后继续上网, 在一次打开http://www.baidu.com时,网页右下角弹出广告,于是马上打开Fiddler,查看HTTP通讯阅读全文
posted @ 2011-10-10 22:42 阿牛 阅读(124) 评论(1) 编辑
摘要: // Test.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <memory>#include <iostream>#include <stack>#include <queue>using namespace std;#pragma once#include <memory>#include <iostream>#include <stack>using namespace std;template <class T> cl阅读全文
posted @ 2011-05-28 15:45 阿牛 阅读(43) 评论(0) 编辑
摘要: 转自:http://hi.baidu.com/trstones/blog/item/7fca145426436c57d0090663.htmljava环境下将word转换为html目前没有很简单的方法。使用openOffice实现应该算是“矬子里面拔大个”。1,首先下载openOffice。这是个第三方开源的项目,专门用于在java环境中进行类似word文档编写(要是连个word编辑都做不出来,那java在外行心目中地位就蹭蹭地下去了)。我下载的是OpenOffice.org 3.2版本。2,下载后安装。通过cmd进入“安装目录\OpenOffice.org 3\program”文件夹下。运行阅读全文
posted @ 2011-01-18 20:06 阿牛 阅读(452) 评论(0) 编辑
摘要: 真是太郁闷了, 郁闷了我多半天。事情从以前写的自定义函数讲起:今天我要在OleDbCommand 中,执行SQL语句:(其实实际比这个复杂,还有参数一类的)结果报错:System.ArgumentException: 十进制字节数组构造函数需要一个包含有效的十进制字节且长度为 4 的数组。因为原来有参数,还曾报过: System.Data.OleDb.OleDbException: 存取器不是参...阅读全文
posted @ 2010-10-20 11:51 阿牛 阅读(129) 评论(0) 编辑
摘要: http://files.cnblogs.com/evlon/webbrowser.7z阅读全文
posted @ 2010-07-13 16:21 阿牛 阅读(186) 评论(0) 编辑