2012年11月12日

sprintf函数用法

摘要: CString a("狼爱上羊"); int b=a.Find("羊"); char c[2]; sprintf(c,"%d",b); //sprintf 把格式化的数据写入某个字符串 //int sprintf ( char * str, const char * format, ... ); // 函数原型: int spri... 阅读全文

posted @ 2012-11-12 22:47 狼爱上羊 阅读(163) 评论(0) 推荐(0) 编辑

openvpn问题大全

摘要: 在win7下用openvpn一直报这个错误,配置文件里的路由一直加不上,但是可以拔得上服务器,只好手工加路由。 Thu Apr 07 23:13:51 2011 Notified TAP-Win32 driver to set a DHCP IP/netmask of 192.168.0.4/255.255.255.0 on int... 阅读全文

posted @ 2012-11-12 22:46 狼爱上羊 阅读(460) 评论(0) 推荐(0) 编辑

rootkit start

摘要: FA Q : Where do I start? "Help! I'm a newbie! I need a rootkit to hack my friend's box… I want to write my own rootkit… I want to start exploiting code… Where d... 阅读全文

posted @ 2012-11-12 22:46 狼爱上羊 阅读(184) 评论(0) 推荐(0) 编辑

rundll32 回调函数

摘要: void CALLBACK RundllFuncExample(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow) { USES_CONVERSION; if (lpszCmdLine) { int nArgs = 0; // 这里用了shell api +_+ 关于这个函数请查看MSDN LPWSTR* szA... 阅读全文

posted @ 2012-11-12 22:45 狼爱上羊 阅读(203) 评论(0) 推荐(0) 编辑

A*最短路径算法的总结与心得——delphi实现

摘要: 笔记不能贴图,一天大遗憾!原理在这里讲不清楚了,好在网上有很多这多原理解讲,参看Patrick Lester先生的图文并茂的讲解,一定让你大开眼界,只是看完还是写不出好的源码。我是跟据Patrick Lester先生的C++源码改编过来的。其中有一段改的非常晦涩,完全是流氓改法,见谅! 看完Patrick Lester的文章和他的源码(C++)后... 阅读全文

posted @ 2012-11-12 22:45 狼爱上羊 阅读(4222) 评论(0) 推荐(0) 编辑

VS CRT C标准库函数strrev解析

摘要: char * t_strrev (char * string) { char *start = string; char *left = string; char ch; while (*string++) /*此时指针变量指向\0后面一个*/ ; string -= 2;//指针住前移,指向最后一个字符的指针 while (left < string) { ch = *lef... 阅读全文

posted @ 2012-11-12 22:44 狼爱上羊 阅读(362) 评论(0) 推荐(0) 编辑

2012年11月6日

VB ShellExecuteEx 打印文档

摘要: Private Declare Function ShellExecuteEx Lib "shell32.dll" (SEI As SHELLEXECUTEINFO) As Long Const SEE_MASK_INVOKEIDLIST = &HC Const SEE_MASK_NOCLOSEPROCESS = &H40 Const SEE_MASK_FLAG_NO_UI = &H40... 阅读全文

posted @ 2012-11-06 22:50 狼爱上羊 阅读(636) 评论(0) 推荐(0) 编辑

2012年10月18日

关于Android SDK 更新慢或者更新不了的问题

摘要: 修改C:\Windows\System32\drivers\etc目录下hosts文件,添加下面这一条 74.125.237.1 dl-ssl.google.com 如果还下载不了 去我的网盘下吧,所有的SDK都在 http://pan.baidu.com/share/link?shareid=96826&uk=1510226611 阅读全文

posted @ 2012-10-18 09:40 狼爱上羊 阅读(196) 评论(0) 推荐(0) 编辑

2012年8月21日

Tracing NT Kernel-Mode Calls

摘要: Tracing NT Kernel-Mode Calls April 01, 2000 URL:http://www.drdobbs.com/tracing-nt-kernel-mode-calls/184416246 Tracing tools can solve problems that normal interactive debuggers are not wel... 阅读全文

posted @ 2012-08-21 14:58 狼爱上羊 阅读(459) 评论(0) 推荐(0) 编辑

API Spying Techniques for Windows 9x, NT and 2000

摘要: API Spying Techniques for Windows 9x, NT and 2000 Yariv Kaplan ... 阅读全文

posted @ 2012-08-21 14:58 狼爱上羊 阅读(247) 评论(0) 推荐(0) 编辑

导航