level2

2010. 1. 18. 15:17

level2@io:/levels$ ./level2
Append the 39th through 42nd numbers in the sequence as a string and feed it to this binary via argv[1]. 1, 2, 3, 5, 8, 13, 21...
The 4th through the 7th numbers would give you 581321


level2 를 실행했을때 위와 같은 메세지가 나옵니다. gdb로 붙으려고 해도 심볼테이블이 없다네요.  
구글에 1,2,3,5,8,13,21을 검색했더니 파보나치 수열이랍니다. 파보나치 수열에서 39번째에서
42번째를 붙여서 입력해보았습니다.


 
102334155 N : 39
 165580141 N : 40
 267914296 N : 41
 433494437 N : 42




level2@io:/levels$ ./level2 102334155165580141267914296433494437
Win.
sh-3.1$ id
uid=1002(level2) gid=1002(level2) euid=1003(level3) groups=1002(level2)

sh-3.1$ cd /home/level3
sh-3.1$ cat .pass
duf2dido      > okviql9o --> f9esfdy8T6Hd


'War game > io.smashthestack.org' 카테고리의 다른 글

io smashthestack level24  (0) 2014.02.09
level9  (0) 2010.01.21
level8  (0) 2010.01.21
level7  (0) 2010.01.19
level6  (0) 2010.01.19
level5  (8) 2010.01.19
level4  (8) 2010.01.18
level3  (0) 2010.01.18
level1  (0) 2010.01.18
level10  (1) 2009.05.04

badcob War game/io.smashthestack.org