diff options
author | FreeArtMan <dos21h@gmail.com> | 2023-02-04 14:10:26 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2023-02-04 14:10:26 +0000 |
commit | 380f0fe40b1ab20790e75dac779e73667cc5ac72 (patch) | |
tree | 9fa3b9c93b58c966daa22f955282bc3c181d909a /md/writeup/linux_shellcode.md | |
parent | df881efab146ca3ee61bf8936f948dd976fc4740 (diff) | |
download | md-content-380f0fe40b1ab20790e75dac779e73667cc5ac72.tar.gz md-content-380f0fe40b1ab20790e75dac779e73667cc5ac72.zip |
Update all content to new pygmentize
Diffstat (limited to 'md/writeup/linux_shellcode.md')
-rw-r--r-- | md/writeup/linux_shellcode.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/md/writeup/linux_shellcode.md b/md/writeup/linux_shellcode.md index 083a817..ee582f0 100644 --- a/md/writeup/linux_shellcode.md +++ b/md/writeup/linux_shellcode.md @@ -13,12 +13,12 @@ xor ebx, ebx int 80h ``` -``` +```sh fasm code.asm code.bin ``` bin2hex output: -``` +```text \x31\xc0\x40\x31\xdb\xcd\x80 ``` @@ -34,11 +34,11 @@ int main() printf("Nope it not working\n"); } ``` -``` +```sh gcc main.c -o main ``` run -``` +```sh ./main ``` nothing happens. That exactly that code do exits from programm |