RFID Parser

I made a RFID raw parser (:

Apparently the files have sections.

2 Likes

That’s very cool! Thanks for the excellent readme explaining the structure.

1 Like

I’m a complete dummy and am wanting to use this to open a raw file from my Flipper. I’ve got a Ubuntu instance and did the NPM install of your package, but I’m not sure how to move forward from there. I see the commonJS and ESM sections, but I’m not sure how to actually apply that. How do I actually run this against a file?

Edit: OK, I figured out how to run it. Now I’m running into an issue with a card I’m trying to scan and I’m not sure how to handle it. This is my output of an ask.raw file:

r {
  data: {
    header: {
      magic: 1279674706,
      version: 1,
      frequency: 125000,
      dutyCycle: 0.5,
      maxDataLength: 2048,
      byteOffset: 20
    },
    data: [ [Object], [Object], [Object], [Object], [Object] ]
  },
  error: null
}

And this is the output of a psk.raw file of the same card:

r {
  data: {
    header: {
      magic: 1279674706,
      version: 1,
      frequency: 62500,
      dutyCycle: 0.25,
      maxDataLength: 2048,
      byteOffset: 20
    },
    data: [
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object]
    ]
  },
  error: null
}

Any ideas, @JoshuaB?

Edit 2: I also installed Node on my Windows machine and get the same issue. Several objects in the data and “error: null”.

It looks like everything is working! The objects are actually binary files that you cab save to your computer. I’m afraid that I can’t help with decoding these binary files as they are just raw data. RFIL is just a tool to extract them. I updated the README.

1 Like