Skip to content

Commit 8117049

Browse files
committed
应该没有需要再改的了?
1 parent 21d6a86 commit 8117049

File tree

3 files changed

+31
-15
lines changed

3 files changed

+31
-15
lines changed

Convert2Shellcode/Convert2Shellcode_front.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,20 @@ Test
5353

5454
Example
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

README_zh.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,20 @@ Test
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

0 commit comments

Comments
 (0)