try compiling with the -static flag the gcc. then 'disassemble execve'.
-Anthony.
On Sat, Mar 06, 2004 at 02:26:51PM +, chungwei Hsiung wrote:
> Hello everyone
> Thanks for fellows' previous helps. I actually have a further question. I read an
> article that it says if I compile the follo
Hello everyone
Thanks for fellows' previous helps. I actually have a further question. I read an
article that it says if I compile the following program
#include
int main(){
char *name[2];
name[0] = "/bin/sh";
name[1] = NULL;
execve(name[0],name,NULL);
return 0;
}
by
gcc -o shellc
2 matches
Mail list logo