mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-04-02 02:19:57 +08:00
textual
This commit is contained in:
parent
81feb56003
commit
a5f19cde79
1 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ local utils = require('utils')
|
||||||
|
|
||||||
copyright = ''
|
copyright = ''
|
||||||
author = "Martin Holst Swende"
|
author = "Martin Holst Swende"
|
||||||
version = 'v1.0.1'
|
version = 'v1.0.2'
|
||||||
desc = [[
|
desc = [[
|
||||||
This is a script which automates cracking and dumping mifare classic cards. It sets itself into
|
This is a script which automates cracking and dumping mifare classic cards. It sets itself into
|
||||||
'listening'-mode, after which it cracks and dumps any mifare classic card that you
|
'listening'-mode, after which it cracks and dumps any mifare classic card that you
|
||||||
|
@ -148,7 +148,7 @@ end
|
||||||
-- The main entry point
|
-- The main entry point
|
||||||
local function main(args)
|
local function main(args)
|
||||||
|
|
||||||
local verbose, exit, res, uid, err, _, sak
|
local verbose, _exit, res, uid, err, _, sak
|
||||||
local seen_uids = {}
|
local seen_uids = {}
|
||||||
local key = ''
|
local key = ''
|
||||||
local print_message = true
|
local print_message = true
|
||||||
|
@ -159,7 +159,7 @@ local function main(args)
|
||||||
if o == 'k' then key = a end
|
if o == 'k' then key = a end
|
||||||
end
|
end
|
||||||
|
|
||||||
while not exit do
|
while not _exit do
|
||||||
if print_message then
|
if print_message then
|
||||||
print('Waiting for card or press any key to stop')
|
print('Waiting for card or press any key to stop')
|
||||||
print_message = false
|
print_message = false
|
||||||
|
@ -205,7 +205,7 @@ local function main(args)
|
||||||
-- Dump info
|
-- Dump info
|
||||||
dump(uid, sak)
|
dump(uid, sak)
|
||||||
|
|
||||||
if #key == 12 then exit = true end
|
if #key == 12 then _exit = true end
|
||||||
else
|
else
|
||||||
print('Card found, darkside attack useless PRNG hardend on UID', uid)
|
print('Card found, darkside attack useless PRNG hardend on UID', uid)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue