iceman1001
dd024b5300
chg: 'hf mf fchk' - depth first search
2017-12-11 21:43:29 +01:00
iceman1001
da57e74140
CHG: 'hf mf fchk' - two strategys. depth first for sector 1, AB. and width first with all sectors.
...
first run strategy 1. then 2.
2017-12-11 01:44:55 +01:00
iceman1001
f148d34bc3
chg: 'hf mf chk' - added param h for help
...
chg: 'hf mf fchk' - added param h for help
2017-12-10 09:44:49 +01:00
iceman1001
e1a01dd2ff
CHG: uniformed output for failed key retrivals. Now denoted with -------
2017-12-06 23:56:07 +01:00
iceman1001
2bc60a87aa
CHG: 'hf mf chk' - adding default_key array refactoring (@merlokk)
2017-12-06 20:14:18 +01:00
iceman1001
0a1a48df01
chg: 'hf mf nack' - extracted in into mifarehost for easier usage in other cmds like
...
'hf 14a info'
chg: 'hf mf nack' - changes on devices side from @doegox Thanks!
2017-12-05 23:34:52 +01:00
iceman1001
a43f156370
chg: 'hf mf nack' - minor
2017-12-05 18:04:21 +01:00
iceman1001
6e5038f224
chg: 'hf mf nack' - only test all 256 parities for one nonce when synced.
...
0 nack = has not bug.
1 nack == has bug
x nacks == most likely a clone card which answers nack to all requests.
2017-12-05 17:57:44 +01:00
iceman1001
08193fd2e5
chg: getting crazy out of sync when running against magic cards.
2017-12-05 12:30:40 +01:00
iceman1001
bea28ae654
chg: wrong var name
2017-12-05 11:54:38 +01:00
iceman1001
984a26370d
chg: 'hf mf nack' better output
2017-12-05 11:53:42 +01:00
iceman1001
e02e145fae
draft for a Mifare classic NACK bug detection.
...
the idea is to have a statistically solid conclusion if tag does or does not have the NACK bug.
-in short, ref https://github.com/iceman1001/proxmark3/issues/141
NACK bug; when a tag responds with a NACK to a 8 byte nonce exchange during authentication when the bytes are wrong but the parity bits are correct.
This is a strong oracle which is used in the darkside attack.
2017-12-04 19:36:26 +01:00
iceman1001
73a5e3b23d
chg: 'hf mfu eload' - instead of showing a error, it now tells a warning that we only loaded N blocks of data to emulator memory.
...
It always loads the existing blocks into emulator memory.
The previous message made users belive a error had occured when it actually did load.
2017-12-03 15:23:24 +01:00
iceman1001
b89b3399dc
FIX: if receiving array isnt large enough, previously this will smash the stack..
2017-12-02 20:45:53 +01:00
iceman1001
bb916aa999
fix: removed a warning
2017-12-02 19:07:10 +01:00
iceman1001
2f3dbbcaa3
rename: ul_switch_off_field -> DropField (inside cmdhf14a.c)
...
chg: Fix memory bounds error (@wsmoses)
c3511781a1
2017-11-11 23:23:01 +01:00
iceman1001
b5842e8c1b
fix: usb_cdc don't report that pm3 device is selfpowered.. (since its not by default)
2017-10-29 19:28:23 +01:00
iceman1001
d3654ab41c
chg: some debug
2017-10-12 15:20:41 +02:00
iceman1001
08c65427bc
fix: 'hf mf fchk' - wrong number of params to printf
2017-10-11 13:24:54 +02:00
iceman1001
f04723d3f5
fix: 'hf mf fchk' - some strange output when only using the default keys (no dictionary file)
...
fix: 'hf mf fchk' - helptext corrected
fix: 'hf mf fchk' - allow to call with just 1 argument
2017-10-11 13:20:39 +02:00
iceman1001
2ca0ea8cb4
ADD: 'hf mf fastchk' - new command, improved check keys functionality. It uses a bunch of techniques to get a speedup.
...
Using a dictionary file with 421keys,
Current implementation of checkkeys takes 300 sec.
This implementation of checkkeys takes 250 sec.
I implemented it as a separate command so it will be easier to compare between the old and new checkkeys.
Its also doing much on deviceside, which is a step to much funnier standalone modes :))
2017-10-05 16:00:56 +02:00
iceman1001
11e72b4064
add 'hf mf decrypt' - added a helptext
...
chg 'hf mf decrypt' - increased the available input data array.
2017-08-30 19:13:49 +02:00
iceman1001
c5616dfe76
minor corrections..
2017-08-29 15:47:26 +02:00
iceman1001
9f54a5e4b9
fix 'hf 14a read' needs a disconnect if failed.
...
fix 'hf mf csave' now prints which card size it is trying to dump
2017-08-29 14:47:17 +02:00
iceman1001
1737081a5d
fix 'hf mf csave' the 'i' parameter is renamed to 'o', since its a output filename..
...
fix 'hf mf csave' the 'i' parameter would take the whole inputed command string as filename.. it now correctly takes the string after 'o '...
2017-08-29 14:40:34 +02:00
iceman1001
7484a0dd1e
fix: 'hf mf cgetsc' - a missing array and some new output layout.
2017-08-28 21:25:29 +02:00
iceman1001
fdd4186aa0
chg: 'hf mf cload/csave' - same output with regards to blocks as eload/esave
2017-08-28 17:22:29 +02:00
iceman1001
d8c72242a2
chg: some more fflush...
2017-08-28 17:18:54 +02:00
iceman1001
97452c056c
chg... and fflushing stdout...
2017-08-28 17:13:48 +02:00
iceman1001
0d3208eb95
fix: 'hf mf cload' - the newline chars \d\a was forgotten. buf too small.
...
chg: 'hf mf cload/csave/eload/esave' - ui feedback...
2017-08-28 17:10:23 +02:00
iceman1001
bd71e15289
fix: 'hf mf cload' - too small buffer, needs one more byte for the NULL-terminator
2017-08-28 09:39:20 +02:00
iceman1001
292a4ca602
'hf 14b sniff' - removed stuff which wasn't very useful. cleaner now. Not sure if it works :(
...
'hf iclass sniff' - playing with this one. Don't expect it to work yet :(
- increase dma_buffer_size to 256
- moved initialization to a own function. Just looks cleaner :)
- change the debug output to follow MF_DBGLEVEL
'hf mf sniff' - unnecessary cast removed
2017-08-27 19:41:24 +02:00
iceman1001
94f70caa7a
when you need to add too much changes at the same time...
...
fix: 'hf mf hardnested' test cases doesn't need to verify key.
add: 'hf mf ' - collect nonces from classic tag.
chg: switch_off on armside, a more unified way, so we don't forget to turn of the antenna ...
chg: renamed 'hf iclass snoop' into 'hf iclass sniff' in an attempt to make all sniff/snoop commands only SNIFF
chg: 'standalone' -> starting the work of moving all standalone mods into a plugin kind of style, in its own folder.
2017-08-26 12:57:18 +02:00
iceman1001
2a4685312a
chg: (merlokk) debugstatements
2017-07-31 13:50:55 +02:00
iceman1001
83cd6a7761
CHG: 'hf mf nested' - (merlokk) 76fcccd109
...
CHG: 'hf mf hardnested' added same verification also here.
2017-07-31 13:37:41 +02:00
iceman1001
f28da2da6e
monster merge...
...
all those changes marshmellow did.. and more...
2017-07-30 09:17:48 +02:00
iceman1001
3d53f941aa
some time_t issues
2017-07-28 01:35:49 +02:00
iceman1001
a8569849d6
part of monstermerge..
2017-07-27 20:58:59 +02:00
iceman1001
e8015142cd
fix: TRUE/FALSE -> bools
...
fix: 'iclass' filepath 255, to use FILE_PATH_SIZE
fix: unified params test
2017-07-14 20:54:11 +02:00
iceman1001
7cf0bf19e5
FIX: 'mfu authentication' bug where the pack-length was wrong
...
ADD: 'hf mfu restore' - added a restore from file command, see helptext for instructions
CHG: some help-text updates and refactored to functions
CHG: 'hf mfu gen' - added the possibility to read uid from card as input
CHG: 'hf mfu dump' - refactored out the dump-printing
2017-07-13 13:10:46 +02:00
iceman1001
310d0da9a4
fixes.. to bool
2017-07-11 18:31:10 +02:00
iceman1001
1f9534e2cc
CHG: broke out some help texts and improved them.
...
CHG: 'hf mf csave' now save mini,1k,2k,4k and to both a bin and eml file.
2017-07-11 17:45:23 +02:00
iceman1001
3ca3d401c0
FIX: some adjustments to prng detection
2017-07-04 20:11:25 +02:00
Iceman
08cc2c36d8
fix: 'hf mf chk'
...
Dictionary files will load wrong if they exceed 256lines.
2017-04-26 19:52:03 +02:00
angelsl
ece631fd06
Add Mifare Classic EV1 set load modulation command
2017-03-09 21:37:16 +08:00
iceman1001
be67483e63
syntax sugar
2017-03-09 11:19:30 +01:00
iceman1001
57778a4630
CHG: renamed struct sector -> sector_t
...
CHG: defines on armside
CHG: #define WIN32 -> _WIN32
CHG: started to enhance "hf mf chkkeys"
REM: removed some duplicates etc in default keys.
2017-03-06 19:11:08 +01:00
iceman1001
a9eeb57698
CHG: Added PR #220 from PM3 Master. ref: https://github.com/Proxmark/proxmark3/pull/220
2017-03-01 20:14:46 +01:00
iceman1001
5215a87442
CHG: @Marshmellow42 's fixes. ref: e88096ba25
2017-02-24 01:14:47 +01:00
iceman1001
9c624f67b3
chg: @piwi's code cleanup and some more.
...
ref: 43534cbad2
2017-02-23 00:03:10 +01:00