博客园  :: 联系 :: 管理

随笔分类 -  Hack

黑客编程,嘿嘿~~
摘要:【转自:小美的部落格 】嗯,直接看代码:CookieContainer cc=new CookieContainer();string url = “http://mailbeta.263.net/xmweb”;HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);request.Method = &... 阅读全文

posted @ 2010-01-13 10:37 独孤雁 阅读(4425) 评论(0) 推荐(0)

摘要:主要是通过引入win32.dll 调用win Api程序写得一个东东, 可以模拟鼠标移动、点击,和键盘输入 句柄的查找可以通过Spy++得到(今天才知道,惭愧啊) 示例程序 WinApi 手册 阅读全文

posted @ 2008-11-07 14:41 独孤雁 阅读(274) 评论(0) 推荐(0)

摘要:在 .net 框架程序中通过DllImport使用 Win32 API .net 框架程序可以通过静态 DLL 入口点的方式来访问本机代码库。DllImport 属性用于指定包含外部方法的实现的dll 位置。 DllImport 属性定义如下: namespace System.Runtime.InteropServices { [Attribute... 阅读全文

posted @ 2008-11-07 09:40 独孤雁 阅读(465) 评论(0) 推荐(1)