mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
rename some lua scripts for persistancy
This commit is contained in:
parent
7c4fd9a46a
commit
6a9e5a49c3
2 changed files with 9 additions and 7 deletions
|
@ -2,7 +2,7 @@ local bin = require('bin')
|
||||||
local getopt = require('getopt')
|
local getopt = require('getopt')
|
||||||
local lib14a = require('read14a')
|
local lib14a = require('read14a')
|
||||||
local utils = require('utils')
|
local utils = require('utils')
|
||||||
local ansicolors = require('ansicolors')
|
local cl = require('ansicolors')
|
||||||
|
|
||||||
copyright = ''
|
copyright = ''
|
||||||
author = "Iceman"
|
author = "Iceman"
|
||||||
|
@ -10,13 +10,15 @@ version = 'v1.0.2'
|
||||||
desc = [[
|
desc = [[
|
||||||
This script calculates mifare Ultralight-EV1 pwd based on uid diversification for an Italian ticketsystem
|
This script calculates mifare Ultralight-EV1 pwd based on uid diversification for an Italian ticketsystem
|
||||||
Algo not found by me.
|
Algo not found by me.
|
||||||
]]
|
|
||||||
|
]].. "You can also look at the native pm3 command `" .. cl.yellow .. "hf mfu pwdgen -h" .. cl.reset .. "`\n"
|
||||||
|
|
||||||
example =[[
|
example =[[
|
||||||
-- if called without, it reads tag uid
|
-- if called without, it reads tag uid
|
||||||
script run hf_mfu_uidkeycalc_italy
|
script run hf_mfu_pwdgen_italy
|
||||||
|
|
||||||
--
|
--
|
||||||
script run hf_mfu_uidkeycalc_italy -u 11223344556677
|
script run hf_mfu_pwdgen_italy -u 11223344556677
|
||||||
]]
|
]]
|
||||||
usage = [[
|
usage = [[
|
||||||
script run hf_mfu_uidkeycalc_italy -h -u <uid> "
|
script run hf_mfu_uidkeycalc_italy -h -u <uid> "
|
||||||
|
@ -56,11 +58,11 @@ local function help()
|
||||||
print(author)
|
print(author)
|
||||||
print(version)
|
print(version)
|
||||||
print(desc)
|
print(desc)
|
||||||
print(ansicolors.cyan..'Usage'..ansicolors.reset)
|
print(cl.cyan..'Usage'..cl.reset)
|
||||||
print(usage)
|
print(usage)
|
||||||
print(ansicolors.cyan..'Arguments'..ansicolors.reset)
|
print(cl.cyan..'Arguments'..cl.reset)
|
||||||
print(arguments)
|
print(arguments)
|
||||||
print(ansicolors.cyan..'Example usage'..ansicolors.reset)
|
print(cl.cyan..'Example usage'..cl.reset)
|
||||||
print(example)
|
print(example)
|
||||||
end
|
end
|
||||||
--
|
--
|
Loading…
Add table
Add a link
Reference in a new issue