We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cbd968 commit 4229ea3Copy full SHA for 4229ea3
Shellcode-Injectable-Project/shellcode.c
@@ -1,16 +0,0 @@
1
-#include<stdio.h>
2
-#include<string.h>
3
-
4
-char code[] ="\x31\xc0\x31\xdb\x31\xd2\x31\xc9\xb0\x04\xb3\x01\xb9\xa0\x90\x04\x08\xba\x1c\x00\x00\x00\xcd\x80\x31\xc0\xb0\x01\x31\xdb\xcd\x80";
5
6
-int main(int argc, char *argv[])
7
-{
8
- printf("Shellcode Length: %d\n", (int)strlen(code));
9
10
- int (*func)();
11
- func = (int (*)()) code;
12
- (int)(*func)();
13
14
- //int (*ret)() = (int(*)())code;
15
- //ret();
16
-}
0 commit comments