Skip to content

Instantly share code, notes, and snippets.

View PaoloHi's full-sized avatar

Paolo Fernando Flores Rivera PaoloHi

View GitHub Profile
@PaoloHi
PaoloHi / gist:f14de6a3a45b389dbe1e28fee8d5b37c
Created June 20, 2025 19:10
bash Tlv decdoder ready to run on terminal, just run bash ./tlv.sh <YOU TLV TO DECODE > works as EMVlab but in your own machine
#!/usr/bin/env bash
declare -A Atags
Atags["57"]="Track 2 Equivalent Data"
Atags["4F"]="Application Identifier (AID) – card"
Atags["50"]="Application Label"
Atags["5A"]="Application Primary Account Number (PAN)"
Atags["82"]="Application Interchange Profile"
Atags["84"]="Dedicated File (DF) Name"