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

how to know the type of HTTP-Post response data?

0

I'm new to WireShark and want to know if there is a way to get out the type of received data as I'm getting a pretty weird data response:

...`.......H.V.....H.V.............X(.............(D..........d.DeviceClass:VTO DeviceType:VTO6210B

...................................X...............................................................X................................U...........................TransactionID:1 Method:GetParameterValues ParameterName:Dahua.Device.Decode.Cfg

...................................Xn...........................TransactionID:1 Method:GetParameterValuesResponse ParameterName:Dahua.Device.Decode.Cfg FaultCode:Error

...X............................FTP:1:Record,Snap&&SMTP:1:AlarmText,AlarmSnap&&NTP:2:AdjustSysTime&&VideoCover:1:MutiCover&&AutoRegister:1:Login&&AutoMaintain:1:Reboot,DeleteFiles,ShutDown&&UPNP:1:SearchDevice&&DHCP:1:RequestIP&&STORE POSITION:1:FTP&&DefaultQuery:1:DQuery&&ImportantRecID:1:RECID&&ACFControl:1:ACF&&DavinciModule:1:WorkSheetCFGApart,StandardGOP&&Dahua.Gps:1:Locate&&Dahua.a4.9:1:Login&&Dahua.Device.Record.General:1:General&&Log:1:PageForPageLog&&QueryURL:1:CONFIG....Y...........................TransactionID:2 Method:GetParameterValues ParameterName:Dahua.Device.Record.General

...X............................TransactionID:2 Method:GetParameterValuesResponse ParameterName:Dahua.Device.Record.General FaultCode:OK IsGeneralRecord:1 IsAlarmRecord:1 IsMoveDetectRecord:1 IsLocalStore:1 IsRemoteStore:1 IsRedunancyStore:0 IsLocalurgentStore:1

...................................................................................X................................a...+.......a.........(D....{ "id" : 1067, "method" : "accessControl.listMethod", "params" : null, "session" : 1143535103 } ....X....+.................(D....{ "params" : { "method" : [ "accessControl.factory.instance", "accessControl.destroy", "accessControl.openDoor", "accessControl.listMethod" ] }, "result" : true, "session" : 1143535103 } ....Z...+.......Z.........(D....{ "id" : 1323, "method" : "system.listMethod", "params" : null, "session" : 1143535103 } ....X....+.................(D....{ "id" : 1323, "params" : { "method" : [ "system.listMethod", "VideoTalkPhone.getCallState", "VideoTalkPhone.disconnect", "VideoTalkPhone.attachCallState", "VideoTalkPhone.detachCallState", "mobile.getCaps" ] }, "result" : true, "session" : 1143535103 } ....t...+.......t.........(D....{ "id" : 1579, "method" : "accessControl.factory.instance", "params" : { "Channel" : 0 }, "session" : 1143535103 } ....X9...+.......9.........(D....{ "id" : 1579, "result" : true, "session" : 1143535103 } ....m...+.......m.........(D....{ "id" : 1835, "method" : "accessControl.openDoor", "object" : 1, "params" : null, "session" : 1143535103 } ....X9...+.......9.........(D....{ "id" : 1835, "result" : true, "session" : 1143535103 } ....l...+.......l.........(D....{ "id" : 2091, "method" : "accessControl.destroy", "object" : 1, "params" : null, "session" : 1143535103 } ....X9...+.......9.........(D....{ "id" : 2091, "result" : true, "session" : 1143535103 } ...................................................................................X...............................................................X...............................................................X...............................................................X...............................................................X...............................................................X...............................................................X...............................................................X...............................................................X...............................................................X...............................................................X...............................................................X...............................................................X...............................................................................................................X............................................................................

asked 13 Aug '15, 07:17

MuhammedRefaat's gravatar image

MuhammedRefaat
6113
accept rate: 0%


One Answer:

1

It would appear that this is from a Dahua VTO6210B IP camera.

Seems to be a mix of some text and binary records and some json.

What are you expecting to see?

It would help if you posted the actual capture somewhere public, as the http headers might shed some more light and a paste of the text part of the http response body is difficult to make sense of on its own..

answered 13 Aug '15, 07:34

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

in fact I'm using the webservice of the camera and it works perfectly, so that I'm trying to capture and get the camera port commands to send it separately from my app that uses the camera but it only works for the first two commands, so I captured the mobile stream from the app that the camera company presented to know how they make the mobile app works although it can't just send the post commands like the webservice, and I'm getting the response I posted above, sorry for the long talk :)

(13 Aug '15, 07:58) MuhammedRefaat