Skip to content

Commit f956d72

Browse files
authored
Update README.md
1 parent c4df773 commit f956d72

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,30 @@ Use recursive clone to get the repo together with all the submodules:
1111
<pre>
1212
git clone --recursive https://github.com/hasherezade/pe_to_shellcode.git
1313
</pre>
14+
15+
How to use it:
16+
-
17+
1. Use pe2shc.exe to convert a PE of your choice:
18+
```
19+
pe2shc.exe <path to your PE> [output path*]
20+
* - optional
21+
```
22+
If the PE was successfuly converted, pe2shc will let you know where the output was saved:
23+
```
24+
[+] Saved to file: <converted file>
25+
```
26+
i.e.
27+
```
28+
[+] Saved to file: test_file.shc.exe
29+
```
30+
2. Use runshc.exe to run the output file and check if the conversion went fine:
31+
```
32+
runshc.exe <converted file>
33+
```
34+
3. If the file runs as the original PE, it confirms that the conversion was successful!<br/>
35+
Now you can use the converted PE just like you would use a shellcode: inject it to a target and execute from the beginning of the buffer. No additional PE loaders are required.<br/>
36+
At the same time, you can keep using the converted file as a regular PE.
37+
1438
Latest builds*:
1539
-
1640
*those builds are available for testing and they may be ahead of the official release:

0 commit comments

Comments
 (0)