728x90
๋ฐ์ํ
#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 |
๋๊ธ