ํฌ์ŠคํŒ… ์ธ๋„ค์ผ ์ด๋ฏธ์ง€

War Games/pwnable.kr

[pwnable.kr] leg(2 pts) :: Write-Up

Daddy told me I should study arm. But I prefer to study my leg! Download : http://pwnable.kr/bin/leg.c Download : http://pwnable.kr/bin/leg.asm ssh leg@pwnable.kr -p2222 (pw:guest) ์šฐ์„  c์ฝ”๋“œ๋ฅผ ๋ด…์‹œ๋‹ค. #include #include int key1(){ asm("mov r3, pc\n"); } int key2(){ asm( "push{r6}\n" "addr6, pc, $1\n" "bxr6\n" ".code 16\n" "movr3, pc\n" "addr3, $0x4\n" "push{r3}\n" "pop{pc}\n" ".code32\n" "pop{r6}\n" );..

2020.07.06 ๊ฒŒ์‹œ๋จ

 ํฌ์ŠคํŒ… ์ธ๋„ค์ผ ์ด๋ฏธ์ง€

War Games/pwnable.kr

[pwnable.kr] fd(1 pt) :: Write-Up

Mommy! what is a file descriptor in Linux? - try to play the wargame your self but if you are ABSOLUTE beginner, follow this tutorial link: https://youtu.be/971eZhMHQQw ssh fd@pwnable.kr -p2222 (pw:guest) fd@prowl:~$ ls fd fd.c flag fd@prowl:~$ cat flag cat: flag: Permission denied fd, fd.c, flagํŒŒ์ผ์ด ์žˆ๋„ค์š”. ๋ณด์•„ํ•˜๋‹ˆ flagํŒŒ์ผ์ด ์žˆ๋Š”๋ฐ ๋‹น์—ฐํžˆ๋„ ๊ถŒํ•œ์ด ์—†๊ตฌ์š”. ๊ทธ๋ž˜์„œ fd.cํŒŒ์ผ์„ ์—ด์–ด๋ณด์•˜์Šต๋‹ˆ๋‹ค. fd@prowl:~$ nl fd.c 1 #include 2 #includ..

2019.11.08 ๊ฒŒ์‹œ๋จ