mirror of
https://github.com/aljazceru/securedorg.github.io.git
synced 2025-12-19 15:14:18 +01:00
Update re102_section4.3.md
This commit is contained in:
@@ -31,21 +31,17 @@ There are many tools and scripts available that help you convert shellcode into
|
||||
[http://www.godevtool.com/Golink.zip](http://www.godevtool.com/Golink.zip)
|
||||
4. Extract golink.exe
|
||||
5. Create a **decrypted_shellcode.asm** file with the following instructions
|
||||
|
||||
```
|
||||
Global Start
|
||||
SECTION 'AyyLmao' write, execute,read
|
||||
Start:
|
||||
incbin "decrypted_shellcode.bin"
|
||||
```
|
||||
6.From a command line run the following command to assemble the code:
|
||||
|
||||
6. From a command line run the following command to assemble the code:
|
||||
```
|
||||
yasm.exe -f win32 -o decrypted_shellcode.obj decrypted_shellcode.asm
|
||||
```
|
||||
|
||||
7. Now run the linker
|
||||
|
||||
```
|
||||
golink /ni /entry Start decrypted_shellcode.obj
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user