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

I have a custom plugin to dissect packets. The packets have XML payload as data, As such:

'<'data>
          '<'userid> 2 '<'/userid>
          '<'name> bob '<'/name>
'<'/data>

How would I dissect/decode or extract that information to display it as follows in wireshark:

Userid: 2

name: bob

The protocol is not HTTP/XML.

asked 25 May '15, 09:39

XQW1123's gravatar image

XQW1123
4681014
accept rate: 0%

edited 25 May '15, 09:42

hi XQW1123,

i have the same issue, the xml dissector is displaying the xml file as it is, not in the format i need it to be display.

i think it should use dtds for that purpose but still i am not able to resolve the issue, please tell me if you got your desired output.

thanks

(10 Aug '15, 04:18) zombimind

You could send the data to the xml dissector, at leas it would be pretty printed in the GUI.

permanent link

answered 26 May '15, 02:02

Anders's gravatar image

Anders ♦
4.6k952
accept rate: 17%

Thanks, but do you know if its possible further format the GUI?

(26 May '15, 13:57) XQW1123
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:

×173
×89
×36

question asked: 25 May '15, 09:39

question was seen: 4,701 times

last updated: 10 Aug '15, 04:18

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