######################################################## # Searchable Keywords: objdump disassembly code source strings To view inside binary code you need a tool A suite for Linux systems, binutils.i386, contains several tools that will allow you to view oin side binary code. objdump: To disassemble a binary and view file type and calls. You can't really see the plain text just the basic idea. The dash D say disasemble. A -d will just display the assembler mnemonics instruction. There is plethera of options, these are just a few. [root@praxan ~]# objdump -D /bin/sleep |more /bin/sleep: file format elf32-i386 Disassembly of section .interp: 08048134 <.interp>: 8048134: 2f das 8048135: 6c insb (%dx),%es:(%edi) 8048136: 69 62 2f 6c 64 2d 6c imul $0x6c2d646c,0x2f(%edx),%esp 804813d: 69 6e 75 78 2e 73 6f imul $0x6f732e78,0x75(%esi),%ebp 8048144: 2e 32 00 xor %cs:(%eax),%al Disassembly of section .note.ABI-tag: 08048148 <.note.ABI-tag>: 8048148: 04 00 add $0x0,%al 804814a: 00 00 add %al,(%eax) 804814c: 10 00 adc %al,(%eax) 804814e: 00 00 add %al,(%eax) 8048150: 01 00 add %eax,(%eax) ................................snip strings: strings (for listing : printable strings from files), No such file # strings /bin/zcat |more /lib/ld-linux.so.2 __gmon_start__ libc.so.6 _IO_stdin_used fflush strcpy fchmod __printf_chk _IO_putc optind strrchr perror rpmatch closedir signal puts See also: