Proxmark3 developers community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

#1 2019-12-22 03:03:52

mnemarchon
Contributor
Registered: 2019-08-30
Posts: 16

Nice feature - using PM3 traces with Pulseview/sigrok to decode

I stumbled upon this combination of combining proxmark .pm3 data (from "data save") with Pulseview (or sigrok-cli if you want CLI). It can be useful for decoding sniffed LF data.

There are several predefined decoders, e.g. EM410x and T55xx

An example output:

Pulseview/Sigrok

You just need decode the text data into signed binary integer, with a simple script like (arg1 is pm3 input, arg2 is binary output):

#!/usr/bin/env python3

import sys
import struct

with open(sys.argv[2], "bw") as out:
    for line in open(sys.argv[1]):
        i = int(line.rstrip())
        b = struct.pack("b", i)
        out.write(b)

Then you import it into Pulseview via "Import Raw analog data without header". Select S8 (signed 8-bit) as data format, 125000 Hz as sample rate, 1 channel.

Next, click on the imported channel on the left (CH1) and select "Conversion" to "to logic via threshold" or "logic via schmitt-trigger".

Then select the decoder (EM4100 for instance) and select CH1 as to decode on. You may have to set conversion threshold on CH1 to "average +/- 15%" to work correctly sometimes.

Offline

#2 2019-12-22 09:39:35

iceman
Administrator
Registered: 2013-04-25
Posts: 6,557
Website

Re: Nice feature - using PM3 traces with Pulseview/sigrok to decode

that is a good tool to have in your tool box


If you feel the love,  https://www.patreon.com/iceman1001

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

Board footer

Powered by FluxBB