Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 1.3 KB

050-reversing-1.md

File metadata and controls

74 lines (56 loc) · 1.3 KB

50 - Reversing 1

Written by Michael Zhang

Problem

Looks like you need to find the password that is the flag from this binary.

/problems/reversing1

Hint

I bet the flag is stored as a string... how can we see all the strings in a binary?

Solution

login as: user37142
[email protected]'s password:

user37142@easyctf:~$ cd /problems/reversing1
user37142@easyctf:/problems/reversing1$ strings reversing1
/lib64/ld-linux-x86-64.so.2
CyIk
libstdc++.so.6
__gmon_start__
_Jv_RegisterClasses
_ITM_deregisterTMCloneTable
_ITM_registerTMCloneTable
__pthread_key_create
_ZNSsD1Ev
_ZNSt8ios_base4InitD1Ev
_ZNSsC1EPKcRKSaIcE
_ZNSaIcEC1Ev
_ZSt3cin
_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RSbIS4_S5_T1_E
_ZNKSs7compareERKSs
__gxx_personality_v0
_ZSt4cout
_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
_ZNSaIcED1Ev
_ZNSsC1Ev
_ZNSolsEPFRSoS_E
_ZNSt8ios_base4InitC1Ev
libgcc_s.so.1
_Unwind_Resume
libc.so.6
__cxa_atexit
__libc_start_main
GCC_3.0
GLIBC_2.2.5
CXXABI_1.3
GLIBCXX_3.4
[]A\A]A^A_
eeeeeeeeeeeeeEeesy_ctf
Enter the password to continue.
Yay, you got the right flag!
Darn, you didn't get the right flag.
;*3$"
zPLR

One of those strings looks really suspicious.

Flag

eeeeeeeeeeeeeEeesy_ctf