File tree Expand file tree Collapse file tree 3 files changed +31
-15
lines changed
Expand file tree Collapse file tree 3 files changed +31
-15
lines changed Original file line number Diff line number Diff line change @@ -133,9 +133,9 @@ int wmain(int argc, wchar_t* argv[]) {
133133 // 检查参数数量
134134 if (argc < 2 ) {
135135 printf (" [-] Error: Missing DLL/EXE path parameter\n " );
136- printf (" [*] Usage: Convert2Shellcode_post .exe <DLL/EXE Path> [Output File Path]\n " );
137- printf (" [*] Example 1: Convert2Shellcode_post .exe C:\\ path\\ to\\ Test.dll\n " );
138- printf (" [*] Example 2: Convert2Shellcode_post .exe C:\\ path\\ to\\ ReflectiveDLL.dll C:\\ path\\ to\\ Shellcode.bin\n " );
136+ printf (" [*] Usage: Convert2Shellcode_front .exe <DLL/EXE Path> [Output File Path]\n " );
137+ printf (" [*] Example 1: Convert2Shellcode_front .exe C:\\ path\\ to\\ Test.dll\n " );
138+ printf (" [*] Example 2: Convert2Shellcode_front .exe C:\\ path\\ to\\ ReflectiveDLL.dll C:\\ path\\ to\\ Shellcode.bin\n " );
139139 return 1 ;
140140 }
141141
Original file line number Diff line number Diff line change 5353
5454Example
5555```
56- PS C:\Users\xxxxxxxxxx\Desktop\Conver2Shellcode\bin> .\Convert2Shellcode_front.exe mimikatz.exe
57- [+] Successfully opened m
58- [*] File size is 1355264
59- [+] Memory allocation successful, address is 0xc6759040
60- [*] 1355264 bytes read into memory
61- [+] Memory allocation successful, address is 0xc68ba040
56+ PS C:\Users\Xxxxxxxx\Desktop\Convert2Shellcode_v1.0> .\Convert2Shellcode_front.exe .\mimikatz.exe
57+ ╔══════════════════════════════════════════════════════════════════════════════════════╗
58+ ║ Convert2Shellcode_front ║
59+ ║------------------------------------------------------------------------------------- ║
60+ ║ Function: Use front-style RDI to convert EXE/DLL into position-independent shellcode ║
61+ ║ Author:oneday ║
62+ ║ Compilation Date:Jun 12 2025 21:29:52 ║
63+ ╚══════════════════════════════════════════════════════════════════════════════════════╝
64+
65+ [+] Successfully opened .
66+ [*] File size is 1355264
67+ [+] Memory allocation successful, address is 0x4bc9b040
68+ [*] 1355264 bytes read into memory
69+ [+] Memory allocation successful, address is 0x4bdf9040
6270[+] Successfully generated shellcode file: s (Size: 1356147 bytes)
6371```
6472
Original file line number Diff line number Diff line change 5353
5454例子
5555```
56- PS C:\Users\xxxxxxxxxx\Desktop\Conver2Shellcode\bin> .\Convert2Shellcode_front.exe mimikatz.exe
57- [+] Successfully opened m
58- [*] File size is 1355264
59- [+] Memory allocation successful, address is 0xc6759040
60- [*] 1355264 bytes read into memory
61- [+] Memory allocation successful, address is 0xc68ba040
56+ PS C:\Users\Xxxxxxxx\Desktop\Convert2Shellcode_v1.0> .\Convert2Shellcode_front.exe .\mimikatz.exe
57+ ╔══════════════════════════════════════════════════════════════════════════════════════╗
58+ ║ Convert2Shellcode_front ║
59+ ║------------------------------------------------------------------------------------- ║
60+ ║ Function: Use front-style RDI to convert EXE/DLL into position-independent shellcode ║
61+ ║ Author:oneday ║
62+ ║ Compilation Date:Jun 12 2025 21:29:52 ║
63+ ╚══════════════════════════════════════════════════════════════════════════════════════╝
64+
65+ [+] Successfully opened .
66+ [*] File size is 1355264
67+ [+] Memory allocation successful, address is 0x4bc9b040
68+ [*] 1355264 bytes read into memory
69+ [+] Memory allocation successful, address is 0x4bdf9040
6270[+] Successfully generated shellcode file: s (Size: 1356147 bytes)
6371```
6472
You can’t perform that action at this time.
0 commit comments