[ create a new paste ] login | about

Link: http://codepad.org/XvqKijeG    [ raw code | fork ]

C, pasted on Dec 8:
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>

typedef int(*MAIN)();
MAIN expoilt;

int main()
{
    expoilt=main;
    asm("mov $_expoilt,%edx");
    asm("sysenter");
    return 0;
}


Create a new paste based on this one


Comments: