$strings a.out /lib64/ld-linux-x86-64.so.2 libc.so.6 printf __libc_start_main __gmon_start__ GLIBC_2.2.5 fffff. []A\A]A^A_ hello ;*3$” GCC: (Debian 4.9.2-10) 4.9.2 GCC: (Debian 4.8.3-13) 4.8.3 hello.c long unsigned int short unsigned int short int GNU C 4.9.2 -mtune=generic -march=x86-64 -g unsigned char long int sizetype main hello.c /home/jeffrin .symtab .strtab .shstrtab .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn …
Tag Archives: reverse
Hacking with a binary using file and strip commands
$file simple | awk ‘{ print $(NF-1) $(NF-0) }’ notstripped $du -h simple 8.0K simple $./simple Hello World $strip ./simple $du -h simple 8.0K simple $./simple Hello World $file simple | awk ‘{ print $(NF-1) $(NF-0) }’ BuildID[sha1]=6cf0bed752a904372cd42a85bc560c266a7c91b3,stripped $
cat — tac
$cat x00 A for Apple. B for Baby. $cat x01 C for Cat. D for Donkey. $tac x00 x01 B for Baby. A for Apple. D for Donkey. C for Cat. $ tac – concatenate and print files in reverse