工具截图
工具下载
工具代码开源
#include <iostream>
#include <string>
#include <windows.h>
void loadDLL(const std::string& dllPath) {
HMODULE hModule = LoadLibraryA(dllPath.c_str());
if (hModule != NULL) {
std::cout << "DLL加载成功: " << dllPath << std::endl;
// 可以在这里添加进一步的操作,比如获取函数地址等
std::cout << "现在你可以打开dbg分析了~" << std::endl;
getchar();
getchar();
}
else {
std::cerr << "DLL加载失败: " << dllPath << std::endl;
std::cerr << "错误代码: " << GetLastError() << std::endl;
std::cerr << "请检查DLL文件路径是否正确,并确保DLL文件存在。" << std::endl;
}
}
int main() {
SetConsoleTitleA("Small Tools Of Dlls Ver1.0 www.52xuejishu.com WeChat:i-xiaodi");
std::string toolName = "DLL文件加载器";
std::string description = "本工具旨在提供一个高效、可靠的DLL文件加载解决方案,支持动态加载和管理DLL文件,适用于各类软件开发和系统集成场景。";
std::cout << "=====================================================" << std::endl;
std::cout << " " << toolName << " " << std::endl;
std::cout << "=====================================================" << std::endl;
std::cout << std::endl;
std::cout << "功能简介:" << std::endl;
std::cout << description << std::endl;
std::cout << std::endl;
std::cout << "主要特点:" << std::endl;
std::cout << "高效的DLL文件加载与管理" << std::endl;
std::cout << "支持x86、x64平台" << std::endl;
std::cout << "适合dll的逆向分析" << std::endl;
std::cout << "=====================================================" << std::endl;
std::string dllPath;
std::cout << "请输入DLL文件的路径: ";
std::getline(std::cin, dllPath);
loadDLL(dllPath);
getchar();
return 0;
}