Skip to content

Commit 1fd510a

Browse files
committed
fix x64 mode PE loader store EntryPoint by DWORD (uint32_t). should use uint64_t instead.
1 parent 00819ee commit 1fd510a

68 files changed

Lines changed: 98 additions & 68 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
-111 KB
Binary file not shown.

RunPE-In-Memory/Release/msgbox.exe

-73.5 KB
Binary file not shown.
-124 KB
Binary file not shown.
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
 RunPEinMemory.cpp
2-
c:\users\exploit\desktop\runpe-in-memory-master\runpe-in-memory\runpeinmemory\pebase.hpp(17): warning C4244: '引數': 將 'LONGLONG' 轉換為 'size_t',由於類型不同,可能導致資料遺失
3-
c:\users\exploit\desktop\runpe-in-memory-master\runpe-in-memory\runpeinmemory\pebase.hpp(18): warning C4244: '引數': 將 'LONGLONG' 轉換為 'size_t',由於類型不同,可能導致資料遺失
4-
c:\users\exploit\desktop\runpe-in-memory-master\runpe-in-memory\runpeinmemory\fixiat.hpp(37): error C3861: 'PRINTF': 找不到識別項
5-
c:\users\exploit\desktop\runpe-in-memory-master\runpe-in-memory\runpeinmemory\fixreloc.hpp(46): warning C4477: 'printf' : 格式字串 '%x' 需要 'unsigned int' 類型的引數,但 variadic 引數 1 的類型為 'DWORD *'
6-
c:\users\exploit\desktop\runpe-in-memory-master\runpe-in-memory\runpeinmemory\fixreloc.hpp(47): warning C4244: '=': 將 'ULONGLONG' 轉換為 'DWORD',由於類型不同,可能導致資料遺失
7-
c:\users\exploit\desktop\runpe-in-memory-master\runpe-in-memory\runpeinmemory\runpeinmemory.cpp(22): warning C4477: 'printf' : 格式字串 '%x' 需要 'unsigned int' 類型的引數,但 variadic 引數 1 的類型為 'LPVOID'
8-
c:\users\exploit\desktop\runpe-in-memory-master\runpe-in-memory\runpeinmemory\runpeinmemory.cpp(27): warning C4477: 'printf' : 格式字串 '%x' 需要 'unsigned int' 類型的引數,但 variadic 引數 1 的類型為 'LPVOID'
2+
c:\users\exploit\desktop\aptminikatz\[4] shellcode devloping & packer\runpe-in-memory-master\runpe-in-memory\runpeinmemory\pebase.hpp(17): warning C4244: '引數': 將 'LONGLONG' 轉換為 'size_t',由於類型不同,可能導致資料遺失
3+
c:\users\exploit\desktop\aptminikatz\[4] shellcode devloping & packer\runpe-in-memory-master\runpe-in-memory\runpeinmemory\pebase.hpp(18): warning C4244: '引數': 將 'LONGLONG' 轉換為 'size_t',由於類型不同,可能導致資料遺失
4+
c:\users\exploit\desktop\aptminikatz\[4] shellcode devloping & packer\runpe-in-memory-master\runpe-in-memory\runpeinmemory\fixreloc.hpp(46): warning C4477: 'printf' : 格式字串 '%x' 需要 'unsigned int' 類型的引數,但 variadic 引數 1 的類型為 'size_t *'
5+
c:\users\exploit\desktop\aptminikatz\[4] shellcode devloping & packer\runpe-in-memory-master\runpe-in-memory\runpeinmemory\fixreloc.hpp(47): warning C4244: '=': 將 'ULONGLONG' 轉換為 'size_t',由於類型不同,可能導致資料遺失
6+
c:\users\exploit\desktop\aptminikatz\[4] shellcode devloping & packer\runpe-in-memory-master\runpe-in-memory\runpeinmemory\runpeinmemory.cpp(22): warning C4477: 'printf' : 格式字串 '%x' 需要 'unsigned int' 類型的引數,但 variadic 引數 1 的類型為 'LPVOID'
7+
c:\users\exploit\desktop\aptminikatz\[4] shellcode devloping & packer\runpe-in-memory-master\runpe-in-memory\runpeinmemory\runpeinmemory.cpp(30): warning C4477: 'printf' : 格式字串 '%x' 需要 'unsigned int' 類型的引數,但 variadic 引數 1 的類型為 'LPVOID'
8+
c:\users\exploit\desktop\aptminikatz\[4] shellcode devloping & packer\runpe-in-memory-master\runpe-in-memory\runpeinmemory\runpeinmemory.cpp(67): warning C4715: 'peLoader': 不是所有控制路徑都傳回值
9+
RunPEinMemory.vcxproj -> C:\Users\exploit\Desktop\AptMinikatz\[4] Shellcode Devloping & Packer\RunPE-In-Memory-master\RunPE-In-Memory\Debug\RunPEinMemory.exe
70.2 KB
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.16299.0
2-
Debug|Win32|C:\Users\exploit\Desktop\RunPE-In-Memory-master\RunPE-In-Memory\|
2+
Debug|Win32|C:\Users\exploit\Desktop\AptMinikatz\[4] Shellcode Devloping & Packer\RunPE-In-Memory-master\RunPE-In-Memory\|

0 commit comments

Comments
 (0)