pwnable.kr leg1 [Toddler's Bottle] pwnable.kr leg 풀이 12345678910111213141516171819202122232425262728293031323334353637#include #include int key1() { asm("mov r3, pc\n");}int key2() { asm( "push {r6}\n" "add r6, pc, $1\n" "bx r6\n" ".code 16\n" "mov r3, pc\n" "add r3, $0x4\n" "push {r3}\n" "pop {pc}\n" ".code 32\n" "pop {r6}\n" );}int key3() { asm("mov r3, lr\n");}int main() { int key=0; printf("Daddy has very strong arm! : "); scanf("%d", &key); i.. 2017. 9. 15. 이전 1 다음