Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool DebugProtection::IsDebugger()
- {
- std::vector<std::string> m_processList;
- m_processList.push_back("ollydbg.exe");
- m_processList.push_back("wireshark.exe");
- m_processList.push_back("lordpe.exe");
- m_processList.push_back("hookshark.exe");
- m_processList.push_back("idag.exe");
- m_processList.push_back("MPGH Virus Scan Tool v6.exe");
- for (unsigned int ax = 0; ax < m_processList.size(); ax++)
- {
- std::string sProcess = m_processList.at(ax);
- if (GetProcessIdByName(sProcess.c_str()) != 0)
- {
- return true;
- }
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement