mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-21 07:46:12 +08:00
updated PSK lua test script
This commit is contained in:
parent
be3c93c33b
commit
bdae1bc2a3
|
@ -9,7 +9,7 @@ local floor = math.floor
|
|||
|
||||
copyright = ''
|
||||
author = "Iceman"
|
||||
version = 'v1.0.3'
|
||||
version = 'v1.0.4'
|
||||
desc =[[
|
||||
This script will program a T55x7 TAG with a configuration and four blocks of data.
|
||||
It will then try to detect and read back those block data and compare if read data matches the expected data.
|
||||
|
@ -106,6 +106,7 @@ local function GetConfigs( modulation )
|
|||
local t = {}
|
||||
|
||||
t['PSK1'] = {
|
||||
-- Rf2
|
||||
[1] = '00001040',
|
||||
[2] = '00041040',
|
||||
[3] = '00081040',
|
||||
|
@ -114,9 +115,28 @@ local function GetConfigs( modulation )
|
|||
[6] = '00141040',
|
||||
[7] = '00181040',
|
||||
[8] = '001c1040',
|
||||
-- Rf4
|
||||
[9] = '00001440',
|
||||
[10] = '00041440',
|
||||
[11] = '00081440',
|
||||
[12] = '000c1440',
|
||||
[13] = '00101440',
|
||||
[14] = '00141440',
|
||||
[15] = '00181440',
|
||||
[16] = '001c1440',
|
||||
-- Rf8
|
||||
[17] = '00001840',
|
||||
[18] = '00041840',
|
||||
[19] = '00081840',
|
||||
[20] = '000c1840',
|
||||
[21] = '00101840',
|
||||
[22] = '00141840',
|
||||
[23] = '00181840',
|
||||
[24] = '001c1840',
|
||||
}
|
||||
|
||||
t['PSK2'] = {
|
||||
-- Rf2
|
||||
[1] = '00002040',
|
||||
[2] = '00042040',
|
||||
[3] = '00082040',
|
||||
|
@ -125,9 +145,28 @@ local function GetConfigs( modulation )
|
|||
[6] = '00142040',
|
||||
[7] = '00182040',
|
||||
[8] = '001c2040',
|
||||
-- Rf4
|
||||
[9] = '00002440',
|
||||
[10] = '00042440',
|
||||
[11] = '00082440',
|
||||
[12] = '000c2440',
|
||||
[13] = '00102440',
|
||||
[14] = '00142440',
|
||||
[15] = '00182440',
|
||||
[16] = '001c2440',
|
||||
-- Rf8
|
||||
[17] = '00002840',
|
||||
[18] = '00042840',
|
||||
[19] = '00082840',
|
||||
[20] = '000c2840',
|
||||
[21] = '00102840',
|
||||
[22] = '00142840',
|
||||
[23] = '00182840',
|
||||
[24] = '001c2840',
|
||||
}
|
||||
|
||||
t['PSK3'] = {
|
||||
-- Rf2
|
||||
[1] = '00003040',
|
||||
[2] = '00043040',
|
||||
[3] = '00083040',
|
||||
|
@ -136,6 +175,24 @@ local function GetConfigs( modulation )
|
|||
[6] = '00143040',
|
||||
[7] = '00183040',
|
||||
[8] = '001c3040',
|
||||
-- Rf4
|
||||
[1] = '00003440',
|
||||
[2] = '00043440',
|
||||
[3] = '00083440',
|
||||
[4] = '000c3440',
|
||||
[5] = '00103440',
|
||||
[6] = '00143440',
|
||||
[7] = '00183440',
|
||||
[8] = '001c3440',
|
||||
-- Rf2
|
||||
[1] = '00003840',
|
||||
[2] = '00043840',
|
||||
[3] = '00083840',
|
||||
[4] = '000c3840',
|
||||
[5] = '00103840',
|
||||
[6] = '00143840',
|
||||
[7] = '00183840',
|
||||
[8] = '001c3840',
|
||||
}
|
||||
|
||||
t['FSK1'] = {
|
||||
|
|
Loading…
Reference in a new issue