Skip to content
  • Dan Williams's avatar
    decode: add some python tools to decode SniffUSB dumps · c9d0dea5
    Dan Williams authored
    decode.py will read SniffUSB logs of communication with
    QMUX or WMC speaking devices.  It will dump the packets
    in both hex and ASCII.  If you know something about the
    device then you can tell it to decode the packets.  For
    example, we know the Pantech UML290's WMC port speaks
    WMC using Bulk Transfers, so we can:
    
    decode.py --transfer=wmc <path to sniffusb logs>
    
    or we know the UML290's "rmnet" port speaks raw IP in
    the Bulk Transfers and QMUX in the Control Transfers, so:
    
    decode.py --control=qmux <path to sniffusb logs>
    
    qmiprotgen.py takes a path to an Entities.txt file and
    dumps out the protocol entities and services in
    Python code which is used by qmux.py.
    
    xml2ascii.py and analyze.py dump out UsbSnoopy XML logs
    but these are not as usable as the SniffUSB logs (they
    do not provide good direction information).
    
    http://www.wingmanteam.com/usbsnoopy/
    http://www.pcausa.com/Utilities/UsbSnoop/
    c9d0dea5