تقييم الموضوع :
  • 1 أصوات - بمعدل 1
  • 1
  • 2
  • 3
  • 4
  • 5
هل يمكن تغير هذا الكود الى vb.net or C#!
#4
كود :
Private K32EnumAddr As UInteger = CUInt(GetProcAddress(LoadLibraryA("Kernel32.dll"),"K32EnumProcesses"))
   'DWORD EnumAddr = (DWORD)GetProcAddress(LoadLibraryA("Psapi.dll"),"EnumProcesses");
   Private old As UInteger
'C++ TO VB CONVERTER TODO TASK: The following statement was not recognized, possibly due to an unrecognized macro:
'C++ TO VB CONVERTER TODO TASK: There is no VB equivalent to 'sizeof':
   VirtualProtect((Object*)K32EnumAddr,sizeof(K32EnumAddr),PAGE_EXECUTE_READWRITE,&old)
   'VirtualProtect((LPVOID)EnumAddr,sizeof(EnumAddr),PAGE_EXECUTE_READWRITE,&old);
'C++ TO VB CONVERTER TODO TASK: The following statement was not recognized, possibly due to an unrecognized macro:
   memcpy((Object*)K32EnumAddr,(Object*)ChrW(&HC2).ToString() & ChrW(&H0C).ToString() & ChrW(&H00).ToString(),3)
   'memcpy((LPVOID)EnumAddr,(LPVOID)"\xC2\x0C\x00",3);
    Private As Return 0
}

'C++ TO VB CONVERTER WARNING: The original C++ declaration of the following method implementation was not found:
'ORIGINAL LINE: Integer BYPASS::Driver64()

Partial Public Class BYPASS
    Public Function Driver64() As Integer
    
    'C++ TO VB CONVERTER TODO TASK: The memory management function 'wmemcpy' has no equivalent in VB:
       wmemcpy(CStr(&H405D0C24), CStr("X6va01"), 6)
       Return 0
    End Function
الرد }}}
تم الشكر بواسطة: محمد.احمد


الردود في هذا الموضوع
RE: هل يمكن تغير هذا الكود الى vb.net or C#! - بواسطة amgadtamer - 13-03-14, 12:09 AM


التنقل السريع :


يقوم بقرائة الموضوع: