ProcessFake/FakeProcess/FakeProcessDll/FakeProcessDll.c

29 lines
516 B
C
Raw Normal View History

2022-04-14 13:56:58 +00:00
// FakeProcessDll.cpp : <20><><EFBFBD><EFBFBD> DLL Ӧ<>ó<EFBFBD><C3B3><EFBFBD><EFBFBD>ĵ<EFBFBD><C4B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
//
#include "stdafx.h"
#include "MyFake.h"
/*
ע<EFBFBD>ʹ<EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><EFBFBD>
C++ -> Ԥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ -> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ
*/
void Fake(DWORD dwPID, TCHAR *lpszPath, TCHAR *lpszCmd)
{
if (0 == dwPID)
{
// FakeCurrentProcess(lpszPath, lpszCmd);
FakeOtherProcess(GetCurrentProcessId(), lpszPath, lpszCmd);
}
else if (0 < dwPID)
{
FakeOtherProcess(dwPID, lpszPath, lpszCmd);
}
}
/*
ע<EFBFBD>ʹ<EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><EFBFBD>
C++ -> Ԥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ -> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ
*/