0

Decode raw Scapy data to human readable

###[ Raw ]### load = '\x01\x01{\x93\x00$\x01\x00\x03H\x04\x00\x03\x00\x01\x00\x00\x14\x02\x00\x01\x03\x03D\x05\xfa\xab\xdd\x00\x00\x00\x03\x00\x00\x02-\x00\x00\x01\x0f\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w>\x003w!\x00\x00\x00\x03\x00\x00\x02-\x00\x00\x01\x0f\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d>\x00 \x8d!\x00\x00\x00\x03\x00\x00\x02-\x00\x00\x01\x0f\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00!\x00\x00\x00\x03\x00\x00\x02-\x00\x00\x01\x0f\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00>\x00\x00\x00! None

I want to convert this raw data to human readable format using scapy.

i tried using binascii module but i want it in scapy way (using any scapy method should be able to convert raw load data to human readable format)

I want to convert this raw data to human readable format using scapy.

recnac
  • 3,744
  • 6
  • 24
  • 46
sri
  • 1
  • 1
  • 1
    You should provide much more context: where did you get this data from ? What have you tried so far ? Those are just bytes, it could be any Packet.. feel free to have a look at https://stackoverflow.com/help/how-to-ask to get pro-tips on how to ask a good question on SO :-) – Cukic0d Apr 09 '19 at 23:38
  • Possible duplicate, try this: https://stackoverflow.com/questions/52260329/decode-raw-scapy-data-to-human-readable – jfleach Apr 10 '19 at 19:11
  • Possible duplicate of [Decode raw Scapy data to human readable](https://stackoverflow.com/questions/52260329/decode-raw-scapy-data-to-human-readable) – Pierre Apr 12 '19 at 13:19

0 Answers0