iceman1001
f906cb7f89
chg: 'hf mf sim' @piwi's changes part 1
2017-11-11 22:41:52 +01:00
iceman1001
92f37c4c22
chg: 'apdu' @merlokk changes
...
chg: @piwi's changes to timing
chg: @piwi's changes to rats.
2017-11-11 22:39:13 +01:00
iceman1001
a4069fe2aa
chg: code cleaning
2017-11-11 22:34:34 +01:00
iceman1001
c74360a629
chg: 'hf 14b' deviceside cleaning
2017-11-11 01:32:58 +01:00
iceman1001
8f4c96cc81
chg: 'lf hitag' - don't send garbage (@marshmellow42)
2017-11-11 01:31:45 +01:00
iceman1001
c3403da76c
chg: 'hf felica' adjustments
2017-11-11 01:26:53 +01:00
iceman1001
b01f3d2352
syntaxt sugar
2017-10-30 22:20:41 +01:00
iceman1001
db56ca11a3
FIX: detect noise signal by measuring amplitude of signal.
2017-10-30 19:18:30 +01:00
iceman1001
05991cdffb
sloppy
2017-10-30 15:12:03 +01:00
iceman1001
deeb56f09c
fix: 'hf mf hardnested' : without sending dummy answer, the can't select tag comes..
2017-10-30 15:02:44 +01:00
iceman1001
0520d42f3d
revert back..
2017-10-30 12:22:02 +01:00
iceman1001
6e46822c4c
CHG: mcIdent now turn on/off readerfield.
2017-10-30 12:05:14 +01:00
iceman1001
0ea06dbe9b
CHG: spelling misstake
...
CHG: code cleanup. unused function.
2017-10-30 12:02:57 +01:00
iceman1001
f805fe995b
fix.. don't ask..
2017-10-29 11:23:26 +01:00
iceman1001
bc131dd105
fix: high and low variable should now contain raw hex.
2017-10-29 11:20:10 +01:00
iceman1001
0ef6e190e7
fix. missing variable and semicolon
2017-10-29 10:40:39 +01:00
iceman1001
6aec2f5951
FIX: spelled wrong. downside with working in notepad++
2017-10-29 10:38:49 +01:00
iceman1001
573a312130
fix: removed a refence to missing file
2017-10-29 03:53:09 +01:00
iceman1001
2e32fd289c
ADD: StandAloneMode LF Proxbrute by @brad-anton
...
https://github.com/brad-anton/proxbrute
--adjusted to fit iceman fork and latest enhancements to LF
(untested)
2017-10-29 03:51:07 +01:00
iceman1001
c1f742dfe5
CHG: updade some define and helptext
2017-10-29 03:47:00 +01:00
iceman1001
fab1b64760
ADD: standalone mode : LF HID corporate 1000 bruteforce by @federicodotta et al.
...
https://github.com/federicodotta/proxmark3
--adjusted to fit iceman fork and latest enhancements to LF
(untested)
FIX: some calls to deviceside demods, use 0 instead of reference.
ADD: timeout after n cycles of simulating
2017-10-29 03:26:46 +01:00
57ca2b96b7444cb986b2d6cf51d25ffd86c57743
34b076f7af
Enclosed naked statements with braces to avoid C compliler misleading-indentation 'guard' warning.
2017-10-23 17:37:29 -04:00
iceman1001
9e527537c6
fix: remove compile warnings (@winguru)
2017-10-23 21:19:46 +02:00
iceman1001
4bfc3ca8c9
CHG: part of @piwi changes
2017-10-23 21:17:59 +02:00
Iceman
b6d68ec0aa
Update readme.md
2017-10-22 17:00:53 +02:00
iceman1001
55e87490cf
fix: remove all traces of fpga_nfc...
2017-10-20 22:01:10 +02:00
iceman1001
4b48e63ccc
ADD: missing felica.c
2017-10-20 20:30:17 +02:00
iceman1001
4b63f940f1
CHG: FeliCa implemenation by @satsuoni
2017-10-20 20:27:44 +02:00
iceman1001
3108293c1f
ADD: New standalone mode by (@cjbrigato) Excellent work!
2017-10-20 15:29:33 +02:00
iceman1001
a9bf084916
chg: Shortend a wait. Not sure why we wait here.
2017-10-20 14:51:12 +02:00
iceman1001
dc7473135c
syntax cleaning
2017-10-17 22:05:52 +02:00
iceman1001
d46955e309
FIX: bootrom - flashmode should also not assume sizeof(usbcommand) 544 bytes
2017-10-17 21:14:36 +02:00
iceman1001
16028f7d33
CHG: appmain now calls cmd_recieve as it should
...
CHG: flasher - removed unneeded parameter to function
CHG: flasher - increased limit to fpga-files that can be loaded
FIX: main client, wrong windows define fixed.
CHG: device side - recieve usb command does not always get 544 bytes. usb packages can be incomplete.
CHG: usb_cdc.c also got piwi's changes.
CHG: uart_posix.c removed a debug value
CHG: uart_win32.c clean up.
2017-10-17 20:58:17 +02:00
iceman1001
71a500d824
CHG: 'hf mf fchk' - no need to send dummy coomand to trigger timeout.
...
CHG: 'hf mf fchk' - added some debugstatements. These will become optional later.
CHG: 'hf mf fchk' - lower re-try from 10 to 5
2017-10-12 15:17:10 +02:00
iceman1001
2fc88b924d
CHG: increased time to powerup tag
2017-10-12 15:14:41 +02:00
iceman1001
a41cdf803a
ADD: add the fpga part to arm.. (@satsuoni)
2017-10-11 12:48:37 +02:00
iceman1001
1cca109429
chg: validating we got a full usbcommand (512b)
2017-10-11 12:48:04 +02:00
iceman1001
ce5525bc16
chg: 'hf iclass simulate' adjustements
2017-10-08 15:11:38 +02:00
iceman1001
674db8d5ac
fix: 'hf snoop' - buffer overflow (@satuoni)
2017-10-08 14:56:04 +02:00
iceman1001
2ca0ea8cb4
ADD: 'hf mf fastchk' - new command, improved check keys functionality. It uses a bunch of techniques to get a speedup.
...
Using a dictionary file with 421keys,
Current implementation of checkkeys takes 300 sec.
This implementation of checkkeys takes 250 sec.
I implemented it as a separate command so it will be easier to compare between the old and new checkkeys.
Its also doing much on deviceside, which is a step to much funnier standalone modes :))
2017-10-05 16:00:56 +02:00
iceman1001
a4b4a1a9a2
FIX: iso-14443a RATS optional (piwi)
2017-10-01 22:06:06 +02:00
iceman1001
d412a8aa2c
FIX: one dot wrong
2017-09-28 22:33:26 +02:00
iceman1001
4dccc340ae
correcting the standalone addons pathing.
...
adding some comments on standalone problematics
2017-09-28 22:33:03 +02:00
iceman1001
1285f5a32c
minor adjustments. return instead of goto
2017-09-28 22:30:33 +02:00
iceman1001
2d283c42a6
FIX: ISO15, increased reading distance by letting tag some time to powerup.
2017-09-27 12:12:43 +02:00
iceman1001
834a80dcc1
chg: 'hf iclass sim' even with sim2, the card should answer to reads of block0,1,2 and 5
2017-09-26 17:06:13 +02:00
iceman1001
b0bf1faa3d
CHG: 'EMV' , at least it compiles, however working that is a completely different issue..
2017-09-19 19:49:47 +02:00
iceman1001
14550557be
CHG: 'emv compilation' since the client makefile doesn't import makefile.common anymore, need to move some compilor directive. Now need to change two files for EMV compilation.
...
* client/Makefile
* common/Makefile.common
2017-09-18 22:33:22 +02:00
iceman1001
28f1f23d48
chg: easy printing of MAKE variables
...
Usage::
make print-FLASHTOOL
cd bootrom; make print-APP_CFLAGS
cd client; make print-GCC_VERSION
2017-09-18 18:59:51 +02:00
iceman1001
3839ce006d
fix: added missing emv function. WITH_EMV compiles now.
2017-09-18 18:38:54 +02:00
iceman1001
f96afe0ce7
chg: emv compilation, will it work better on OSX?
2017-09-17 19:24:04 +02:00
iceman1001
b439c76c6e
CHG: changed name on define. Its now called CMD_UPLOAD_SIM_SAMPLES_125K .. Since we upload to device.
2017-09-14 11:13:10 +02:00
iceman1001
635636a267
chg: 'hf 15 sim' - made debugstatements optional (follows DEBUG flag now)
2017-09-14 11:09:21 +02:00
iceman1001
0c2c6f3fd7
CHG: 'hf mfdes info' : Now checks for 7b uid's. This will remove some faulty claims of tagidentifications.
2017-09-14 11:06:49 +02:00
iceman1001
98bc685632
add: 'hf iclass sim 4' - new mode, to adapt sim 2 to readers in keyroll mode.
2017-09-12 08:45:38 +02:00
iceman1001
e042ba5432
fix: BUTTON_PRESS needs...
2017-09-05 10:36:25 +02:00
iceman1001
2c1e2a9f3a
CHG: 'hf 15 findafi' - added the possibility to cancel loop with buttonpress
2017-09-05 10:31:27 +02:00
iceman1001
e69d070596
fix: 'hf 15 findafi' switch off antenna afterwards
2017-09-05 10:16:37 +02:00
iceman1001
f21555b1b2
fix: stack corruptions. keep it simple. (coverty scan 170498, 170497, 170496)
2017-09-05 10:10:24 +02:00
iceman1001
85b1c6bdfb
add: 'hf 15 list' is now possible, since I like to be able to call both "hf list 15" and "hf 15 list"...
...
chg: 'hf list 15' better annotations, the flags doens't define the command anymore
chg: device side, iso15, experimenting with different settings.
The tag still doesn't answer to 0x002B not 0x202B---uid--- commands.
2017-09-04 22:48:35 +02:00
iceman1001
ec07e2e006
FIX: 'hf 15 *' commands - the demod should work better now and as a bonus I've added some tracelogging. The timer is not quite correct yet but its a start.
...
sample:
hf 15 reader
hf list raw
2017-09-04 13:56:57 +02:00
iceman1001
eec5780b62
chg: minor clean up in iso15693 commands.
2017-08-31 13:24:12 +02:00
iceman1001
4d354f75fe
upd - CHANGELOG.md
...
chg 'hf iclass sniff' more debugstatements
2017-08-30 22:35:35 +02:00
iceman1001
a971c03877
chg: the version text layout
2017-08-29 08:46:26 +02:00
iceman1001
292a4ca602
'hf 14b sniff' - removed stuff which wasn't very useful. cleaner now. Not sure if it works :(
...
'hf iclass sniff' - playing with this one. Don't expect it to work yet :(
- increase dma_buffer_size to 256
- moved initialization to a own function. Just looks cleaner :)
- change the debug output to follow MF_DBGLEVEL
'hf mf sniff' - unnecessary cast removed
2017-08-27 19:41:24 +02:00
iceman1001
8581fec47c
...added the standalone folder..
2017-08-26 13:01:35 +02:00
iceman1001
fda4a25f51
and some more adjustments..
2017-08-26 12:59:10 +02:00
iceman1001
94f70caa7a
when you need to add too much changes at the same time...
...
fix: 'hf mf hardnested' test cases doesn't need to verify key.
add: 'hf mf ' - collect nonces from classic tag.
chg: switch_off on armside, a more unified way, so we don't forget to turn of the antenna ...
chg: renamed 'hf iclass snoop' into 'hf iclass sniff' in an attempt to make all sniff/snoop commands only SNIFF
chg: 'standalone' -> starting the work of moving all standalone mods into a plugin kind of style, in its own folder.
2017-08-26 12:57:18 +02:00
iceman1001
7810dac62d
CHG: not using the parity values for logging. Saves some few ticks :)
2017-08-21 23:34:11 +02:00
iceman1001
a7441c4bf6
CHG: added some more debugstatements,
...
CHG: 'hf iclass sim 2' use another e-purse value {0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff}
CHG: testing to see if we can skip the parity array when logging, we don't seem to use that information anywere anyway.
CHG: no need to check tracing global var, it is done inside of LogTrace function anyway
2017-08-21 17:22:22 +02:00
iceman1001
269b89373d
chg: testing another loop style
2017-08-21 17:18:24 +02:00
iceman1001
a8334d6ab3
chg: added some WDT_HIT calls
2017-08-21 17:17:43 +02:00
iceman1001
4eda2828c8
fix fiddling, it seemed most iclass commands never shut down the antenna after they were finished. I may have missed something.
2017-08-19 19:50:55 +02:00
iceman1001
823a814cf6
FIX: some possible null - ref bugs in 'iclass' , 'iso15693' deviceside.
...
FIX: 0 is not a reference.
FIX: iso15693 - wait wasn't implemented
chg: 'hf 15' getTagInfo_15 renamned.
chg: 'hf iclass loclass' some output got newline
2017-08-19 09:49:41 +02:00
iceman1001
db515ba6c4
chg: 'hf iclass sim' - turning of antenna after simulation is done.
...
chg: 'hf iclass sim' - use @holiman 's 8 csn instead of the original @carl55 (15), and a new first entry csn, to see if the old one got blacklisted.
2017-08-18 10:23:46 +02:00
iceman1001
eae8c2f7be
chg: unify debug messages for FSK demod in AWID,HID,IO,PARADOX,PYRAMID, all neat and same.
2017-08-11 20:48:54 +02:00
iceman1001
6ad546fa13
chg: removed extern on print_lock mutex. Since there is two of these, in proxmark3.c and ui.c
2017-08-11 11:40:25 +02:00
iceman1001
bd4d1ec74e
Fixes: lf simpsk - make sure Carrier input is ok.
...
fix: 'lf awid sim' - Clk param is used CorreCt
fix: 'lf HID sim' - unified way logging
fix: 'lf indala sim' - adding a draft simulation Command
fix: 'lf io sim' - unified way logging
fix: 'lf nedap sim' - getting bits is wrong still..
fix: 'lf paradox sim' - Helptext
lfdemod.C got some reworked loops, still some debug messages to be ...
2017-08-10 14:19:57 +02:00
iceman1001
f56d00bf1d
chg: 'lf sim' on deviceside, removed the usb_poll in one loop. Will look into @marshmellow42 limit also
2017-08-09 09:28:54 +02:00
iceman1001
9d8cfd13a7
NEW: cleaning up in the StandAloneMode mods.
...
'hw version' - added a function to print out which mods is installed on the firmware (deviceside)
New compiler flags are:
# -DWITH_ICEMAN
# -DWITH_LF_SAMYRUN
# -DWITH_LF_PROXBRUTE
# -DWITH_LF_HIDCORP
# -DWITH_HF_YOUNG
# -DWITH_HF_MATTYRUN
The code behind them are NOT in this commit. They will come in there own files later on.
2017-08-06 16:29:29 +02:00
iceman1001
722d8b2cdb
chg: more adjustments to iso15 sim
2017-07-31 18:24:53 +02:00
iceman1001
479a288543
chg: 'hf 15 sim' - now it loops until buttonpress or usb_received.
2017-07-31 17:55:21 +02:00
iceman1001
0a58e8f0fe
CHG: macro T5555_SET_BITRATE is used for clearity
2017-07-31 16:05:33 +02:00
iceman1001
91898babc0
FIX: data plot AutoCorrelate slider, window too big, now limited to number of samples.
...
enhanced debugstatements,
'lf em 410x_demod' vs 'lf em 410x_read' now read does the same as all other LF, and demod too...
2017-07-30 21:21:02 +02:00
iceman1001
bf5b7e2d91
coverity scan, uninitialized vars.
...
removed crapto1.
2017-07-30 10:33:40 +02:00
iceman1001
b3f787a64f
fixes: armside
2017-07-30 10:01:30 +02:00
iceman1001
f28da2da6e
monster merge...
...
all those changes marshmellow did.. and more...
2017-07-30 09:17:48 +02:00
iceman1001
208550823d
FIX: 'lf simulate' - wrong fix, the simulation doesn't work very well, but now it looks better...
2017-07-29 00:34:21 +02:00
iceman1001
9ca75c1cfd
disable some debug output
2017-07-28 03:00:28 +02:00
iceman1001
46a0ec7130
CHG: removed old TRUE/FALSE defines... some left still..
2017-07-27 09:28:43 +02:00
iceman1001
24d332fac7
fixes..
2017-07-11 18:27:59 +02:00
iceman1001
cdc0f15104
FIX: playing with some delays.
2017-07-11 17:40:29 +02:00
iceman1001
8bc17414fd
new coverity scan complains..
...
fix 'lf hitag' bit comparisions wrong
fix 'standalone mode' logically dead code
2017-07-07 15:45:40 +02:00
iceman1001
4406f4ee2a
CHG: removed some #DEFINE TRUE/FALSE
2017-07-07 12:52:51 +02:00
iceman1001
5f18400cbe
FIX: 'hf iclass reader' marshmellows fixes.
...
CHG: removing some #define TRUE
2017-07-07 12:38:49 +02:00
iceman1001
77c98eb2d7
FIX: 'hf standalone mode' - had some printing issues when printing a Uin64_t.
2017-07-07 12:34:57 +02:00
iceman1001
ce56dd32e3
FIX: 'hf mf c*' works both with 1a/1b generation of tags.
2017-07-07 12:34:20 +02:00
iceman1001
3ca3d401c0
FIX: some adjustments to prng detection
2017-07-04 20:11:25 +02:00
iceman1001
a7e677061a
FIX: 'hf 14a sim' - mifare ul-ev1 simulation didn't follow protocol, (thanks to @Vyacheslav for pointing it out)
...
ref: https://github.com/iceman1001/proxmark3/issues/110
FIX: 'hf 14a raw' - zero lenth commands and AppendCrc14443a doesn't work well together.
FIX: 'hf 14a raw' - made clear comments and making params comparing as it should be.
FIX: 'hf 14a raw' - when selecting tag, and it failed, the PM3 device was left with antenna on. This has now been fixed as it turns off antenna and leds.
2017-06-26 21:36:56 +02:00
akileos
1c1926a42c
Merge pull request #1 from iceman1001/master
...
Merge latest changes
2017-06-03 11:35:30 +02:00
Iceman
9f3d7bbe29
Update hfsnoop.c
...
Fix increment on bool variable (#294 ) (thanks to @ikarus23)
c87c452120
2017-05-29 09:49:02 +02:00
BOURDY Romain
7b8cbd38a8
Appveyor - Add strawberryperl / readline / libusb
2017-05-01 09:16:22 +02:00
iceman1001
f7639bc338
FIX: lf sim
was broken since my little tests. Should work again.
2017-03-27 14:59:49 +02:00
iceman1001
e1778858dd
FIX: lf hitag : Mea culpa, simulation should not have reader_field on. thanks to @Tiberius and @aczid for pointing out one of my mistakes from 2014.
2017-03-24 21:03:09 +01:00
angelsl
ece631fd06
Add Mifare Classic EV1 set load modulation command
2017-03-09 21:37:16 +08:00
iceman1001
57e1e31dce
chg: unused .. but not for long
2017-03-06 19:15:01 +01:00
iceman1001
57778a4630
CHG: renamed struct sector -> sector_t
...
CHG: defines on armside
CHG: #define WIN32 -> _WIN32
CHG: started to enhance "hf mf chkkeys"
REM: removed some duplicates etc in default keys.
2017-03-06 19:11:08 +01:00
iceman1001
8eeb3c6a0b
CHG: And that should be everything cleaned up with unneed functions and calls.
2017-03-06 11:53:55 +01:00
iceman1001
7dfa1b021e
CHG: breaking, forgot some..
2017-03-06 11:50:26 +01:00
iceman1001
00baf27097
FIX: since the correctionNeeded logic changed, with PR #87 ( https://github.com/iceman1001/proxmark3/pull/87 ) this is the consequence changes to it.
2017-03-06 11:27:15 +01:00
Timo Hirvonen
17ab9dcca0
Improved logic for determining the correct Frame Delay Time (FDT) value based on the last bit transmitted by the PCD
2017-03-06 11:39:12 +02:00
iceman1001
dfcf20d641
FIX: Coverity Scan fixes to emvcmd.c among others.
...
FIX: emclearmem bug.
2017-03-05 18:43:06 +01:00
iceman1001
bdeac4021a
CHG: @marshmellow42 's XL size, and em4x05 timmings.
2017-03-04 14:37:26 +01:00
iceman1001
99136c6eef
CHG: finalized the merge between peter filmoores 14atagfuzz branch (emv). I seriously doubt anything works.
2017-03-01 21:51:23 +01:00
iceman1001
c24364a8a4
FIX: @marshmellow42 's ST detection fix.
...
FIX: lfops.c and em4x05 command timings.
2017-02-28 19:20:12 +01:00
iceman1001
f24edfec54
CHG: hf 14a read
- started to add a Magic tag gen2 detection. SKipping it for now. Can't decide to put in on deviceside or in client.
...
FIX: `lf read` - ophs.. it works again.
ADD: `lf em 4x05--` - added a chipset definition
CHG: better kali fix - from @pwpivi
2017-02-28 08:16:02 +01:00
iceman1001
8db18d2f15
ADD: hf 14a read
- now can detect the newer magic generation 1b. In output 1A (old version, where all hf mf c* commands works) 1B is the newer.
2017-02-27 19:18:38 +01:00
iceman1001
aa5cba4ca3
CHG: coverity scan cpmplains..
2017-02-26 00:40:19 +01:00
iceman1001
d24026ade8
BUG: forgot to remove
2017-02-25 23:14:55 +01:00
iceman1001
d32691f1da
FIX: hf mf sim
- authentication works again.
...
CHG: `lf em`- renamed.
CHG: removed functionality in whereami.c, not needed.
2017-02-25 23:00:20 +01:00
iceman1001
17556415a9
CHG: @marshmellow42 's changes to lfops.c /lfsampling.c
...
CHG: updated CHANGELOG.md
2017-02-24 15:45:24 +01:00
iceman1001
5215a87442
CHG: @Marshmellow42 's fixes. ref: e88096ba25
2017-02-24 01:14:47 +01:00
iceman1001
07bc72b880
CHG: continue code cleanup.
...
REM: removed stdint.h , since we are using c99 when compiling.
2017-02-23 00:32:14 +01:00
iceman1001
9c624f67b3
chg: @piwi's code cleanup and some more.
...
ref: 43534cbad2
2017-02-23 00:03:10 +01:00
iceman1001
4ac9f07840
CHG: lf em
- added @marshmellow42 's changes
2017-02-19 00:12:35 +01:00
iceman1001
c930078036
FIX: wrong variable name.
2017-02-15 02:46:09 +01:00
iceman1001
1bfbe92a53
FIX: coverity scan found some bugs in EMV code. These are the fixes to:
...
-CID 141293 - missing va_end call
-CID 141290 - return var not always given a value
-CID 141289 - array out of bounds write. off by one.
-CID 141288 - dead code because of CID 141287
-CID 141287 - wrong mask
-CID 141286 - wrong mask value
2017-02-15 02:44:34 +01:00
iceman1001
573e8d72c7
FIX: 'EMV compiling' - Makefiles are very picky about how things are done. its parser is a bit paranoid. So, to make things easier and more correct.
...
- armsrc/Makefile when commenting out functionality, move it below the comment otherwise APPS_CFLAG breaks to early. See WITH_LCD
- common/Makefile.common enable / disable EMV, uncomment two lines. then make clean && make all. flash, MIGHT NOT work on 256kb devices
FIX: missing break in appmain.c made it go to iclass function..
2017-02-13 15:32:48 +01:00
iceman1001
4c8fe2e976
CHG: some minor adjustments.
2017-02-13 11:06:30 +01:00
iceman1001
ff9c043da2
FIX: T5555/Q5 datarate when used in "Q" parameter, consequential fix in lf commands. (RF-2/2) ie: ((64-2)>>1)
...
ADD: Marshmellow42 's timing fixes for em4305.
2017-02-13 10:58:28 +01:00
iceman1001
cb1ba30a5e
FIX: first attempt to clean up EM4x50 commands.
...
- `lf em4x readwordPWD` merged into `lf em4x readword` See help text
- `lf em4x writewordPWD` merged into `lf em4x writeword` See help text
- `lf em4x readword` now download the collected signal data after command.
On device side the lfops.c has gotten some love. Code cleaner, increased EM_START_GAP from 55 FC to 56 FC, because of how our microsecond(us) clock works with 21.3us increments.
TODO: `lf em4x em4x50read` needs to be factored to use @marshmellow42 's ASKdemod instead of trying to do itself.
2017-02-07 22:26:06 +01:00
iceman1001
5ed5e418c9
CHG: testing to set 460800 baudrate as default, if it fails, go to 115200 baudrate. For Linux/Win. Works great in my environments.
2017-02-06 02:33:08 +01:00
iceman1001
1903696e2a
chg: uncomment -DWITH EMV to compile for EMV.
2017-02-06 00:57:31 +01:00
iceman1001
60ca588725
syntax sugar
2017-02-06 00:51:06 +01:00
iceman1001
d627a2fd8c
FIX: commented code screws up notepad++ groupings.
2017-02-06 00:50:37 +01:00
iceman1001
a32e8034e0
FIX: get rid of de-referecing pointer warnings.
2017-02-06 00:49:32 +01:00
iceman1001
6a1687cc3e
ADD: 'hf emv' - forgot to add some file
2017-02-05 22:16:50 +01:00
iceman1001
3e83ff2159
CHG: '-DWITH_EMV' - fixing some compilation errors when compiling with peter fillmore's emv code. Warning a 256kb Proxmark3 device will only have 7% memory left if you enable this
2017-02-05 21:09:36 +01:00
iceman1001
a330987de1
CHG: 'lf cotag demod' - now finds FC/CN Thanks to @marshmellow42
...
CHG: 'lf search' - now detects COTAG
2017-02-02 19:15:36 +01:00
iceman1001
5f5b83b743
ADD: 'lf cotag read' - COTAG can be read now.
2017-02-02 15:32:21 +01:00
iceman1001
4401050bcc
ADD: 'hf standalone 14a mode", added "mifare 4k" detection.
...
ADD: 'hf 14a sim' - added mifare 4k simulation.
2017-02-01 14:41:06 +01:00
iceman1001
507afbf3e6
CHG: 'lf cotag read' - it now follows "lf config" settings when collecting signaldata.
2017-02-01 14:11:11 +01:00
iceman1001
d760c7b3d9
FIX: 'standalone_14a mode' - cleaned up the standalone14a mode code. It now detects and simulates 4,7byte uids, like it should. code refactored to be easier to understand.
2017-02-01 14:09:26 +01:00
iceman1001
16cfceb689
CHG: rename a local scope variable "data"->"cmd"
...
CHG: call params to selectcard too few
CHG: 'standalone HF mode' - when copying second UID onto data array, it should append after first one, not over the first one.
ref: https://github.com/iceman1001/proxmark3/issues/77 Lets see if this fixes the HF part of this issue
2017-02-01 12:50:54 +01:00
iceman1001
b828a4e168
CHG: 'lf snoop' - now automatically downloads samples after finished. (annoying step to do over and over)
...
FIX: 'lf snoop' - now turns of LF antenna after snoop.
FIX: 'lf cotag read' - now waits until the ACK cmd arrives before downloading samples.
2017-01-31 16:11:57 +01:00
iceman1001
84bdbc1917
FIX: 'hf 14a sim x' - adjusted and shows messages when verbose.
...
FIX: 'hf mf sim x i' - same as above.
In general we only use Moebius attack for "sim x", that means a clean up on device side code. simpler to understand. It still tries to gather 8 different collections of nonces combo. When one is complete, it get sent to client which runs moebius direct.
2017-01-29 23:09:23 +01:00
iceman1001
7e735c1398
FIX: 'hf 14a sim x' - this fixes the error with using moebius attack and sim. Updating the nonce variable doesn't change the premodulated response. And it should update everytime it gets a command. One concering issue is that this takes time. Successfully works with two PM3. One acting reader, another sim.
2017-01-29 11:29:15 +01:00
iceman1001
e99acd00cc
CHG: the mifare Auth command can make use of a random nonce aswell.
...
CHG: since sim commands are timing critical, I'm testing a smaller prand prng function from Intel
2017-01-29 10:41:48 +01:00
iceman1001
4653da4331
ADD: lf cotag
- added first try at basic functionality to read samples from Cotag. In lfops.c is the startup sequence that needs to be tested out.
2017-01-27 10:49:34 +01:00
iceman1001
74dde713b1
CHG: should remove the OSX linker warning: ld: warning: directory not found for option '-L/opt/local/lib'
2017-01-26 21:13:17 +01:00
iceman1001
2d3f8e5fa7
ADD: some defines to make headerfiles behave better.
...
CHG: syntax sugar
2017-01-26 14:23:05 +01:00
iceman1001
bf5d7992ce
ADD: @micolous random nonce, adjusted to fit in. Icemanfork only uses Moebius attack, so no need for an extra parameter in client.
...
ref: https://github.com/Proxmark/proxmark3/pull/209
2017-01-26 14:21:51 +01:00
iceman1001
de39bf505a
CHG: moved some from THUMB to ARM.. Looks like usb communication became bad.
2017-01-25 13:00:49 +01:00
iceman1001
0ccf8adac4
CHG: moved to header file
2017-01-25 00:34:00 +01:00
iceman1001
53d5dc643f
CHG: fiddled with the headerfiles... and makefile... Tried to make them behave nice. So it isnt a hell to add new functions from third-party (like des, aes etc)
...
Added a lot of #ifndef , extern C,
Move inside from ARMSRC -> THUMBS, which made the compiled image smaller.. I don't know if it broke anything.
Moved MF_DBGLEVEL definitions into common.h
Moved print_result from util.c into appmain.c
Also split up some struct typedef into header files so they could be reused in other code places.
''' danger ''' this might have broken stuff...
2017-01-25 00:33:03 +01:00
iceman1001
0de81725ed
syntax sugar
2017-01-21 11:34:33 +01:00
iceman1001
0f7279b22d
syntax sugar
2017-01-21 11:33:14 +01:00
iceman1001
7dcd37fc2e
chg: moved to header file
2017-01-21 11:29:16 +01:00
iceman1001
0062cc1ca1
removed unneeded include
2017-01-21 11:21:05 +01:00
iceman1001
5b749dcb0e
CHG: moved to header file
2017-01-21 11:20:26 +01:00
iceman1001
8be98f12e9
syntax sugar
2017-01-21 11:07:44 +01:00
iceman1001
897a14c36f
CHG: moved to header file. common.h has RAMFUNC definition
2017-01-21 11:06:48 +01:00
iceman1001
3c345a41b2
chg: moved to header file
2017-01-21 10:35:59 +01:00
iceman1001
8ce95353de
CHG: moved to header file
2017-01-21 10:34:00 +01:00
iceman1001
405944a0ac
CHG: moved to header file
2017-01-21 10:31:54 +01:00
iceman1001
5e1de05ab0
chg: moved to header file
2017-01-21 10:29:49 +01:00
iceman1001
0eea62d4c3
CHG: moved to header file
2017-01-21 10:29:21 +01:00
iceman1001
15d4bf3e78
CHG: moved to header file
2017-01-21 10:28:14 +01:00
iceman1001
e04f23fabf
CHG: moved to header filer
2017-01-21 10:27:06 +01:00
iceman1001
995c94dc03
CHG: moved to header file
2017-01-21 10:25:29 +01:00
iceman1001
00e524aaf5
CHG: moved to header file
2017-01-21 10:24:06 +01:00
iceman1001
69784c3801
ADD: 'lf search' - added @marshmellow42 's hitag2 identification
2017-01-20 10:09:06 +01:00
iceman1001
9aeda6cbfb
FIX: coverity scan error CID 121781, unused value. error 0x88 will be overritten by 0x00 directly. Don't know if this 0x88 will bug stuff out.... *wildside commit*
2017-01-19 20:21:21 +01:00
iceman1001
10493a0f19
CHG: fix covertyscan error CID 133851, Cardstate can't not be SIM_NOFIELD when it arrives to that switch statement.
2017-01-19 20:18:21 +01:00
iceman1001
42c235e7ef
ADD: T55XX_WRITE_TIMEOUT to make sure all WaitForResponseTimeout for t55xx behaves the same.
...
CHG: removed some "DONE!" device prints..
CHG: unified some "clone" commands output.
2017-01-18 22:54:27 +01:00
iceman1001
1c07ca92c3
CHG: removed a delay in readblock
2017-01-16 22:38:31 +01:00
iceman1001
81b7e89434
CHG: lowered the number of bytes collected for T55xxReadBlock. Was 12000 -> 7679
...
CHG: added some documentation about what arguments does.
CHG: 'data tune' - added flush after printf.
2017-01-16 21:06:51 +01:00
iceman1001
aed36ae5bd
ADD: 'install.sh' blacklist rules installed aswell. run as root to install.
2017-01-16 15:02:10 +01:00
iceman1001
f133389866
CHG: download data from device to client, make a debugstatment when send command failed.
2017-01-16 14:48:26 +01:00
iceman1001
701ad7cb3a
chg: syntax sugar
2017-01-11 23:11:55 +01:00
iceman1001
dd83c4572b
CHG: coverity complains about not reading the value from mifare_send_short
...
CHG: ubuntu 14.04 gcc4.8.4 complains about mem_avail still. Don't know why.
2017-01-09 22:15:36 +01:00
Iceman
6fe5fe8d52
LF sim
...
`lf sim` - use config values for setting the frequency.
2016-12-25 15:25:33 +01:00
iceman1001
55db344f97
CHG: used @marshmellow42 's version to fix lf continuous demod problems.
2016-12-19 16:04:27 +01:00
iceman1001
e4b65f5bc1
CHG: mental note to self, capslock is bad.
2016-12-19 12:53:38 +01:00
iceman1001
61d36d3695
FIX: 'LF IO FSKDEMOD' - no call to turn of the antenna when exit
...
Thanks to @samyk
https://github.com/Proxmark/proxmark3/issues/203
2016-12-19 12:51:21 +01:00
iceman1001
501c666b10
FIX: 'lf hid fskdemod' - no turning of the antenna afterwards.
...
FIX: 'CMD_AWID_DEMOD
Thanks to @samyk
ref: https://github.com/Proxmark/proxmark3/issues/203
2016-12-19 12:48:27 +01:00
iceman1001
f7e98f1fb6
FIX: 'iclass write'
2016-12-07 17:43:13 +01:00
iceman1001
5b8167fb97
FIX: 'iclass write'
...
thanks to prof_abrasive && go_tus
ref: http://www.proxmark.org/forum/viewtopic.php?id=4033
2016-12-07 17:07:23 +01:00
iceman1001
77f3f9ff5c
CHG: "hf mf hardnested" device side should empty bigbuff?
2016-11-16 17:44:08 +01:00
iceman1001
5fba8581f4
CHG: the reset of pcb_num should be before untraditional tags return.
2016-11-16 17:43:08 +01:00
iceman1001
0b53530a10
CHG: "hf mf hardnested" disabled the tracelogging on deviceside during nonce acquiring.
2016-11-07 22:42:57 +01:00
iceman1001
325f26e25d
CHG: removed unused variable
2016-11-03 15:15:25 +01:00
iceman1001
3a051ec10b
CHG: don't consider the respons at all when sending the HALT command.
2016-11-03 15:00:17 +01:00
iceman1001
d209443322
CHG: 'HF MF C*' (chinese backdoor commands) According to douniwan5788 some magic/clone tags answers to the halt cmd and some not. I think I captured his ideas.
...
ref: 13b71e58fd
2016-10-28 20:43:07 +02:00
iceman1001
30daf914ce
FIX: looping logic error, doesn't need to increase with 1, if we do 8 checks every turn...
2016-10-28 13:06:34 +02:00
Michael Farrell
b6e05350b2
hf mf sim: Multiple fixes (iceman1001/proxmark3 #45 )
...
- Fix `hf mf sim` to use nonce_t structures, so key recovery works
- Increases verbosity on the key recovery functionality
- Fix use-after-free for k_sector
- Add help info on `e` option to `hf mf sim`
2016-10-22 21:53:53 +11:00
iceman1001
2dcf60f3df
CHG: "hf mf hardnested" - less printing
...
CHG: some filehandles = NULL.
2016-10-21 16:06:53 +02:00
iceman1001
67cd89033c
CHG: experimenting with 'lf sim' It does send a signal now but...
2016-10-20 17:31:58 +02:00
iceman1001
c528cf3989
TEST: see if the readerfield is needed.
2016-10-20 01:52:26 +02:00
iceman1001
c50259b36a
CHG: added a quitting message
2016-10-20 01:13:18 +02:00
iceman1001
8fd25db30c
CHG: move the call to fpga_bitstream_lf, in order to save the uploaded data from the client. Changing bitstream wipes bigbuffer.
2016-10-20 01:06:17 +02:00
iceman1001
3b5aab1875
CHG: updated some comments. I still think I don't understand this code
2016-10-20 00:42:17 +02:00
iceman1001
f4d7d1fed1
CHG: removed CLOCK2, since its not used in the code.
2016-10-20 00:40:56 +02:00
iceman1001
f0a96745d0
CHG: the AT91C_BASE_PMC->PMC_PCER has a tendecy to be clear when set with "=", but my tickstimer also needs it, so I made it optional now.
2016-10-20 00:40:24 +02:00
iceman1001
49065576ad
FIX: lf sim, seems like "lf sim" call SimulateTagLowFrequency direct from appmain.c and I removed the LF bitstream call thinking SimulateTagLowFrequency was only called from the sub FSK;ASK;PSK commands.
2016-10-20 00:39:15 +02:00
iceman1001
8fd0a564e5
CHG: removed unused clocks,
...
CHG: now uses the DEFINEs instead. a bit clear
CHG: xor in the clocks, should allow for co-exist with SSP clock.
2016-10-19 21:26:29 +02:00
iceman1001
8255e1a685
CHG: just changed the comment.
2016-10-19 21:25:04 +02:00
iceman1001
29ff374e5d
CHG: TI code did have the tickstimer started.
2016-10-19 21:24:20 +02:00
iceman1001
c3fc86d9af
CHG: Xoring in the value allows for the ticks timers to co-exist. Or that is the idea.
2016-10-19 21:23:03 +02:00
iceman1001
4460be68c3
FIX: "lf sim" after changes to ticks timers on device side, there was a "starticks" call missing, which lead to not having any timers which is a problem for the WaitUS call.
2016-10-19 19:59:58 +02:00
iceman1001
b069fb8bba
syntax suger
...
and forgot to add method declaration to headerfile
2016-10-14 15:47:40 +02:00
iceman1001
c7b4bcc4ab
CHG: syntax suger
2016-10-10 21:53:44 +02:00
iceman1001
f8ff1483eb
CHG: "hf legic sim" old imp, uses two timers, we have one. I'm seriously starting on thinking about a UART instead, to read the dmabuffer. If only I knew howto.
2016-10-10 21:52:58 +02:00
iceman1001
c2723575de
CHG; added an option wither or not to clear emulator mem on init
2016-10-09 18:24:51 +02:00
iceman1001
539fd59ebe
CHG: "hf legic write" - now writes on the limits better.
...
CHG: "hf legic restore" - now restors :)
CHG: "hf legic rdmem" - now has a nice offset row above the read data. try: 'hf legic rdmem 0 100'
2016-10-09 15:41:31 +02:00
iceman1001
cd79d97223
CHG: syntax suger
2016-10-08 19:14:35 +02:00
iceman1001
8ddfbc34dc
CHG: the call to TurnReadLFOn has a delay / number as parameter. Seems to be gone.
...
FIX: fixes to EM4050 code since when I changed the timer. It should work nice now.
2016-10-08 19:12:51 +02:00
iceman1001
7e7d3de5fa
FIX: looks like "hf legic write" works again!
2016-10-07 23:07:59 +02:00
iceman1001
4409bf6ef3
CHG: "hf legic write" with these I managed to get one byte written. Its a start.
2016-10-07 22:16:38 +02:00
iceman1001
715bed5023
CHG: adjustments to 3.6ms
2016-10-07 21:28:09 +02:00
iceman1001
c2ab5e8c4e
FIX: "hf list legic" annotation now correct prints byte and value for "legic write" command
2016-10-07 20:23:57 +02:00
iceman1001
e4d57949df
FIX: wrong log bytes...
2016-10-07 19:15:08 +02:00
iceman1001
b816886806
FIX: one send command bug fixed. Turns out that uint16_t is too small for 21/23bits size. Who figured?
2016-10-07 19:11:38 +02:00
iceman1001
27c4a862f6
FIX: unused variable removed.
...
CHG: start remaking the used timers in "Hf legic write"
2016-10-07 12:23:07 +02:00
iceman1001
f0fa663814
CHG: "hf legic write" got a make over in how its called. Now called with 'offset' and 'data'
...
'hf legic write o 10 d 11223344' - this will write 4 bytes (0x11,0x22,0x33,0x44) to tag from offset 10 (0x0A)
2016-10-07 11:58:14 +02:00
iceman1001
e4a8d1e2ac
CHG: started the process of fixing "hf legic write" and "hf legic sim" commands.
2016-10-07 00:15:47 +02:00
iceman1001
d41efbf21b
ADD: added a StopTicks functions, to disable the timer used for ticks (TC0, TC1)
2016-10-07 00:13:09 +02:00
iceman1001
0e8cabed8d
ADD: "hf legic eload" - Load binary file to emulator memory. Use "h" for help text
...
ADD: "hf legic esave" - Save emulator memory to binary file. Use "h" for help text
2016-10-06 19:13:23 +02:00
iceman1001
9015ae0f5d
CHG: "hf legic dump" now automatically detects tagtype and dumps accordingly.
...
CHG: still #define codestyle should it be with or without semicolons?
2016-10-05 22:58:06 +02:00
iceman1001
b1cd7d5ca6
FIX: one too many semicolons for #defines
2016-10-05 22:18:26 +02:00
iceman1001
00271f774a
FIX: undeclared var on deviceside,
...
FIX: "hf legic dump" is almost there.
2016-10-05 22:07:32 +02:00
iceman1001
633d068682
CHG: command name changes..
...
old "hf legic info" is now "hf legic reader"
old "hf legic read" is now "hf legic rdmem"
old "hf legic decode" is now "hf legic info"
ADD: new command "hf legic dump", which will autodetect tagtype and dump all mem to a binary file.
2016-10-05 21:42:13 +02:00
iceman1001
635d6e9bef
CHG: code clean up
2016-10-05 17:10:29 +02:00
iceman1001
c15e07f11d
CHG: making timings a bit tighter == faster read of tag. Like 1ms for whole tag.
...
FIX: off-by-one bug in read-byte-loop.
2016-10-04 23:08:39 +02:00
iceman1001
7a8db2f678
CHG: "hf legic read" - increased timeout values client side, reading MIM1024 takes a bit of time
2016-10-04 21:26:19 +02:00
iceman1001
86087eba00
Textual changes in helptext. Still no clear.
2016-10-04 18:43:11 +02:00
iceman1001
7bc3c99e7e
CHG: "hf legic write" started to change this command to the updated code
2016-10-04 18:05:55 +02:00
iceman1001
77a689dbeb
CHG: revert legiccrc8 to old algo.
...
CHG: "hf legic decode" now loads EML memory
CHG: legic timings is better.
2016-10-04 00:07:07 +02:00
iceman1001
0b0b182fe2
CHG: changed to use BigBuff_Eml memory instead of big_buff_malloc.
...
CHG: downloading eml memory from device should use uint's
CHG: "hf legic read" has a different printing. It now prints 32bytes / row
2016-10-03 23:24:59 +02:00
iceman1001
c649c43389
CHG: finally, the ticks timer does what it is supposed to do. 32bits and working.
2016-09-29 21:36:43 +02:00
iceman1001
fabef615ec
CHG: added addresize to legic select struct.
...
CHG: TIMER, it turns out the TC0, TC1 and TC2 is only 16bit. So adjust to use two clocks to get a 32bit timer.
CHG: code clean up in legic device side. consistency with variable names..
2016-09-29 17:43:39 +02:00
iceman1001
cb7902cdcd
CHG: removed some debug data
...
CHG: reverted back to old crc imp.
2016-09-29 14:46:12 +02:00
iceman1001
a39944216d
CHG: a select_legic function with structs and stuff and
2016-09-29 12:23:09 +02:00
iceman1001
d7e24e7c5f
CHG: 'hf list legic' doesn't print the parity now.
...
CHG: 'hf legic read' the device side timings is starting to look much better. HUGE Thanks to @will-rbnt for endless checks and logic analyser feedback. Without his effort this would not work. What does work? We can now use ANY IV in legic. The PM3 Master version is flawed, will only work with IV=0x55.
---still broke--- my crc implementation.. I know I'm about to look into it.
2016-09-28 21:37:08 +02:00
iceman1001
584e28e54b
CHG: Minor tweaks, the tracing dissappeared, the spindelay for powering up too long.
2016-09-26 21:40:05 +02:00
iceman1001
62577a62ae
FIX: Much of my added extra legic code is commented away now.
...
FIX: the gcc6.1.1 warning broke my gcc 4.8.4 build env..
2016-09-26 20:21:31 +02:00
iceman1001
3e750be37c
ADD: started to add a legic detection to "HF SEARCH"
2016-09-26 20:01:23 +02:00
iceman1001
faabfafe30
CHG: using bitsend to determind the legic annotation in "hf list legic" makes false positives much less.
2016-09-26 12:26:37 +02:00
iceman1001
e1deabc0eb
CHG: fixes a "indent" warning
2016-09-26 11:04:04 +02:00
iceman1001
25d52dd261
CHG: according to measureement by @wilrn the actual timing for receiving tag data, is 90us (ONE) and 100us (ZERO) which is not mentioned anywhere before. What a find!
2016-09-24 15:15:24 +02:00