Eloff
19cf50a6ff
Mifare Ultralight/NTAG simulation. Add WRITE and COMPATIBLE_WRITE support
2019-04-03 22:26:18 +03:00
Philippe Teuwen
07cc0d0a29
make style helped revealing my bug :)
2019-04-02 22:34:00 +02:00
Philippe Teuwen
64ce30c06c
make style
2019-04-02 22:32:45 +02:00
Philippe Teuwen
21be6d4400
FPC: got RX working, got client over usart somehow working..., see detailed commit msg
...
* using WITH_FPC:
* activate basic usart
* no double buffer for now, no interrupt
* usart_dataavailable/usart_readbuffer/usart_writebuffer, to demo it:
* pm3 client over USB, minicom over usart
* analyse a d 414243
* using WITH_FPC_HOST:
* it implies WITH_FPC as it's based on it
* control pm3 with client over usart
* EXPERIMENTAL! still some frame desync issues
* you can connect both from usart & USB with two pm3 clients
* actually you *have* to connect USB for the moment because
it's used to send debug messages about buggy usart... See Dbprintf_usb below
* "sessions": msgs are directed to the latest client to have sent a cmd
* Dbprintf_usb macro to send msgs to USB client to help debugging usart...
* We now have an option to run client at different speed as usart is 115200:
client/proxmark3 /dev/ttyUSB0 -b 115200
* Consequently, argc,argv handling is a bit revamped, it was so messy...
* USB and flashing are still at 460800, don't try flashing over usart yet ^^
2019-04-02 22:06:10 +02:00
Philippe Teuwen
7bd95dd5c3
FPC experiments: got so far TX_only, usart=115200 + usb=460800, see full commit msg
...
* Add \r\n to sent strings
* remove usart_init() from UsbPacketReceive cmd, it's already init in main.
* Add PLATFORM PM3RDV4FPC to ease dev
* TX: US_TCR is len of data to send, not len of buffer
* Use only one PDC bank as we're using it in sync
* Busy loop to wait for end of TX as we'using it in sync
* Change usart speed to 115200
* Don't downgrade USB speed, keep 460800
* Attempt to detect received data, fail so far
2019-04-02 01:06:03 +02:00
Philippe Teuwen
21b063da93
t55xx readblock: don't delay acquisition too much else we're sometimes off by one (observed when reading P1B1 on several cards)
2019-03-31 03:02:09 +02:00
Philippe Teuwen
4b00dd1053
lf write: leds
2019-03-31 01:14:20 +01:00
Philippe Teuwen
032062cfe9
Indala 64 on T55x7: use PSK1
2019-03-30 23:01:22 +01:00
Philippe Teuwen
db4aa08b78
make style
2019-03-28 14:19:41 +01:00
iceman1001
459835b5ca
fix: 'hf mf sim' - Mifare simulation now works against Android etc. Thanks to @eloff
2019-03-27 15:29:45 +01:00
iceman1001
52be3f4fe5
chg: 'lf indala clone' - differnt input parms. '-L' gives a long UID.
...
chg: 'lf indala demod' - tries to descramble parts, and detection is changed. Still issues with PSK2..
2019-03-26 09:09:43 +01:00
iceman1001
c939d99884
chg: remove LDC mod be default
2019-03-25 15:11:38 +01:00
iceman1001
ca9061bd32
changed byte_t -> uint8_t
2019-03-21 15:19:18 +01:00
iceman1001
ffdd91cab6
add: 'hf 14a info' - uid changeable tests, finds two kinds of Gen2 / CUID. 4byte / 7byte but there other Gen2 cards which will not be detected by this.
2019-03-21 12:53:05 +01:00
iceman1001
a41d6fbfb2
style
2019-03-19 10:26:52 +01:00
iceman1001
42bbf6a761
style
2019-03-19 10:26:36 +01:00
iceman1001
433f84ca0d
style
2019-03-18 22:25:21 +01:00
iceman1001
aa28143e16
style
2019-03-18 20:16:04 +01:00
iceman1001
4706d27903
reassigned
2019-03-18 20:11:19 +01:00
iceman1001
0ed99ce0c4
unsigned variables cant be negative
2019-03-18 17:16:27 +01:00
iceman1001
03f89d2f3f
chg: details
2019-03-18 13:44:51 +01:00
iceman1001
f24416a71e
clean
2019-03-18 13:42:17 +01:00
iceman1001
dcec5627d1
chg: unsigned byte can't be less than zero.
2019-03-18 13:41:59 +01:00
iceman1001
e925dc9f7a
clean
2019-03-17 21:53:26 +01:00
iceman1001
ca24b7ae74
chg: 'hf 14a sim' - send 4bit ACK/NACK responses
2019-03-17 21:52:14 +01:00
iceman1001
248135682c
mix in proxmark code..
2019-03-15 00:40:29 +01:00
osboxes.org
9c2736d1eb
spaces
2019-03-14 12:30:32 +01:00
iceman1001
5608df9771
chg: refactored away hitag logtrace.
2019-03-13 22:48:51 +01:00
iceman1001
b35ea2e352
chg: 'lf hitag writer' - refactored with timeouts etc.
...
chg: 'lf hitag' test without toggle mode enabled
2019-03-13 16:44:32 +01:00
Philippe Teuwen
a95ff04392
Fix mem leak in flash mem read
2019-03-13 12:46:03 +01:00
iceman1001
a117f06380
chg: refactoring of hitag (@piwi)
...
chg: refactoring of hitagS (@iceman)
2019-03-13 12:18:37 +01:00
iceman1001
c01497b8af
FIX: 'lf hitag' - init of TC0 missing (@piwi)
...
CHG: 'lf hitag' - factoring code (@iceman)
2019-03-13 10:16:12 +01:00
iceman1001
2563fa0472
moved some macro
2019-03-13 09:10:52 +01:00
Philippe Teuwen
92d94390ac
MifareChkKeys_fast: fix always false cond
2019-03-13 00:30:11 +01:00
Philippe Teuwen
091ddb26f0
lfops fcAll: avoid division by zero
2019-03-13 00:27:03 +01:00
Philippe Teuwen
d9308d912d
fix: shifting signed 32-bit value by 31 bits is undefined behaviour
2019-03-13 00:07:40 +01:00
Philippe Teuwen
4aeff95259
T55xx_ChkPwds: fix always false cond
2019-03-12 23:53:39 +01:00
Philippe Teuwen
61905d2b19
lfops: add ledcontrol in API
2019-03-12 23:51:30 +01:00
Philippe Teuwen
ebeab59bc4
lfops: remove always true conds
2019-03-12 23:50:43 +01:00
Philippe Teuwen
3807848171
fix DetectNACKbug: sync_cycles is signed
2019-03-12 23:37:53 +01:00
Philippe Teuwen
fb07fd92f3
epa: check EPA_PACE_MSE_Set_AT return value
2019-03-12 23:14:19 +01:00
Philippe Teuwen
2c41a61ee3
remove always true cond
2019-03-12 22:52:15 +01:00
Philippe Teuwen
d50de828a1
flash write: check first page write
2019-03-12 22:50:29 +01:00
Philippe Teuwen
049f41a22f
iso15693: fix strncat usage (one must specify available room, not total dest buffer size)
2019-03-12 21:55:36 +01:00
Philippe Teuwen
cdf0a56fad
iso15693: check memcpy and fix BuildInventoryResponse
...
BuildInventoryResponse was copying 5 bytes instead of 12 bytes in the cmd buffer
2019-03-12 21:55:36 +01:00
iceman1001
1d63258388
add: 'hf 14b raw' - added -t timeout option. see https://github.com/RfidResearchGroup/proxmark3/issues/125
2019-03-12 14:41:23 +01:00
iceman1001
35bc4a975e
rename SNOOP -> SNIFF
2019-03-12 13:15:39 +01:00
Philippe Teuwen
1b2601a48a
Add missing EOF LF
2019-03-12 00:12:26 +01:00
Philippe Teuwen
346af6e3d1
make style
2019-03-11 23:12:31 +01:00
iceman1001
ea53e1f981
clean up
2019-03-11 19:31:18 +01:00