====== ANSSI ECSC ~~ Challenges reverse ~~ ybab ====== [[anssi-ecsc|Retour]] 8-) owned 8-) ===== Présentation ===== .semèlborp ed resop suov sap tiarved en egnellahc eC fichier baby sans extension ''Nope, I won't give you the flag *that* easily!'' ===== 1 - strings ===== ''strings baby'' /lib64/ld-linux-x86-64.so.2 libc.so.6 exit puts printf __cxa_finalize __libc_start_main GLIBC_2.2.5 _ITM_deregisterTMCloneTable __gmon_start__ _ITM_registerTMCloneTable =g =j AWAVI AUATL []A\A]A^A_ ECSC{cdcd13c4c81a23a21506fa8efa5edff781e9fe80} The flag is %s. Nope, I won't give you the flag *that* easily! ;*3$" GCC: (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 /usr/lib/gcc/x86_64-linux-gnu/7/include /usr/include/x86_64-linux-gnu/bits /usr/include baby.c stddef.h types.h libio.h stdio.h sys_errlist.h __off_t _IO_read_ptr _chain /home/julien/ECSC/challenges/reverse/baby size_t _shortbuf GNU C11 7.3.0 -mtune=generic -march=x86-64 -g -fstack-protector-strong forever_alone _IO_2_1_stderr_ _IO_buf_base long long unsigned int long long int _fileno _IO_read_end _flags _IO_buf_end _cur_column _old_offset _IO_marker stdin _IO_FILE_plus _IO_write_ptr sys_nerr _sbuf short unsigned int _IO_save_base _lock _flags2 _mode stdout _IO_2_1_stdin_ _IO_write_end _IO_lock_t _IO_FILE _pos sys_errlist _markers unsigned char short int flag _vtable_offset _IO_2_1_stdout_ _next __off64_t _IO_read_base _IO_save_end __pad1 __pad2 __pad3 __pad4 __pad5 _unused2 stderr argv _IO_backup_base argc baby.c main _IO_write_base crtstuff.c deregister_tm_clones __do_global_dtors_aux completed.7696 __do_global_dtors_aux_fini_array_entry frame_dummy __frame_dummy_init_array_entry baby.c __FRAME_END__ __init_array_end _DYNAMIC __init_array_start __GNU_EH_FRAME_HDR _GLOBAL_OFFSET_TABLE_ __libc_csu_fini _ITM_deregisterTMCloneTable puts@@GLIBC_2.2.5 forever_alone _edata printf@@GLIBC_2.2.5 __libc_start_main@@GLIBC_2.2.5 __data_start __gmon_start__ __dso_handle _IO_stdin_used __libc_csu_init __bss_start main exit@@GLIBC_2.2.5 __TMC_END__ _ITM_registerTMCloneTable __cxa_finalize@@GLIBC_2.2.5 .symtab .strtab .shstrtab .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt.got .text .fini .rodata .eh_frame_hdr .eh_frame .init_array .fini_array .dynamic .data .bss .comment .debug_aranges .debug_info .debug_abbrev .debug_line .debug_str ===== FLAG ===== Bon bah le flag est inscrit dans l'output du strings, à savoir ''ECSC{cdcd13c4c81a23a21506fa8efa5edff781e9fe80}''.