iceman1001
d1e197e9ec
FIX: the changes to uart.c timings seems to have fixed my problem with the pm3 device getting unresponsive.
...
CHG: "script run hard" now iterates all sectors on the tag and output the table style like "hf mf chkkey" do.
2016-11-22 01:58:11 +01:00
iceman1001
e108a48ac4
ADD: added the 'hf mf hardnested' to be called within LUA scripts.
...
ADD: 'script run hard' - a first try for a lua script to run the hardnested attack on a complete tag.
2016-11-21 16:08:12 +01:00
iceman1001
711ae19fca
CHG: Cleaning up
2016-11-18 11:31:52 +01:00
iceman1001
fa5974bbf3
FIX: @matrix latest fixes
2016-11-16 22:31:09 +01:00
iceman1001
f07ffa7672
FIX: "hf mf hardnested" - removed the call to free_candidates_memory, on my ubuntu env it crashes all the time with it.
2016-11-16 19:19:06 +01:00
iceman1001
06d09c98eb
CHG: "hf mf hardnested" - fixes and additions.
...
- freeing candidate lists after generate_candidates calls.
- longer timeout when waiting for responses (it takes a while to collect 58 nonces per call) From 3sec to 6sec
- if best_first_byte[0] (best guess) has been the same for 3 nonces calls in a row, it enters the generate_candidates test.
- when total_added_nonces increases but does not enter generate_candidates tests, it now increases the threshold_index variable. Make the output look better
Known bugs still.
- TestIfKeyExists sometimes crashes the client, still after the null check.
- proxmark3 device doesn't answer calls after entering brute_force call and fails finding a key, where it should start collecting nonces again. This bug doesn't make sense.
2016-11-16 18:16:14 +01:00
iceman1001
4d812c139b
CHG: "hf mf hardnested"
...
- latest clean up from @matrix
- the device still doesnt answer when brute_force call fails. I've been trying to get the device to init after the brute_force call.
2016-11-15 12:49:13 +01:00
iceman1001
71ac327ba8
FIX: 'hf mf hardnested' @matrix e0828439bf
2016-11-08 13:27:50 +01:00
iceman1001
360caababf
FIX: decrease 2^39 -> 2^38. its a big searchspace anyway.
...
FIX: changed output and rearranged collecting nonces logic.
Still problems with "hard" keys, the device stops responding after a "bruteforce" / "generate_candidates" call.. Very strange. shouldnt'
2016-11-07 22:41:18 +01:00
iceman1001
87a513aa1d
FIX: "hf mf hardnested" when "key found" exting the do-while loop doesn't need to wait for device to respond.
2016-11-07 11:54:32 +01:00
iceman1001
8e4a0b3585
FIX: "hf mf hardnested" merging of @matrix commit bd8249afec
2016-11-07 11:11:14 +01:00
iceman1001
7fd676db11
FIX: @matrix 869a03c2c6
...
it still counts down the good bytes,
and I fixed the elapsed time.
2016-11-05 14:54:25 +01:00
iceman1001
b403c30091
FIX: the time_t calls under mingw needs a #define _USE_32BIT_TIME_T 1 to be correct. It seems to work in "hf mf mifare" but not in "hf mf hardnested"
2016-10-29 21:42:46 +02:00
Gabriele Gristina
e7f43e92e9
Merge remote-tracking branch 'upstream/master'
2016-10-29 15:19:55 +02:00
iceman1001
ba39db376c
CHG: just some parameter / variable name changes. Nuttin' special.
2016-10-28 16:37:01 +02:00
Gabriele Gristina
236e8f7cc6
fixup code
2016-10-26 01:14:56 +02:00
iceman1001
2dcf60f3df
CHG: "hf mf hardnested" - less printing
...
CHG: some filehandles = NULL.
2016-10-21 16:06:53 +02:00
Gabriele Gristina
bbcd41a6e5
Speedup Mifare Plus Attack v2.2 (cleanup code)
2016-10-21 01:06:57 +02:00
Gabriele Gristina
0325c12f35
Speedup Mifare Plus Attack v2.1 (stable)
2016-10-21 00:43:43 +02:00
Gabriele Gristina
383a1fb368
Speedup Mifare Plus Attack v2
2016-10-19 00:13:53 +02:00
Gabriele Gristina
057d2e9147
Speedup Mifare Plus Attack v1
2016-10-18 01:21:56 +02:00
iceman1001
56d0fb8e4d
FIX: bug in nextwatch demod, which if the found psk bits was smaller than the preamble the client crashed.
...
REM: removed some debugstatements
2016-09-01 16:09:31 +02:00
iceman1001
1e2bb9c9f4
CHG: trying to figure out why I can't get the seconds out..
2016-07-28 21:48:53 +02:00
iceman1001
81ba7ee837
CHG: minor changes to code, mostly newlines, change a value to #DEFINE END_OF_LIST_MARKER
...
CHG: GOOD_BYTES_REQUIRED changed from 28 > 13, makes it nonce collecting part faster, but the fail rate goes also up. its a value to fiddle with.
2016-07-20 12:02:08 +02:00
iceman1001
ac36c57789
FIX: this should fix the compilation error for MAC users.
2016-06-20 13:32:22 +02:00
iceman1001
ddaecc0826
FIX: this corrects the bug when running "hardnested" serveral times a faulty wrongsized key is returned. Just needed to clear the variable every run.
2016-05-31 13:11:04 +02:00
iceman1001
b01e7d206d
FIX: a define which was wrong
2016-05-06 19:30:43 +02:00
iceman1001
9d590832a1
FIX: This tries to fix the memalign issued on MAC OS X, which it doesn't have. However its standard Malloc is already 16byte memaligned.
...
ref: http://stackoverflow.com/questions/196329/osx-lacks-memalign
2016-05-06 19:09:29 +02:00
iceman1001
45c0c48c49
CHG: Just changed the order of printing, so the messagde FoundKey is printed last.
2016-04-27 11:22:17 +02:00
iceman1001
fd3be901ea
removed commented code
2016-04-26 21:30:54 +02:00
iceman1001
ed69e099a1
FIX: @Aczid suggested this to fix a Coverity scan warning.
2016-04-25 14:30:13 +02:00
iceman1001
21d359f68f
CHG: we don't want to assert inside the pm3 client.
...
CHG: better message when failed to find the key.
CHG: revert nonces check, 12 -> 100
2016-04-23 19:09:07 +02:00
iceman1001
1c38049bcb
CHG: commented away some of the debug printf statements in hardnested.
2016-04-23 18:33:27 +02:00
iceman1001
cd777a0545
FIX: Some Coverity Scan warnings. fread, not initialised etc etc
2016-04-23 18:23:46 +02:00
iceman1001
2e350b19f7
FIX: there were no "memfree" call, there were only "free"
2016-04-21 12:15:36 +02:00
iceman1001
3130ba4b21
ADD: added @azcid 's bitsliced BF solver for @piwi 's hardnested command. Awsume work! The original patch demanded some tweaking to work in mingw.
...
This is not tested for other systems so far.
2016-04-21 10:26:00 +02:00
iceman
63852b2f51
Merge branch 'master' of https://github.com/iceman1001/proxmark3
2016-01-12 21:58:03 +01:00
iceman1001
810f53792e
ADD: added the possibility to choose which block num to attack with "hf mf mifare" Before it only worked on block 0.
2016-01-20 22:26:01 +01:00
iceman1001
bf22fab73b
FIX: Coverity Scans complain about uninitialized usage of struct. Setting s->ODD and s->EVEN to zero should do the trick.
2016-01-20 11:31:24 +01:00
iceman
1f1929a4aa
CHG: maybe this init works better?
2016-01-12 15:57:53 +01:00
iceman1001
5e32cf7575
FIX: #lld -> %#PRIu64" since the arguments are uin64_t
2016-01-19 22:37:17 +01:00
iceman1001
b112787d4f
ADD: Some instructions for configure CoverityScan using alternative compiler like the ARM-NONE-EABI-GCC
...
FIX: stupid clock() == -1 on systems who doesn't have it..
2016-01-19 21:48:29 +01:00
iceman1001
841d7af0dc
FIX: Coverity Scan warnings on not using the fread return value.
2016-01-19 19:52:01 +01:00
iceman1001
1a4b67382a
FIX: Coverity Scan resource leak
2016-01-19 17:23:36 +01:00
iceman1001
28093ebc10
FIX: wrong format specifier syntax
2016-01-15 12:53:13 +01:00
iceman1001
43d3f76921
FIX: this should remove some warnings while compiling on linux and when running Travis-CI in a docker container.
...
some format specifier for uint64_t
and getting the git history in the perl script.
2016-01-15 12:43:29 +01:00
iceman1001
4b2e63be17
FIX: Some <= fix for pwpivi 's hardnested suggested on the Pm3 forum.
2016-01-13 21:51:47 +01:00
iceman1001
0d5ee8e245
ADD: @pwpiwi 's latest changes to 'hf mf hardnested'
2016-01-13 09:31:13 +01:00
iceman1001
fe8042f29a
ADD: added @pwpiwi 's corrections to "hf mf hardnested"
2016-01-04 10:11:20 +01:00
iceman1001
a531720ae6
added @pwpiwi 's latest changes to "hf mf hardnested"
2016-01-03 17:16:50 +01:00