#include <stdio.h>
#include <stdlib.h>
int main(int argc,char *argv[]) {
long shell;
shell = 시스템 주소;
while(memcmp((void*)shell,("/bin/sh"),8)) shell++;
printf("%p\n",shell);
}
728x90
'Security Study > System' 카테고리의 다른 글
| C언어의 메모리 구조 (0) | 2015.09.21 |
|---|---|
| race condition(경쟁 조건)attack (0) | 2015.09.17 |
| system 2 (0) | 2015.09.13 |
| system 1일차 (0) | 2015.09.12 |
| system shellcode (0) | 2015.09.10 |