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
iceman1001
780424fe11
chg: hitag2, some clean up, also testing to remove relay_off, since its never relay_on anywhere.
2019-03-11 14:56:03 +01:00
Philippe Teuwen
119e3f0ed9
Makefile: allow alternative platforms, try make PLATFORM=foo
2019-03-11 00:44:34 +01:00
iceman1001
b26e60dae9
turn off fpc default
2019-03-10 14:40:41 +01:00
iceman1001
40ccdb0e73
clean up
2019-03-10 14:39:46 +01:00
Philippe Teuwen
7d25c72e40
Makefile: recompile arm only when needed
2019-03-10 12:55:17 +01:00
Philippe Teuwen
2f12e57408
Makefiles: remove spurious spaces/tabs
2019-03-10 11:35:03 +01:00
Philippe Teuwen
961d929f4d
changing {} style to match majority of previous style
2019-03-10 11:20:22 +01:00
Philippe Teuwen
0373696662
make style
2019-03-10 00:00:59 +01:00
Philippe Teuwen
8a7c6825b5
armsrc: fix mix of spaces & tabs
2019-03-09 20:34:41 +01:00
iceman1001
a819d522c1
textual
2019-03-09 11:51:46 +01:00
iceman1001
f4409ab375
chg: revert it
2019-03-09 11:51:18 +01:00
Philippe Teuwen
957464ca88
armsrc Standalone: fix mix of spaces & tabs
2019-03-09 11:19:45 +01:00
Philippe Teuwen
60f292b18e
remove spurious spaces & tabs at end of lines
2019-03-09 08:59:13 +01:00
Philippe Teuwen
edc19f202a
Convert the few files with still Windows carriage returns
2019-03-09 08:49:41 +01:00
Philippe Teuwen
4160e32b0a
Replace isNoise by computeSignalProperties and removeSignalOffset
2019-03-08 19:06:55 +01:00
Philippe Teuwen
4ffeebc193
Fix return code check for iso14443b_select_card in hf epa
2019-03-05 16:39:26 +01:00
vratiskol
99dc51e005
Mem Leak
2019-02-24 22:02:09 +01:00
iceman1001
4ea05fc026
Fix: 'hf mf fchk' - now reports back correct found keys.
2019-02-17 15:56:45 +01:00
iceman1001
7934630d2b
FIX: Makefile bad styled calls
2019-02-14 19:27:39 +01:00
merlokk
69f3e65dd0
fix memmove if len=0
2019-02-05 18:39:03 +02:00
merlokk
0e5d896893
fix endless loop
2019-02-05 18:27:48 +02:00
bogiton
75aeec6507
Add led blink on successful flash write
2019-02-04 17:44:29 +00:00
merlokk
cf21f046d8
arm side
2019-01-30 18:15:47 +02:00
merlokk
1b3d96ab2d
add apdu chaining to arm side
2019-01-29 19:30:15 +02:00
iceman1001
8991fa172d
FIX: wrong define
2019-01-29 15:47:44 +01:00
iceman1001
730a7e8044
FIX: 'hf legic sim' - needed even more timeout.
...
see https://github.com/RfidResearchGroup/proxmark3/issues/83
2019-01-25 13:48:53 +01:00
iceman1001
803aab7431
FIX: 'hf legic sim' - longer timeout for writes? (@drandreas)
...
see https://github.com/RfidResearchGroup/proxmark3/issues/83
2019-01-25 11:58:00 +01:00
iceman1001
0bec6038b7
CHG: adjusted compiling for older devices
2019-01-23 10:57:49 +01:00
iceman1001
20c3cd5ce3
chg: adjusting license according to earlier commits to pm3 offical repo.
2019-01-14 12:02:26 +01:00
iceman1001
a5833fe390
CHG: remove strange thr 0x43 in LF sampling
...
CHG: refactor cotag init
2019-01-12 12:10:31 +01:00
iceman1001
f215ebef80
Refactored 'lf t55xx brute', split it up into two commands.
...
- lf t55xx brute (tries bruteforcing a range of pwds
- lf t55xx chk (uses dictionary file or RDV4 flashmem)
FIX: adjust lf sim (@marshmellow42) see 7008cf9c15
"attempt to speed up the loops waiting for carrier signal to go high or low
by only checking for a halt (button press or usbpol) every 256th loop
iteration. some users were experiencing modulating reactions to be too slow.
ADD: 'lf t55xx chk'
It uses @marshmellows42 idea behind commit (6178b085a0
)
With calculating a baseline (read block0 32times and average the signal-ish) and sampling only 1024 signal data. The algo then proceeds to calc the average and keep track of the candidate which is given the most difference in signal data average value. I do some squaring and shifting for this.
The candidate is then send back to client to be tested properly with trymodulation like before.
This seems to work good on t55xx card which has a ASK configuration.
WORK-IN-PROGRESS
2019-01-11 14:46:27 +01:00
iceman1001
8a514ea8f1
REM: remove unused files
2019-01-09 16:28:06 +01:00
iceman1001
e276bf1ce3
FIX: gcc8.1 warnings
2019-01-09 16:25:49 +01:00
iceman1001
6743e45386
CHG: name changes
2019-01-09 12:05:29 +01:00
iceman1001
2612cd006a
CHG: bigbuf adaptations
2019-01-09 12:00:06 +01:00
iceman1001
3ae871f534
CHG: 'hf 14a antifuzz' - original implementation by @asfabw, reworked a bit - WORK IN PROGRESS -
2019-01-07 09:32:16 +01:00
iceman1001
c1237cfa26
FIX: 'lg pcf7931' - improved read code (@sguerrini97)
2019-01-06 21:05:29 +01:00
iceman1001
c37cc81c00
CHG: FeliCa more details
2019-01-06 20:42:51 +01:00
iceman1001
0dee369a58
FIX: 'hf tune' - now works...
2019-01-06 20:28:23 +01:00
iceman1001
38853b111f
FIX: adding directives to reduce size on systems like Gentoo Hardned (see https://github.com/iceman1001/proxmark3/issues/268 )
2019-01-05 20:59:00 +01:00
iceman1001
6e281a08ed
CHG: 'hf mf fchk' - speed improvments by tweaking implementation.
...
CHG: 'hf mf fchk' - can use dictionary from flashmem if one is uploaded. (faster)
2019-01-02 11:52:13 +01:00
iceman1001
0fb0c35308
CHG: 'mem load' - the possibility to upload default_iclass_keys.dic, default_keys.dic, default_pwd.dic to predefined flashmemory sections. These will be used in pwd / key checking algorithms on device.
...
CHG: 'script run read_pwd_mem.lua' - script now can print those uploaded dictionary files.
How to upload
pm3 --> mem load f default_iclass_keys i
pm3 --> mem load f default_keys m
pm3 --> mem load f default_pwd t
How to validate / view
PM3 -->scr run read_pwd_mem -o 237568 -k 8
pm3 -->scr run read_pwd_mem -o 241664 -k 6
pm3 -->scr run read_pwd_mem -o 245760 -k 4
2019-01-01 18:01:40 +01:00
Chris
f8c33af1da
CHG: FPC connector tests. Device -> Client communications works.
...
Adjust armsrc/Makefile and client/Makefile to include the -DWITH_FPC flag to compile with FPC enabled.
2018-11-20 10:58:32 +01:00
Chris
aa3b322d0f
chg: 'analyze a' - some fpc test changes.
2018-11-16 23:59:14 +01:00
Chris
faef1a0938
chg: lf simulation - trying the new clock for better timings.
2018-11-16 23:57:55 +01:00
Chris
fd1c0cac79
FIX: 'standalone mode MattyRun' - compiles and should even work
...
CHG: 'standalone mode' - generic banner for each mode. Updated the ledshow to @cjbrigato
2018-11-16 02:52:42 +01:00
Chris
9bff2ab74f
CHG: cleaning up
2018-11-14 15:06:28 +01:00
Chris
bac3ad077e
FIX: 'standalone mode colinrun' - buffer overrun (thanks @angelsl)
...
1aa974fc70
2018-11-14 09:05:08 +01:00
merlokk
1f1d8bfc0b
fixed armside epa.c
2018-11-08 20:29:29 +02:00
merlokk
0cfa47e628
merged iso14 arm side
2018-11-08 20:29:08 +02:00
RFID Research Group
ce30c29f47
Merge branch 'master' into master
2018-11-07 12:12:47 +01:00
Chris
078196773c
CHG: 'standalone bogitorun' - adapted some ledshow from Kigiv mode and increased time for user to stop pressing button after triggering the mode..
2018-11-06 22:20:55 +01:00
Chris
5a03ea7135
chg: 'standalone mode BogRun' - cleaning
2018-11-06 19:14:19 +01:00
Chris
4d124c46f2
chg: 'standlone mode colinrun aka KIGIV' - made it smaller to fit a normal compilation of fullimage
2018-11-06 19:13:06 +01:00
bogiton
d6d96eb7fe
Fixed offset bug (thanks iceman)
2018-11-06 13:36:00 +00:00
Chris
98e24013cf
chg: 'hf mf chk' - since the function ends with droping the field, lets just make sure the field is off to start with.
2018-11-05 22:34:46 +01:00
Chris
4da4b33d8d
fix: 'lf t55xx deviceconfig' - bug that failed to load default values if wiped flashmem.
2018-11-01 19:51:45 +01:00
RFID Research Group
8759c0a9f7
Merge pull request #44 from bogiton/master
...
Standalone HF Sniff (and ULC/NTAG/ULEV1 pwd storing)
2018-10-28 15:31:50 +01:00
bogiton
2718e783dc
Added small description
2018-10-28 13:54:38 +00:00
bogiton
43f90181b3
Update hf_bog.c
2018-10-28 13:34:42 +00:00
bogiton
9bd7770dfe
Revert to default standalone mode
2018-10-28 12:04:44 +00:00
bogiton
785ab8f73e
Baudrate and optimization (removed counter)
2018-10-28 12:01:36 +00:00
bogiton
34775c81f5
Added BogitoRun identification
2018-10-21 18:29:49 +00:00
Chris
22fb92f9c8
sugar
2018-10-21 19:51:22 +02:00
bogiton
1c2af2a5ed
Added hf_bog standalone
2018-10-16 19:50:18 +00:00
bogiton
8079613b37
Add check for the HF_BOG directive for RunMod
2018-10-16 19:41:05 +00:00
bogiton
34c1da7ad4
Include the HF_BOG standalone mode
2018-10-16 19:39:29 +00:00
Chris
dc67b5d7c9
chg: revert fpga_major mode in LF.
...
chg: 'lf t55xx deviceconfig' - persistence to flashmem is now option with param P
2018-09-23 05:29:55 +02:00
Chris
d596343438
chg: 'lf t55xx deviceconfig' - assume total time, and writeenable when writting...
2018-09-16 20:48:39 +02:00
Chris
02cc278e19
chg: remove warnings on coverity
...
chg: encapsule flasmem function calls
2018-09-16 20:47:23 +02:00
TomHarkness
3e9397e337
Fix syntax
2018-09-15 16:20:44 +10:00
Chris
43c399876f
chg: helptext
2018-09-12 07:59:43 +02:00
Chris
ba2543b627
ADD: 'lf t55xx deviceconfig' - command that allows for setting t55xx timings via the client. If run on a RDV40, it also saves the config to flashmemory. This gives you option to have custom timings for your custom antenna in order for your RDV40 to work optimal against a t55xx tag and with your custom antenna. (@iceman)
2018-09-11 18:35:07 +02:00
Chris
9ee550af45
FIX: lf t55xx detect works better with adjusted timings
...
CHG: applied fpga_off patch.
2018-09-10 21:45:00 +02:00
Chris
90f29bf430
chg: call specific noise function
2018-09-09 11:29:37 +02:00
Chris
ba9de80eeb
chg: 'hf legic sim' break sim by sending another cmd
2018-09-09 11:29:11 +02:00
Chris
79afc031fc
FIX: LF antenna discharge after interfer timings. As suggested by @ts And thanks to @drandreas who patiently explains fpga verilog code to me.
...
This introduces a new majoe mode, FPGA_MAJOR_MODE_OFF_LF, which should ONLY be used in sending loops for LF. Basically the PWR_LO is set HIGH in order to discharge voltage faster.
Once sending is over, the normal FPGA_MAJOR_MODE_OFF SHALL be used.
2018-09-08 14:11:51 +02:00
Chris
e5e8c0b5d8
not needed anymore
2018-09-07 23:45:08 +02:00
Chris
24eaac8681
CHG: the thread comms refactoring from offical pm3 repo
...
chg: FPC com speed limited to 115200 when compiled with FPC
chg: USART remake (@drandreas)
2018-09-06 21:43:20 +02:00
RFID Research Group
eb0b5116a2
Merge pull request #25 from drandreas/rdv4-legic
...
Legic Tag Simulator
2018-09-06 20:26:39 +02:00
Colin J. Brigato
7e12fc0ceb
Pass 2; commit 3/3;
2018-09-06 05:34:48 +02:00
Colin J. Brigato
368fe11df0
Second Pass rewrite of flashmem. added command 'mem spibaud' to switch between 24/48Mhz operation. All is more consistant, less messy. All logic rewrittent avoiding multiple flashinit/flashstop. busywait is now at it's lowest possible. Beware : 48Mhz is VERY buggy cause of sillicon bug (see source for more info), and doesn't give much more than 24Mhz for now since we doubled nearly every operation speed here.
2018-09-06 05:15:52 +02:00
AntiCat
e1fa1e659a
Legic: Implemented write command for card simulation
2018-09-05 23:03:05 +02:00
AntiCat
2981fe7ce8
Legic: Implemented read command for card simulation
2018-09-05 23:03:05 +02:00
AntiCat
cd78b00815
Legic: Implemented setup phase for card simulation
2018-09-05 23:03:05 +02:00
AntiCat
2c6c4e5bc6
Legic: Implemented trace log
2018-09-05 23:03:05 +02:00
AntiCat
fe91a3f52f
Legic: Implemented RX and TX for card simulation
2018-09-05 23:03:05 +02:00
AntiCat
61e4eac2b2
Legic: Moved card simulator into separate file & cleaned interface.
...
Reader and card simulation have almost no common code. Moreover the sim
uses an SSP Clock at 212kHz for all timings to prevent any drifting from
the PRNG. This clock speed is not available in reader simulation mode (SSP
runs at up to 3.4MHz, and changes speed between TX and RX). For these
reasons having the code in separate files makes it significantly cleaner.
2018-09-05 23:03:04 +02:00
Colin J. Brigato
76e2d7502a
Merge remote-tracking branch 'upstream/master'
2018-09-05 20:39:56 +02:00
Colin J. Brigato
2263c826db
Restore Makefile, temporiraly provide Makefile.Colin
2018-09-05 20:34:28 +02:00
Chris
4c72acaf63
FIX: cleanup code, sync of output texts.
2018-09-05 18:58:58 +02:00
Chris
4c37126baf
cleanup
2018-09-05 18:58:04 +02:00
def
b7bdc69e5a
lfops.c CmdEM410xdemod empty TAG ID fix.
2018-09-05 17:50:31 +03:00
Chris
307063474d
CHG: cleanup
2018-09-04 20:36:25 +02:00
Chris
ac6bd61544
FIX: longer t55xx timings to compensate for delay of field damping, and minor adjustments.
2018-09-04 20:35:29 +02:00
Chris
e12d22b6d9
FIX: 'LF Standalone modes' - Ensure that noise check is performed for any device-side processing otherwise device-side processing will see all LF signals as noise.
...
From: 8bddce8096
2018-09-04 20:32:52 +02:00
Chris
27a036b087
FIX: logic behind compiler directive is now correct
2018-09-04 20:31:12 +02:00
Iceman
701b96d7fe
Update readme.md
2018-09-03 22:45:01 +02:00
Chris
76e7603ef1
textual
2018-09-03 22:36:43 +02:00
Chris
0e3ba1c058
CHG: easier to configure compilation of standalone mode. Just swap -D directive once your new standalone mode is ready and you added your code for it
...
based on a modification by @marshmellow42
2018-09-03 22:27:18 +02:00
Colin J. Brigato
8d673fa1bf
First pass rewrite of flashmem driver for optimization. Lot of changes here. Provides PoC of saving and recalling a tag in Standalone mode. Added some printing passthrough to client to azccomodate for vt100 eye-candyness. FastREAD mode implemented for flashmem, testable from client. Beta but functionnal. Reading the whole flash with 1Kb to 32kb buffers was ~730ms, now 380ms Max (even at 24Mhz spi baudrate)
2018-09-03 00:02:44 +02:00
Chris
f1d0e9db4d
fix: revert back
2018-08-29 19:42:46 +02:00
Chris
42e883f67b
FIX: print_result - now prints correct len.
...
FIX: DOWNLOAD_BUFFER - now with correct result logic
2018-08-28 21:15:28 +02:00
Chris
ca5b476730
FIX: 'standanlonemode colin' - mifare1ksim called with correct params (@cjbrigato)
2018-08-26 08:19:59 +02:00
Chris
2eab02e3ba
CHG: 'standalone mode MattyRun' - added some comments and suggestion
2018-08-25 23:26:04 +02:00
Chris
fe332a1f2b
removed unneeded ramfunc attribute
2018-08-13 23:50:17 +02:00
Chris
91dea8d694
code clean.
2018-08-13 23:49:33 +02:00
Chris
5f77121694
initial commit to be in sync the-soon-defunct repo pm3rdv40.
2018-08-12 21:54:31 +02:00
Andreas Dröscher
9ba20b590a
change: reduced demodulator to bare minimum
...
The initial code added complexity without improving reading distance.
Thankfully the peak detection signal path has a low noise floor.
2018-08-12 12:51:45 +02:00
Andreas Dröscher
0d0b651246
change: re-added trace log
2018-08-12 12:51:45 +02:00
Andreas Dröscher
ff5b046903
change: re-added status LEDs
...
- LED_A: FPGA and 13.56MHz carrier is active
- LED_B: Reading Byte
- LED_C: Writing Byte
2018-08-12 12:41:45 +02:00
Andreas Dröscher
e052fbc433
change: re-added legic write support
2018-08-12 12:41:45 +02:00
Andreas Dröscher
9d330dde87
fix: 32bit tick timer based on TC0 and TC1
...
TC1 counts the number of TC0 overflows (carry bits).
In random conditions TC1 would return or stay at zero,
instead of counting up. This due to the behavior of the
reset signal.
SAM7S Series Datasheet, 33.5.6 Trigger:
Regardless of the trigger used, it will be taken into account
at the following active edge of the selected clock. This means
that the counter value can be read differently from zero just
after a trigger, especially when a low frequency signal is
selected as the clock.
The new code first prepares TC1 and asserts TC1 trigger and
then prepares TC0 and asserts TC0 trigger. The TC0 start-up
will reset TC1.
2018-08-12 12:41:11 +02:00
Andreas Dröscher
c06f0af7f3
change: switched from timestamps (us) to ticks
...
GetCountUS() has a jitter of +/- 7us this is not precise
enough to keep the PRNG in sync. 1.5 * GET_TICKS on the
other hand is spot on.
2018-08-12 09:59:48 +02:00
Andreas Dröscher
e0adc976e0
change: added rx/tx coordination timestamp
2018-08-12 09:59:48 +02:00
Andreas Dröscher
7244f5825d
change: legic reader tx back to bigbang
...
I've tried to modulate the Legic specific pause-puls using ssc and the default
ssc clock of 105.4 kHz (bit periode of 9.4us) - previous commit. However,
the timing was not precise enough. By increasing the ssc clock this could
be circumvented, but the adventage over bitbang would be little.
2018-08-12 09:59:48 +02:00
Andreas Dröscher
3029223158
change: legic reader now uses xcorrelation and ssc based io
...
- Even tough legic tags transmit just AM using xcorrelation
results in a significantly better signal quality.
- Switching from bit bang to a hardware based ssc frees
up CPU time for other tasks e.g. demodulation
2018-08-12 09:59:48 +02:00
Andreas Dröscher
c59150657c
add: xcorr 211.875 kHz option
...
The FPGA supported this frequency for a long time, just the ARM code
had no define to enable it.
2018-08-12 09:59:48 +02:00
Andreas Dröscher
db70ab8f7d
change: remove broken legic simulator
...
It will be rewritten in a later commit
2018-08-12 09:59:48 +02:00
Andreas Dröscher
8a53137ab0
change: remove dead legic code
...
This code was either disabled or never reached.
2018-08-12 09:59:48 +02:00
Andreas Dröscher
e779f06c5e
change: clean up Legic interface
...
I see no adventage in poluting all sources that include legicrf.h
with our internal depedencies (includes) and function names.
2018-08-12 09:59:48 +02:00
Iceman
c339035ec5
Revert "WIP: Clean Legic Reader"
2018-08-06 15:05:36 +02:00
Andreas Dröscher
058426fa17
change: added rx/tx coordination timestamp
2018-08-05 00:57:20 +02:00
Andreas Dröscher
8f797d1388
change: legic reader tx back to bigbang
...
I've tried to modulate the Legic specific pause-puls using ssc and the default
ssc clock of 105.4 kHz (bit periode of 9.4us) - previous commit. However,
the timing was not precise enough. By increasing the ssc clock this could
be circumvented, but the adventage over bitbang would be little.
2018-08-05 00:57:20 +02:00
Andreas Dröscher
78d5188922
change: legic reader now uses xcorrelation and ssc based io
...
- Even tough legic tags transmit just AM using xcorrelation
results in a significantly better signal quality.
- Switching from bit bang to a hardware based ssc frees
up CPU time for other tasks e.g. demodulation
2018-08-04 23:13:17 +02:00
Andreas Dröscher
d7c57dbc08
add: xcorr 211.875 kHz option
...
The FPGA supported this frequency for a long time, just the ARM code
had no define to enable it.
2018-08-04 23:13:17 +02:00
Andreas Dröscher
1adff322b1
change: remove broken legic simulator
...
It will be rewritten in a later commit
2018-08-04 23:13:17 +02:00
Andreas Dröscher
33eb2f5fa0
change: remove dead legic code
...
This code was either disabled or never reached.
2018-08-04 23:13:17 +02:00
Andreas Dröscher
37867fbf3b
change: clean up Legic interface
...
I see no adventage in poluting all sources that include legicrf.h
with our internal depedencies (includes) and function names.
2018-08-04 23:13:17 +02:00
Chris
bacf8aff0f
add: FPC connector skeleton usart. Not working but if will be a starting point for those who might want to help out with it.
2018-07-30 09:54:44 +02:00
iceman1001
08d9d9daf9
cleaning
2018-07-29 18:20:56 +02:00
iceman1001
c082531110
fix: potential implicit type cast issue (Thanks to @drandreas for pointing it out)
2018-07-29 18:20:39 +02:00
iceman1001
506da3ff4c
textual
2018-07-29 16:30:36 +02:00
iceman1001
4172ea6c19
cleanup
2018-07-28 14:26:37 +02:00
iceman1001
4d8488e14b
CHG: https://github.com/Proxmark/proxmark3/pull/631 from offical repo. (piwi)
...
CHG: textual adjustments
2018-07-28 14:25:12 +02:00
Chris
afeb0d0cd7
fix: removes unneeded floating point lib inclusion (@piwi)
2018-07-23 21:02:13 +02:00
Chris
fff2f51cfb
chg: testing to switch from WaitXX calls to SpinDelay, they seem to mess up
2018-07-06 09:10:13 +02:00
Chris
79158c7360
chg; preparing for more cmds.
2018-07-06 00:24:04 +02:00
Chris
36d774506c
chg: 'sm raw' - implemented 'r' don't read reply
2018-07-05 21:10:21 +02:00
Chris
2ccbde8110
chg: 'flashmem' - adjust debugstatemnts
2018-07-05 20:29:16 +02:00
Chris
fca841122f
chg: 'sc reader' - hooked up atr.
2018-07-05 16:32:10 +02:00
Chris
ee006c6a7b
add: sc upgrade - beta test
2018-07-05 14:38:31 +02:00
Chris
e7342e7402
chg: 'sc upgr' shouldnt print too much
2018-07-05 11:37:04 +02:00
Chris
f70b8be5de
add: 'sc' - smart card commad [rdv40]
...
chg: test to read out firmware
2018-07-05 10:48:24 +02:00
Chris
3ecff83de2
chg: clean up
2018-07-04 15:29:27 +02:00
Chris
9571cf1d13
chg: and wrap FPC code with defines..
2018-07-04 13:05:23 +02:00
Chris
a32052b5e6
chg: and remove link to FPC code
2018-07-04 13:01:53 +02:00
Chris
392161e20e
chg: don't compile FPC yet
2018-07-04 12:58:28 +02:00
Chris
8f06f85cc4
DEL: removed old smartcard files
2018-07-04 12:22:12 +02:00
Chris
49735b62f1
syntax sugar
2018-07-04 12:20:08 +02:00
Chris
adb9e94487
chg: OR values
2018-07-04 12:19:29 +02:00
Chris
e09f9cbb32
add: RDV40 smart card module comms ( Thanks to @Willok! ) bitbanging i2c with it
2018-07-04 12:19:04 +02:00
Chris
ed5367a124
chg: adjusting 14b demod to increase reading distance
2018-06-30 22:48:59 +02:00
Chris
2b294912ee
chg: 'hf iclass chk' - enabled credit/debit key selction
...
chg: 'hf iclass lookup' - enabled credit/debit key selction
fix: first item in dictionary file now correct identified
chg: code cleanup
2018-06-30 22:47:07 +02:00
Chris
abdd51b6b3
chg: 'hf mf sim' led
2018-06-23 06:31:42 +02:00
Chris
4633e2083a
debug
2018-06-23 06:30:47 +02:00
Chris
28a4260ee9
chg: 14b fixes
2018-06-19 12:57:27 +02:00
Chris
d9e8b63363
chg: setting pins
2018-06-13 14:38:46 +02:00
iceman1001
bd857b263f
syntax
2018-05-22 12:10:02 +02:00
iceman1001
501c29f76d
add: support for reading flashmem
2018-05-22 12:09:17 +02:00
iceman1001
6b7819276d
add: 'mem info' - rudamentary support for new command.
2018-05-06 09:26:06 +02:00
iceman1001
110a7b28cb
chg: 'hf 14a sim' - possibility to simulate FM11RF005SH (@maozhenyu123)
...
chg: 'hf 14a info' - tag identification for FM11RF005SH (@maozhenyu123)
Fudan FM11RF005SH , has 512bit mem, 16blocks w 4bytes / block.
Support REQA, READ, WRITE, AUTH. Unknown how the auth is done.
The ATQA/SAK , or a trace from one of these tags would be intersting to look at.
2018-05-06 09:24:28 +02:00
iceman1001
3e7576c86d
fix: 'hf mfu rdbl'
...
fix: 'hf mfu dump' - bad exit strategy
2018-05-03 22:41:28 +02:00
iceman1001
4cd72b95c5
fix: coverty scan #277726 , unsigned value comparision always true.
2018-05-03 20:36:01 +02:00
iceman1001
989b80007c
chg: removed debugstatements
2018-05-03 16:20:46 +02:00
iceman1001
e50fef6607
fix: 'mem load' - wrong offset when uploading
2018-05-03 16:10:38 +02:00
iceman1001
021c0a1349
ADD: 'mem' commands. For RDV40 devices only.
...
If you don't have one, comment out inside client/Makefile this line
CFLAGS += -DWITH_FLASH
2018-05-03 12:15:03 +02:00
iceman1001
207fa2b574
add: potential fix for OSX uses, by @piwi
...
chg: adapting fix to support iceman forks extended commands.
2018-05-02 08:11:29 +02:00
iceman1001
98f0e9a284
fix: print.c on device doesn't have support for formatter %f
2018-04-27 12:16:35 +02:00
iceman1001
271cb3e1cc
chg: \r didn't work well with printandlogex
...
chg: spaces
chg: cleaning
2018-04-27 12:15:26 +02:00
iceman1001
2017f321b7
fix: memory issue, took all bigbuff
2018-04-25 01:33:25 +02:00
iceman1001
695d4cbb51
chg: fix coverity scan bug, variable is treated like a array
2018-04-20 20:07:41 +02:00
iceman1001
6ab1b285a0
chg.
2018-04-20 19:50:56 +02:00
iceman1001
f5718fb448
chg: wiping / reading / writing flashmem
2018-04-20 16:11:10 +02:00
iceman1001
a746699f5f
chg: reading / writing flashmem works better now.
2018-04-19 00:27:44 +02:00
iceman1001
42569a6f13
chg: adjusting for DEFINE usages.
2018-04-18 16:17:49 +02:00
iceman1001
0492df266c
chg: only print if compiled with smartcard flag
2018-04-18 12:41:03 +02:00
iceman1001
d4c0de0c3c
chg: turn off led A
2018-04-16 20:19:44 +02:00
iceman1001
a615fd6a9e
chg: smartcard , testing to use pwm clock instead of timer clock.
...
chg: added some comments
2018-04-16 19:58:49 +02:00
iceman1001
192aa9abd7
CHG: renamed iso7816 files
...
ADD: smartcard functionality (big thanks to Chris Nocker!)
2018-04-08 10:51:19 +02:00
iceman1001
726edb87cb
chg: flashmem unique id is 64bit
2018-04-08 10:24:24 +02:00
iceman1001
3f5aab8f05
chg: preparing for iso7816 module statuses
2018-04-03 11:45:20 +02:00
iceman1001
141cde93dd
add: buzzer code from elechouse repo
2018-03-31 10:44:44 +02:00
iceman1001
a37518b1c3
chg: renamed smartcard.c -> iso7816.c
...
chg: default standalone mode is LF_SAMY.. The HF_COLIN takes a lot of space
2018-03-31 10:43:09 +02:00
iceman1001
836d7370c3
spaces
2018-03-31 10:36:39 +02:00
iceman1001
3d956e686b
chg: flashmem adaptions
2018-03-31 10:35:40 +02:00
angelsl
1aa974fc70
Fix buffer overrun in hf_colin
2018-03-25 21:16:23 +08:00
iceman1001
fd1b86d607
ADD: flashmemory functionality for RDV40 Huge thanks to @willok !
2018-03-19 15:58:50 +01:00
iceman1001
0eca7e3977
chg: #define rename
2018-03-16 08:58:07 +01:00
iceman1001
3438d016c7
idea based on @jamchamb PR in official pm3 https://github.com/Proxmark/proxmark3/pull/584
2018-03-15 20:06:12 +01:00
iceman1001
ce418fb720
chg: 'hf mfu read'
...
chg: 'hf mfu dump' - 5 retries if failed readblock. Loop for CRC error or incomplete reads.
This will make reading / dumping more stable.
2018-03-15 19:59:33 +01:00
iceman1001
5690c0f5bc
chg: 'hw detectreader' - kind of useless previous change, measuring from two different readers, the max was 18.8v and 20.1v Not even close to 36v the standard ADC is configured
2018-03-15 10:48:57 +01:00
iceman1001
c3ba3f306f
chg: 'hw detectreader' - RDV40 adjustment
2018-03-15 09:25:22 +01:00
iceman1001
62814fd352
fix: 'hw detectreader' - adapted to PM3 RDV40 for HF measures.
2018-03-15 09:20:21 +01:00
iceman1001
7e0455aa0c
ADD: 'MattyRun' standalone - added the MattyRun standalone mode. *untested compilation*
2018-03-12 12:27:43 +01:00
Colin J. Brigato
9147698e97
UPDATES HF_COLIN to current
2018-03-10 13:13:21 +01:00
iceman1001
7fb6aa21ab
chg: skeleton files for smartcard / flashmem
2018-03-05 20:08:28 +01:00
iceman1001
857bc8ab66
ADD: SmartCard skeleton
2018-03-04 14:14:08 +01:00
iceman1001
802994d30a
add: 'hf 14 antifuzz' - the outline for the new functionality which fuzzes the anticollision phase ISO 14443a.
2018-02-28 13:21:47 +01:00
iceman1001
8083bfec32
add: marshmellow42 's fix for cotag endless loops
2018-02-28 08:08:07 +01:00
iceman1001
8eb0a42b5a
chg: adjustments
2018-02-28 08:04:53 +01:00
iceman1001
535c92fee5
FIX: added @marshmellow42 's fix for #514 (offical repo) lf search hang with no tag on antenna.
2018-02-28 07:59:41 +01:00
iceman1001
567a312cf4
chg: textual
2018-02-25 16:04:55 +01:00
iceman1001
7b9ba2de8e
chg: standalone modes - adapted for HF_COLIN aswell, for easier compilation
2018-02-25 16:04:24 +01:00
iceman1001
23ecd4154a
FIX: standalone mode HF_COLIN - it now compiles.
2018-02-25 08:15:38 +01:00
iceman1001
22715e7a99
minor adjustements
2018-02-22 15:13:43 +01:00
iceman1001
87b3df94c1
chg: minor syntax
2018-02-22 15:04:49 +01:00
iceman1001
1c37981430
fix: StandAloneMode proxbrute - missing variable and missing define. ZERO = 0.
2018-02-22 15:03:20 +01:00
iceman1001
92a42c2189
fix: wrong define
2018-02-21 09:03:02 +01:00
iceman1001
ab77b8a3d9
chg: ..oring..
2018-02-21 08:30:47 +01:00
iceman1001
cfff094bc3
SPI comments
2018-02-20 12:06:03 +01:00
iceman1001
d54c4d3e05
chg: SPI tests for flashmem on PA10. (aka pm3 evo) Peripheral B, fixed.
2018-02-20 12:03:11 +01:00
iceman1001
6c6aad6196
chg: SPI configuration. adjustments with defines, makes easier to understand
2018-02-20 12:01:22 +01:00
iceman1001
229ce1a156
chg: 'lf cmdread' - lowered the waiting times for antenna to power down / up
2018-02-18 10:37:13 +01:00
iceman1001
a21ab49f14
chg: moved flash mem config for spi into flashmem.c
...
chg: fpgasendcommand, now waits until command has been sent to fpga.
2018-02-18 10:35:36 +01:00
iceman1001
35bdf6a58d
FIX: Accourding to errata, a SPI reset should be executed twice.
2018-02-17 17:35:54 +01:00
iceman1001
b0d3362eef
chg: adjusted to macros
2018-02-16 20:45:13 +01:00
iceman1001
103e0b5191
chg: more tests
2018-02-15 09:19:13 +01:00
iceman1001
d20b11a288
chg: chips select
2018-02-15 09:18:31 +01:00
iceman1001
18aa477a55
chg: 'lf cmdread' -adjustments, @marshmellow42
2018-02-14 21:45:36 +01:00
iceman1001
b2a3b0f72a
chg: 'lf cmdread' @marshmellow42 improvements from https://github.com/Proxmark/proxmark3/pull/570
...
chg: and some adaptations..
2018-02-14 21:40:52 +01:00
Federico Cerutti
2dbe5ad720
Fix for uneven octet error when no data is received
2018-02-14 15:48:28 +01:00
iceman1001
d0da96bf8a
remove warning "missleading-indentation"
...
flashmen spi 9bits?
2018-02-13 16:13:37 +01:00
iceman1001
46d540490f
chg: add response ack.
2018-02-13 15:45:15 +01:00
iceman1001
1709c1ce1a
chg: flash_mem - hooked up client - device comms
2018-02-13 15:36:20 +01:00
iceman1001
0495e93b6d
add: flash memory support
2018-02-13 14:12:28 +01:00
iceman1001
ad73af95c2
ADD: beginning to add SPI to access flash memory.
2018-02-13 11:41:23 +01:00
iceman1001
85b2533435
chg: 'hw tune' device side should be unsigned and only 1024 (10b ADC)
2018-02-13 11:40:05 +01:00
iceman1001
dc66765306
chg: 'lf cmdread' - adjusting loop
2018-02-09 00:27:02 +01:00
iceman1001
5adb9af78f
chg: 'hw tune' - compensating the 3% error marginal.
2018-02-09 00:25:45 +01:00
iceman1001
fe34cac012
FIX: 'hf mf darkside' - no more WDT crashes. plus positive sideeffects (@pwpiwi)
...
https://github.com/Proxmark/proxmark3/pull/569
2018-02-08 19:11:35 +01:00
iceman1001
de631c32ac
textual
2018-02-08 10:31:23 +01:00
iceman1001
ff07af84bf
fix: StandAloneMode samyrun, proxbrute, - id values are unsigned
2018-02-08 09:55:23 +01:00
iceman1001
374571046d
remove debug..
2018-02-07 20:12:16 +01:00
iceman1001
aee5fcb24a
debugs
2018-02-07 17:22:23 +01:00
iceman1001
094b5db9c5
fix: configure mux at startup
2018-02-07 17:21:51 +01:00
iceman1001
a2ac368fdb
fix.. wrong switch
2018-02-07 13:14:04 +01:00
iceman1001
75d04307a1
chg: adapting some HF voltage readings.
2018-02-07 13:11:10 +01:00
iceman1001
3d2fd2e3a1
FIX: start up,MUXSEL_HIPKD(PA19),MUXSEL_LOPKD(PA20) are floating state. Should adapt FPGA image aswell.
2018-02-07 12:08:50 +01:00
iceman1001
13bb29a386
fix: 'hf mf fchk' - releasing memory when finished is a good thing
2018-02-05 22:59:49 +01:00
iceman1001
3464fbe1df
fix 'hf mf darkside' - adapted solution from @pwpivi
2018-02-05 20:46:14 +01:00
iceman1001
fca1c9b7cf
chg: 'hf mf mifare' - (deviceside) reset cycles when negative or too large
2018-02-05 16:47:10 +01:00
Jean-Pierre Clair
847656c613
spelling error authetication instead of authentication
2018-02-05 14:09:38 +01:00
iceman1001
6605d92fbb
chg: tried making the reselect more stable.
...
chg: 'hf iclass readblk'
chg: 'hf iclass writeblk'
chg: 'hf iclass dump'
chg: 'hf iclass clone'
all commands now has 'v' verbose parameter for more detailed output.
2018-02-04 12:25:55 +01:00
iceman1001
6a9ddf6e69
chg 'hf iclass chk' - increased timeout, switch off antenna before each run in order to reset card, three retires. all this make it more stable.
2018-02-04 10:20:38 +01:00
iceman1001
dc25f9212f
FIX: 'hf iclass sim 2'
...
FIX: 'hf iclass sim 4'
FIX: 'hf iclass loclass' - this fixes the bug where loclass assumes the epurse value is all zeros, while it now should save the epurse value during the simulation if it is updated/read.
I assume a empty valid epurse, while an all zero epurse is too much easy to detect as a anomaly.
2018-02-04 00:52:29 +01:00
iceman1001
856e2770a6
chg: 'hf iclass sim' different output
2018-02-01 17:44:27 +01:00
iceman1001
e0373212a3
chg: 'hf iclass sim' - sim2, 4 get less default output, set DBG 4 for verbose
2018-02-01 16:10:24 +01:00
iceman1001
fa5b550fa8
chg: should be a define.
2018-02-01 15:35:00 +01:00
iceman1001
145bccdea8
chg: wrong type
2018-02-01 15:33:10 +01:00
iceman1001
519cc72966
chg: crc change
2018-02-01 15:22:01 +01:00
iceman1001
52d69ed4ee
CHG: refactor CRC16 algos. This is a big change, most likely some parts broke, hard to test it all.
2018-02-01 15:19:47 +01:00
iceman1001
721ba5d287
fix: 'hf iclass sim' - too small buffers caused sim to fail
2018-02-01 09:31:30 +01:00
iceman1001
c6207d09e1
chg: 'hf felica reader' is better, almost working good
2018-01-30 03:29:37 +01:00
iceman1001
50743b7e88
rem: 'hf iclass' blocknum LUT is gone. Removed also functionality for it.
2018-01-29 16:44:49 +01:00
iceman1001
5c380767e8
chg: 'hf iclass' removed a blocknum LUT implementation. My guess is the new crc16_iclass will do fine.
2018-01-29 16:38:03 +01:00
iceman1001
b39332e938
REM: 'hf 15 debug' removed command, unified with mf_debuglevel instead. The idea is to have ONE debug flag on deviceside.
2018-01-29 15:58:00 +01:00
iceman1001
787d87e0e6
testing to make dma buffer larger.
2018-01-29 13:42:42 +01:00
iceman1001
c04ac4f9ac
ADD: 'hf felica reader' - added pm3 as FeliCa reader
...
ADD: raw commands - added the basis for sending RAW commands to FeliCa.
CHG: CRC16 rework, uses table based implementation. This will change more functions as I go on.
2018-01-29 13:42:02 +01:00
iceman1001
fd854a9308
chg: added Abrasive's uart implementation, its simpler to understand but the downside it doesn't do both speeds. (1/4 , 1/2556).
...
ref 2b8bff7dae
2018-01-28 12:36:41 +01:00
iceman1001
57df6a1a7e
revert: add reflect function since its used in crc.c
2018-01-28 10:49:57 +01:00
iceman1001
cf44d04be1
add: reflect16
...
rem: swapbits, reflect
2018-01-28 10:46:46 +01:00
iceman1001
e76b4f93b8
notes
2018-01-27 23:15:08 +01:00
iceman1001
ede55a1498
add: fast 8bit reversal.
2018-01-27 22:20:56 +01:00
iceman1001
60afef3938
FIX: 'hf snoop' - forcing function to clean up AT91C_BASE_SSC->SSC_RFMR into default setup values.
...
FIX: 'lf ti' - forcing to cleaning up of SSC when finished.
2018-01-27 20:30:50 +01:00
iceman1001
a6c50d7de2
chg: 'hf 14b' removed a delay loop when transmit as reader
2018-01-25 18:44:25 +01:00
iceman1001
5939164635
FIX: 'hf 15' timouts bugs when wait is set == 0...
...
thanks @lnv42 for fix 84cb4f6bbf
2018-01-21 18:34:29 +01:00
iceman1001
be82f9f018
DEL: 'hf mf sniff' - since it is very similar to 'hf 14a sniff' , I removed this command. The desired functionality will become a new 'hf list mf' option in the future.
2018-01-18 14:11:22 +01:00
iceman1001
b4afc8cdc4
fix: 'hf mf sniff' - @merlokk 's adjustments
2018-01-17 00:28:40 +01:00
iceman1001
de983252eb
chg: dma macros instead
2018-01-17 00:27:13 +01:00
iceman1001
93ecfddb88
CHG: iso15 from b8f35947f2
@lnv42
2018-01-16 21:07:58 +01:00
iceman1001
466bbe1733
fix: 'hf mf hardnested' - too fast timeouts. https://github.com/Proxmark/proxmark3/issues/518
2018-01-15 14:22:46 +01:00
iceman1001
5ee4eeb84b
chg: 'hf mf sim' wrong debuglevel for message
2018-01-11 22:08:02 +01:00
iceman1001
5ea8f73547
FIX: cmd_send has wrong varible definitions, leading to loss of values.
2018-01-11 21:47:27 +01:00
iceman1001
eed271af5c
CHG: 'hw tune' tuning antenna now can handle bigger antennas than 65v, with shifting 9, it can measure up to 130v.
...
CHG: 'hw tune' - command output and layout changes. I think this is easier to read.
2018-01-09 14:53:17 +01:00
iceman1001
b578e55d17
chg: 'hf 14b snoop' renamed 'hf 14b sniff'...
...
In order to use one command for SNIFFING.. All snoop names will be renamed.
2018-01-06 21:12:28 +01:00
iceman1001
647d275d18
chg: 'hf felica litedump' - now turns off device when aborted via keyboard, or buttonpress
2018-01-05 17:57:50 +01:00
iceman1001
05b62d0b3d
syntax sugar
2018-01-05 17:40:07 +01:00
iceman1001
82dbfba827
chg: 'hf felica litedump' - more stable impl. Will not break when run twice in a row. Still device can be in a loop if 100sec timeout occures. :(
2018-01-05 17:39:04 +01:00
iceman1001
6e93ed80a3
chg: 'hf iclass sniff' - still problems with the dmabuffer
2018-01-02 19:10:55 +01:00
iceman1001
fe9416db23
chg: 'hf iclass' - work in progress. running default_iclass_keys.dic against reader (pm3 as simulation)
2018-01-02 11:17:31 +01:00
iceman1001
036d050384
chg: syntax sugar
2018-01-02 11:15:23 +01:00
iceman1001
186de6e1ae
chg: adapting to new paths
2017-12-24 10:30:29 +01:00
iceman1001
231b0df578
CHG: 'hf iclass reader' - the select / which blocks to read / before saying it succeded was corrupt
2017-12-21 13:48:06 +01:00
iceman1001
3634327bef
chg: code cleaning.
2017-12-21 12:42:32 +01:00
iceman1001
5eafdbf872
ADD: 'hf iclass check' - increased speed in check keys with new algo.
...
ADD: 'hf iclass' - trying to add the timeout-limits for commands in order to get a more stable iclass communication
2017-12-21 10:13:40 +01:00
iceman1001
154c30d0e5
fix: 'hf iclass reader' - do not always turn off device ..
2017-12-17 08:06:12 +01:00
iceman1001
594e4fe169
fix: (@pwpivi) fa85b08504
2017-12-12 15:49:43 +01:00
iceman1001
439c875905
chg: 'hf mf fchk' - need to reset the block number after a scan
2017-12-11 22:54:14 +01:00
iceman1001
bf74302679
chg: 'hf mf fchk' - reversing assumption. This really helped :)
2017-12-11 22:49:44 +01:00
iceman1001
033bc12933
chg: 'hf mf fchk' - adapttions to depth first exits
2017-12-11 22:33:50 +01:00
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
9665bd526a
chg; less debug
2017-12-11 01:19:58 +01:00
iceman1001
26353cfd78
chg: 'hf mf fchk' - testing new strategy, Depth first for sector0.
2017-12-10 23:59:19 +01:00
iceman1001
f9e73b9c61
chg: adjusting debug levels
2017-12-10 23:23:08 +01:00
iceman1001
bf2b2afeeb
cleaning up.
...
chg: swapped random gen for mifare classic auth to known weak prng.
2017-12-10 23:09:53 +01:00
iceman1001
cb92ed9ec0
fix
2017-12-10 20:09:16 +01:00