程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> C語言 >> 關於C語言 >> 遠程DLL注入

遠程DLL注入

編輯:關於C語言

界面如下:

關鍵部分代碼如下:

 

       
       iBufSize = WideCharToMultiByte(CP_ACP, , m_strPathName.GetBuffer(), -, NULL,       *pszBuffer =       WideCharToMultiByte(CP_ACP, , m_strPathName.GetBuffer(), -       pszBuffer =  
       
       iBufSize = WideCharToMultiByte(CP_ACP, , m_strPathName.GetBuffer(), -, NULL,       *pszBuffer =       WideCharToMultiByte(CP_ACP, , m_strPathName.GetBuffer(), -       pszBuffer =  
  CInjectDllDlg::InjectDll(DWORD dwPid, *       (dwPid ==  || strlen(szDllName) ==             
      *pFunName =      HANDLE hProcess =      (NULL ==            
      iDllLen = strlen(szDllName) + (     PVOID pDllAddr =      (NULL ==             
     DWORD dwWriteNum =      WriteProcessMemory(hProcess, pDllAddr, szDllName, iDllLen, &     FARPROC pFunAddr = GetProcAddress(GetModuleHandleA(     HANDLE hThread = CreateRemoteThread(hProcess, NULL, , (LPTHREAD_START_ROUTINE)pFunAddr, pDllAddr,   
    
  CInjectDllDlg::UnInjectDll(DWORD dwPid, *      HANDLE hSnap =     MODULEENTRY32 Me32 = {     Me32.dwSize =  
     BOOL bRet = Module32First(hSnap, &                iBufSize = WideCharToMultiByte(CP_ACP, , Me32.szExePath, -, NULL,           *pszBuffer =           WideCharToMultiByte(CP_ACP, , Me32.szExePath, -          (strcmp(pszBuffer, szDllName) ==                pszBuffer =                        pszBuffer =         bRet = Module32Next(hSnap, &        *pFunName =  
     HANDLE hProcess =     FARPROC pFunAddr = GetProcAddress(GetModuleHandleA(     HANDLE hThread = CreateRemoteThread(hProcess, NULL, , (LPTHREAD_START_ROUTINE)pFunAddr, Me32.hModule,   
   }

下載地址:

http://pan.baidu.com/s/1xk7Jw

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved