摘要: using System; using System.IO; using System.Net; using System.Text; using System.Collections.Generic; using System.Text.RegularExpressions; namespace scan { public class zzHttp { private const string sContentType = "application/x-www-form-urlencoded"; private const string sU... 阅读全文
posted @ 2013-09-23 12:39 小竹zz 阅读(461) 评论(0) 推荐(0) 编辑
摘要: using System.IO; using System.Drawing; using System.Drawing.Imaging; using System; namespace Bll { /// /// 图片处理类 /// 1、生成缩略图片或按照比例改变图片的大小和画质 /// 2、将生成的缩略图放到指定的目录下 /// public class ImageHepler { public Image ResourceImage, ReducedImage; private int ImageW... 阅读全文
posted @ 2013-09-23 12:26 小竹zz 阅读(303) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace 图片识别 { public partial class Form1 : Form { public ... 阅读全文
posted @ 2013-09-23 12:24 小竹zz 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 加密类using System; using System.Collections.Generic; using System.Linq; using System.Text; using DAL; namespace 加密算法 { class Program { static void Main(string[] args) { while(true) { Console.Write("请输入加密字符串"); string s = Console.... 阅读全文
posted @ 2013-09-23 12:17 小竹zz 阅读(910) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Text; namespace 暴力算法 { class Program { static void Main(string[] args) { int maxLength = 5; //设置可能最长的密码长度 Password.CrackPass(maxLength); } } class Password { ... 阅读全文
posted @ 2013-09-23 12:15 小竹zz 阅读(486) 评论(0) 推荐(0) 编辑
摘要: #include #define maxSize 100 typedef struct { int data[maxSize]; int length; }Sqlist; void initSqlist(Sqlist &L) { L.length=0; } void ListInsert(Sqlist &L,int locate,int x) { if(L.length==maxSize||locateL.length+1) return; //把locate和后面的往后移动 for(int i=L.length;i>locate;i--) L.data[i+1]=L.. 阅读全文
posted @ 2013-09-23 12:13 小竹zz 阅读(226) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Tool { /// /// UDP数据包分割器 /// public static class UdpPacketSplitter { /// /// 分割UDP数据包 /// /// UDP数据包所持有的序号 ... 阅读全文
posted @ 2013-09-23 12:07 小竹zz 阅读(807) 评论(0) 推荐(0) 编辑