1

I am hoping to get the contents of the .text section, of a Microsoft PE file using a linux command. When I use

objdump -sj .text filename.exe

the output consists of the offset, in hexadecimal format, on the far left, followed by the content, in hexadecimal format, in the middle and a mixture of dots and ASCII characters on the right. I don't know if the dots represent unprintable characters. A screen shot follows. enter image description here

Is there a way to adjust the format of the output? Ideally, I am hoping to get the printable strings without the hexadecimal numbers. I have looked through the objdump man page but could not see a way to do this.

3
  • A screenshot or some sample output would help people understand your question...
    – DavidPostill
    Apr 28, 2016 at 18:43
  • I tried to add a screen shot but it's not filling the allotted space. Thanks, Apr 28, 2016 at 19:03
  • @OtagoHarbour did you find a solution to this? I am looking for an answer. Feb 12, 2017 at 11:44

0

You must log in to answer this question.

Browse other questions tagged .