|
|
1 #include <stdio.h>
2
3 int main() {
4 char *name[2];
5
6 name[0] = "/bin/sh";
7 name[1] = NULL;
8 execve(name[0], name, NULL);
9 }
Source Code: Src/7_1/shellCode.c
gcc -o shellCode shellCode.c spiegel.cs.rit.edu 7_1 153 shellCode sh-2.05b$ exit exit
|
|
Created by
unroff,
java2html &
& hp-tools.
© by hpb. All Rights Reserved (2012).
It is not allowed to print these pages on a CAST printer.
Last modified: 22/February/12 (13:17)