pwpiwi
aa0b1c431f
Change mbedtls initializers to be compatible with older versions of gcc ( #732 )
...
* fix issue #731
2018-12-06 07:53:25 +01:00
Oleg Moiseenko
700d868794
move from polarssl to mbedtls ( #708 )
...
* update polarssl to mbedtls
* fix a warning in armsrc/iso15693
* added random generator and ecdsa test
* added signature check to test
* move crypto lib to client directory
2018-11-19 09:02:38 +01:00
pwpiwi
44964fd181
Code cleanup ( #616 )
...
* coverity fixes (including a real bug in cmdhftopaz.c)
* Typo fix
* replace TRUE/FALSE by stdbool true/false
2018-06-13 08:13:20 +02:00
pwpiwi
ad939de501
USB comms: part 4 towards @micolous PR #463
...
* make uart_communication(), storeCommand() and getCommand() static in comms.c
* move receiver thread creation and respective mutexes to comms.c
* add mutex and signal for tx buffer
* use comms.c for flasher as well
* remove comm functions from client/proxmark3.h
* this completes isolating all USB communication related functions in comms.c
* don't assume a port to be defined by a name. Change parameter in OpenProxmark() to void*
* comms.c: set sp and serial_port_name to NULL when offline
2018-06-03 14:25:20 +02:00
pwpiwi
babca445ff
rework of GetFromBigBuf() ( #597 )
...
* this should fix crashes reported in issue #497
* don't allow receiver thread to write directly into arbitrary main thread's memory
* instead use cmdBuffer[] for CMD_DOWNLOADED_RAW_ADC_SAMPLES_125K as well
* add timeout and warning options to GetFromBigBuf(), same as in WaitForResponseTimeoutW()
* move GetFromBigBuf() from data.c to comms.c
* remove data.c and data.h
2018-05-08 07:54:49 +02:00
William S. Moses
874572d419
Fix memory bounds error
2017-11-11 16:15:29 -05:00
merlokk
872337e019
change ul_switch_off_field
to DropField
fix #473
2017-11-11 01:19:34 +02:00
merlokk
86a1c1dc25
eliminate double DropField command
2017-11-09 22:01:00 +02:00
pwpiwi
c04a4b60ce
Don't do iso14443-4 select for mifare emulations on processor cards (IDPrime, SmartMX, ...)
2017-10-01 17:52:10 +02:00
pwpiwi
930763e86d
Use PolarSSL DES implementation (GPL 2 or later) for both client and firmware ( #378 )
...
to prevent licensing issues with ARM-Crypto-Lib (GPL 3 or later)
2017-08-22 10:04:47 +02:00
Iceman
7f2114d845
Update cmdhfmfu.c ( #332 )
...
* Update cmdhfmfu.c
CHG:
removed sniffed keys, amiibo pwd gen algo is known.
'hf mfu rdbl' - header output aligned
'hf mfu dump' - header output aligned
* Update cmdhfmfu.c
chg: adjusted KEYS_PWD_COUNT accordingly
2017-06-24 11:54:42 +02:00
marshmellow42
3d542a3dfa
coverity scan bug fixes
...
mfu keyNo buffer overflow
mf reader attack key count reduced to not overrun c.d.asBytes buffer.
2017-06-06 12:12:18 -04:00
pwpiwi
acf0582d53
Provide msclock() as Milliseconds timer for performance measures ( #231 )
...
- don't use clock(). It has different functionalities in Windows and Linux
- move sleep functions to util.h
2017-03-12 15:06:27 +01:00
pwpiwi
7cb8516cb5
Client code cleanup:
...
- cleanup some header files and respective #includes
- rearrange functions (definition before first use)
- use SCNxxx instead of PRIxxx macros in scanf()
- use stdbool true/false instead of self defined TRUE/FALSE
2017-03-06 21:03:13 +01:00
James Chambers
d172c17ca4
make clean_ascii a util function
2017-03-03 18:04:58 -05:00
James Chambers
4bbf5ad17d
clean up unprintable characters in MFU dump output
2017-03-03 17:38:51 -05:00
marshmellow42
2ec8773314
fix bug in pskdemod return value if no samples...
...
... caused crash in data psknexwatchdemod if no samples were in the
graphbuffer.
also fixed hf mfu wrbl and rdbl to allow printing of help without a tag
being present.
2015-06-23 12:16:23 -04:00
marshmellow42
7c8b5e6811
comment fudan check possibilities
2015-06-20 21:33:42 -04:00
marshmellow42
f4217d58b6
add ultralight compatible test
2015-06-18 17:19:43 -04:00
marshmellow42
4a74e2be72
add my_d move lean identification.
2015-06-01 00:18:03 -04:00
marshmellow42
be290d68bd
new lua script from @iceman1001 + bug fix in hf mfu
2015-05-31 16:08:58 -04:00
marshmellow42
22342f6dfe
Add clearCommandBuffer before SendCommand
...
adjust output of mfu rdbl to be consistent
fix output of mfu dump in case startPage was specified. (also was
missing "i" in second print...)
2015-05-26 10:40:23 -04:00
marshmellow42
79d7bcbb51
updated mfu rdbl and wrbl commands
...
@iceman1001 s rdbl and wrbl cmd updates.
dump screen output adjusted
2015-05-24 22:28:21 -04:00
marshmellow42
0ce03d9ab0
fix mfu dump getbigbuffer bug
...
Thanks @iceman1001 for catching my oops, and fixing it :)
2015-05-23 22:35:50 -04:00
marshmellow42
012c0761bd
hf mfu minor output adjustments
...
dump key placed properly for EV1 and NTAGs
config pages for ntags corrected in printout
note on config that PWD and PACK cannot
actually be read from memory (probably could just delete them (other
than it shows what memory block they are stored in for changing...)
2015-05-22 13:17:51 -04:00
marshmellow42
8f2e50b4c5
mfu info authkeyptr fix
...
didn't follow @iceman1001 s l parameter changes fully... fixed now..
:)
2015-05-22 07:29:18 -04:00
marshmellow42
06561c34ef
fix to dump cmd print keys.
...
add l option to info cmd.
add ascii print to dump (screen only)
other minor clean up
2015-05-22 00:15:57 -04:00
marshmellow42
efd193519c
hf mfu bug fixes, and help text fixes
2015-05-21 11:17:01 -04:00
marshmellow42
1c429594a1
further mfu info updates
...
needed to auth select when a command failed for locked tags.
some output cleanups from @iceman1001
2015-05-20 16:47:40 -04:00
marshmellow42
cd87ee9133
finish NTAG i2c +...
...
thanks iceman
2015-05-20 15:42:58 -04:00
marshmellow42
46fcd738e0
finish NTAG i2c +...
...
thanks @iceman1001
2015-05-20 15:41:48 -04:00
marshmellow42
8241872c47
ULEV1_48 had the wrong max block
2015-05-20 14:22:26 -04:00
marshmellow42
ea11861793
minor adjustments to hf mfu
2015-05-20 14:17:43 -04:00
marshmellow42
c7442b7673
Add NTAG i2c and bug fix
...
also streamlined select tag code
2015-05-20 14:06:46 -04:00
marshmellow42
a383f4b708
Add ntag 210, 212, 203 and bug fix
2015-05-20 11:27:44 -04:00
marshmellow42
29250969b0
@iceman1001 s comments/updates mfu cmds
2015-05-18 22:07:11 -04:00
marshmellow42
9d87eb6650
MF ultralight code cleanup
2015-05-18 13:11:00 -04:00
marshmellow42
8258f40969
Iceman1001 s MFU clean up
...
cleaned up MF UL_C auth code device side.
2015-05-17 20:49:25 -04:00
marshmellow42
cceabb79e6
mfu info / dump attempt at missing auths
...
NOT TESTED. will test soon. probably has bugs!
2015-05-16 01:00:31 -04:00
marshmellow42
ae8303c13c
mfu dump - beginning of additions
2015-05-15 01:19:58 -04:00
marshmellow42
5b99376a8f
hf mfu dump testing
2015-05-15 00:57:51 -04:00
marshmellow42
6fdf42c61c
minor hf mfu info adjustment from @iceman1001
2015-05-13 11:22:27 -04:00
marshmellow42
e6432f0579
@iceman1001 s coverity scan fixes
2015-05-13 11:14:17 -04:00
marshmellow42
2b3af97df2
various bug fixes
2015-05-13 11:07:47 -04:00
marshmellow42
a2e2bb8a15
hf mfu info - ICEMANS updates
...
plus slight change to UL_EV1 auth annotation.
2015-05-12 18:16:55 -04:00
marshmellow42
8ceb6b03e5
hf search - prelim - re-use hf mfu GetTagType...
...
in hf 14a reader to identify UL(+)
still a work in progress.
2015-05-12 00:19:44 -04:00
marshmellow42
2be768af57
hf mfu info bugs
2015-05-11 18:22:50 -04:00
marshmellow42
4693c188ab
minor hf mfu output consistancies
2015-05-11 16:25:11 -04:00
marshmellow42
345fb24aaa
hf mfu info - ICEMANS bug fixes.
2015-05-11 15:56:12 -04:00
marshmellow42
f04ef47311
hf mfu info bug fixes
2015-05-11 14:49:37 -04:00