This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Bonjour,

I'm preparing a degree level and i have to find user / password in clear text using POP. Well, i did it, don't have to be genius for that. But wanted to go further and find the attached file and rebild it. I tried with the magic number PK for .docx (delete all before PK, found by Follow TCP Stream) but doesn't work for me. It seems that i have the begining "PK" but not "end" not the good one of course. I got the frames on the way out (while sending).

Can somebody tell me "where is the end" of the attached file. How should i proceed, which protocols to use to find it easier, where to put the analyser ...

And how to upload a file in Wireshark, please, would be easier for you with the file in front. PS: have two more questions, i'm not getting out... but one after another

best regards

asked 30 Sep '15, 08:39

tome80's gravatar image

tome80
11226
accept rate: 0%

edited 30 Sep '15, 10:20

grahamb's gravatar image

grahamb ♦
19.8k330206

You can share a capture in a publicly accessible spot, e.g. CloudShark, Google Drive, DropBox etc. and then edit your question with the link to the file.

(30 Sep '15, 10:19) grahamb ♦

Any advice ? Do I do the rignt thing ?

  1. Follow TCP Stream
  2. Save to RAW (last conversation)
  3. Open with Hexaeditor
  4. Cut before "PK"
  5. Save to RAW
  6. Base64 decode http://www.motobit.com/util/base64-decoder-encoder.asp
  7. Save in .docx Doesn't work. I'm missing something cricial.
(01 Oct '15, 05:06) tome80

Which TCP stream are you "following" in that pcap?

(12 Oct '15, 15:19) Kurt Knochner ♦

Bonsoir,

I follow the TCP Stream on pacjet 78 (DATA Fragment) where i can see the name of the attachment ...

check this link cause i changed the file (the other one i didnt remember where did i look for) so i made a new capture with my test accounts.

https://www.cloudshark.org/captures/88d11775b31b

thanks for your help

best regardes

(15 Oct '15, 14:01) tome80

I can see this

Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document; name="Nutri group.docx" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Nutri group.docx"

and by editing from PK to the endn and then savig to .docx. I'can open the document. If PK is the begining and the end is not the end there must be some other "end" like "." the file is 1.56 Mo, maybe i should try only with few lines, but a real file is biggest chalenge.

best regardes

permanent link

answered 15 Oct '15, 14:09

tome80's gravatar image

tome80
11226
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×6
×1
×1
×1

question asked: 30 Sep '15, 08:39

question was seen: 1,253 times

last updated: 15 Oct '15, 14:09

p​o​w​e​r​e​d by O​S​Q​A