Hack4S3cur1ty
[Seccon Beginners 2018][Rev] Simple Auth 본문
바이너리를 까보면 간단한 연산을 하는데 angr로 풀면 슥삭이다.
1 2 3 4 5 6 7 8 9 10 11 | import angr def main(): p = angr.Project("simple_auth", load_options={'auto_load_libs': False}) ex = p.surveyors.Explorer(find=(0x4007DF, ), avoid=(0x400801,)) ex.run() return ex.found[0].state.posix.dumps(0).strip('\0\n') if __name__ == '__main__': print main() | cs |
'CTFs > 2018' 카테고리의 다른 글
[Seccon Beginners 2018][Pwn] condition (0) | 2018.05.28 |
---|---|
[Seccon Beginners 2018][MISC] てけいさんえくすとりーむず (0) | 2018.05.28 |
[Seccon Beginners 2018][Crypto] RSA is Power (0) | 2018.05.28 |
[Seccon Beginners 2018][Rev] crackme (0) | 2018.05.28 |
[Seccon Beginners 2018][Rev] Activation (0) | 2018.05.28 |
Comments