Philippe Teuwen
2022df1068
make style
2019-08-30 10:45:52 +02:00
Philippe Teuwen
2c853d94ea
move hardnested tables to resources/
2019-08-30 09:02:01 +02:00
Matthias Konrath
a69fbdd3af
Merge branch 'master' of https://github.com/RfidResearchGroup/proxmark3 into autopwn_restyle
2019-08-29 06:17:27 +02:00
iceman1001
117ebf0beb
chg: 'hf mf ecfill' - now uses NG format.
...
chg: 'hf mf eload' - now uses NG format.
chg: 'hf mf fchk m' - now uses ecfill trick, if fchk got all keys, it will dump the card directly.
sample:
hf mf fchk 1 m (must have dictionaries uploaded to device) if all keys are found, you can now run
hf mf esave to get a complete dump.
2019-08-28 21:21:27 +02:00
Matthias Konrath
e4159b7cb3
Cleaned up the ouput to be as minimalistic as possible. Now the verbose flag output is realy verbose.
2019-08-28 18:39:01 +02:00
Matthias Konrath
2e29b361c5
Restyled the autopwn command output according to @doegox
2019-08-28 15:57:21 +02:00
Matthias Konrath
6c76e2ed5b
Restyled to the autopwn command output.
2019-08-28 14:20:52 +02:00
Matthias Konrath
7237a9638b
Removed debugging stuff.
2019-08-28 11:19:54 +02:00
Matthias Konrath
e259b26d60
Streamlined the naming conventen and types.
2019-08-28 10:45:45 +02:00
Matthias Konrath
9dc3c39a95
Added additional checks to the from load dictionary returned data points.
2019-08-28 09:45:11 +02:00
Matthias Konrath
225b18d5fc
Implemented a function to safely load dictionaries.
2019-08-28 09:34:46 +02:00
Matthias Konrath
a0c2de5602
Added an key found message to the read b key with a key feature.
2019-08-27 20:28:28 +02:00
Matthias Konrath
42d58cbced
fixed the read B key features error handling.
2019-08-27 19:55:45 +02:00
Matthias Konrath
c9a02adc70
Added the read B key with known A key feature, and minor changes to the UI (alignment).
2019-08-27 19:45:37 +02:00
Philippe Teuwen
d88b76beda
partial make style
2019-08-27 17:28:08 +02:00
iceman1001
13aa4ee6ab
fix: cleaning up 'hf mf autopwn' - reused the fix from below aswell.
...
Add: 'hf mf dump' rename filenames (@mohemiv) see https://github.com/RfidResearchGroup/proxmark3/pull/360
2019-08-27 17:15:42 +02:00
iceman1001
703329faca
chg: add used known key to found list :)
2019-08-27 11:08:03 +02:00
Matthias Konrath
1e648088b1
Improved the help message of the autopwn command.
2019-08-26 22:54:59 +02:00
Philippe Teuwen
16a7cfd7b2
make style (excepted cmdhficlass...)
2019-08-26 22:28:39 +02:00
Philippe Teuwen
9c677e045e
mf autopwn: try nested harder before hardnested; typos
2019-08-26 22:21:23 +02:00
Philippe Teuwen
d838c81601
hf mf attacks: rewordings
2019-08-26 20:57:23 +02:00
Philippe Teuwen
1368595be1
hf mf nested: swap loops for faster results (try harder to break keyA first)
2019-08-26 20:37:33 +02:00
Philippe Teuwen
bdd6ef98b5
fix autopwn help
2019-08-26 20:34:16 +02:00
Iceman
d548b8daeb
Merge pull request #353 from matthiaskonrath/hardnested_autopwn
...
Autopwn
2019-08-26 15:12:21 +02:00
Matthias Konrath
236c2eb1d0
Changed createKeyDump to a less generic name (createMfcKeyDump).
2019-08-26 14:29:21 +02:00
Philippe Teuwen
7076df0e18
hf mf chk/fchk: don't stop on line errors when parsing dict
2019-08-26 13:53:23 +02:00
Philippe Teuwen
4ddc3d61d5
hf mf chk/fchk: load dic with searchFile and fail when errors in args
2019-08-26 13:21:03 +02:00
Matthias Konrath
2edee59837
Changed the variable names, added aditional dictionary size checks, fixed a corner case with the key transferes.
2019-08-26 12:27:40 +02:00
Matthias Konrath
13641771ba
Improved help message, implementation of a verbose option (to reduce the output), corrected some spelling mistakes and cleaned up variable names.
2019-08-25 22:24:52 +02:00
Matthias Konrath
47b2c5ddc6
Removed old command options.
2019-08-25 11:16:10 +02:00
Matthias Konrath
bd01b7bd96
Now the keys are transfered to the simulator memory and the whole card gets dumped at the end.
2019-08-25 11:13:53 +02:00
Matthias Konrath
7dbb5427ea
Transformation from hardautopwn to autopwn, now are all the mifare classic attacks automated.
2019-08-24 18:11:03 +02:00
Matthias Konrath
87cbf3aa70
Improved the reliability, speed and redability. Ready for a pull mr. iceman ;)
2019-08-23 17:17:17 +02:00
Matthias Konrath
abb69e2dc9
Further improved the hardautopwn feature.
2019-08-22 14:55:06 +02:00
Matthias Konrath
407078d90a
Experimental hardautopwn implementation.
2019-08-22 12:49:26 +02:00
Iceman
a0f261c1e0
chg: moved fileutils from loclass
2019-08-21 14:41:33 +02:00
Philippe Teuwen
d19754567d
summer restructuring:
...
* .h include only the strict minimum for their own parsing
* this forces all files to include explicitment their needs and not count on far streched dependencies
* this helps Makefile to rebuild only the minimum
* according to this rule, most standalone .h are now gone
* big app.h is gone
* remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
* bring zlib to common/
* bring stuff not really/not yet used in common back to armsrc/ or client/
* bring liblua into client/
* bring uart into client/
* move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
* treat deps in armsrc/ as in client/
* client: stop on warning (-Werror), same as for armsrc/
Tested on:
* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
Philippe Teuwen
12a0540d91
mf sim: add option to pass explicitly atqa/sak and reject explicitly unknown vals for option t
2019-08-07 01:32:37 +02:00
Philippe Teuwen
4615354864
mf sim: respect DBG_NONE and explicit ATQA/SAK usage
2019-08-07 00:47:32 +02:00
Philippe Teuwen
a0a232a985
rename few CMD_* to get some less diversity
2019-08-03 19:48:02 +02:00
Philippe Teuwen
f276dca3f1
less hardcoded sizes and more ARRAYLEN
2019-07-31 23:45:17 +02:00
Philippe Teuwen
9beabaabf5
make style
2019-07-23 21:33:52 +02:00
cjbrigato
5c3676ad81
ADD: Early SPIFFS implementation see #257 , UPDATE HF_COLIN accordingly
2019-07-22 22:56:06 +02:00
Philippe Teuwen
4e9e7d6da0
temporary fix to get Appveyor happy. Will need more tuning later.
2019-07-18 23:50:45 +02:00
Philippe Teuwen
55602bf833
Fix few zelaous WARNING->ERR
2019-07-14 12:17:34 +02:00
Philippe Teuwen
8bf4b4ad97
Promote WARNING to ERR on some error msgs
2019-07-14 00:35:18 +02:00
Eloff
735077f358
Does clear trace log only at first call 'hf mf chk', to save whole process history
2019-07-13 18:26:52 +03:00
Philippe Teuwen
844d732297
Replace ukbhit by kbd_enter_pressed, not requiring tcgetattr:
...
Note that it behaves differently now
* it looks for Enter key only, not any key
* it "eats" the input, no need for (void)getchar() after it
* it works the same no matter the value of ICANON
* the mingw version has been adapted to act the similarly
This should fix its usage on Android where tcgetattr always returns -1
2019-07-11 13:01:34 +02:00
Philippe Teuwen
a55e597e36
make style
2019-06-07 21:40:33 +02:00
Philippe Teuwen
732bc766f9
Reduce some var scopes
2019-06-07 18:41:39 +02:00