iceman1001
22f4dca88c
CHG: extracted some timers functionality, to get unified access to a timer/clock which counts in ticks. Moved stuff from util.c
2016-09-21 19:03:32 +02:00
iceman1001
87342aadbc
CHG: adjusted timing according to @sentinel 's traces
2016-09-14 16:18:04 +02:00
iceman1001
111c6934d4
CHG: Small steps, the waiting time between frames was unclear. At least now the tags answers to a readbyte command after the setup phase.
2016-09-12 09:19:49 +02:00
iceman1001
76471e5d17
CHG: reverted back from the idea of measureing in (us) microseconds, the timer is too raw, gives 10-15us delays. Now we are measuring ticks, which is (1 us = 1.5ticks)
...
like it was before. ie: 80us = 80*1.5 = 120ticks.
2016-09-11 11:14:12 +02:00
iceman1001
ad5bc8cc8c
In my attempts to make the LEGIC code better, its not working now. Timings if off.
...
CHG: switching to US clock.
CHG: better trace annotation for legic
CHG: Legic prng can now give a x bits in once.
2016-09-09 11:56:20 +02:00
iceman1001
b98827ffc3
FIX: IV now is trunckated to 7bits in 'hf legic read,write, writeraw'
...
FIX: IV LSB bit is always set, in 'hf legic read,write, writeraw'
2016-09-03 12:19:05 +02:00
iceman1001
c71c5ee156
ADD: started to add tracelog in legic
...
ADD: remake of legic codebase.
ADD: started with a annotation for LEGIC in 'hf list'
2016-09-02 16:25:54 +02:00
iceman1001
ffa306de61
CHG: starting to add the legic changes.. *work in progress*
2016-08-26 17:19:27 +02:00
iceman1001
26778ea772
FIX: coverity scan 133850, again. Why on earth did the 7 come from. I removed it.
2016-08-03 12:09:16 +02:00
iceman1001
e8fecd72bc
FIX; coverity scan 133850, & operation should keep only topbit of lower nibble.
...
CHG: tabs fixed
2016-08-03 10:01:37 +02:00
iceman1001
a28d34f407
Coverity Scan 133850, need to ask @jason about this one.
2016-08-03 09:32:07 +02:00
Alexis Green
987c59849e
FIX: CoverityScan 123358 and 133864 - Unchecked return value
2016-08-02 22:44:36 -07:00
Alexis Green
e31a0f736e
FIX: LEGIC - potential stack corruption calculating CRC from user input
2016-08-02 14:10:33 -07:00
Alexis Green
0892708119
FIX: CoverityScan 123465 - Resource leak
2016-08-02 13:57:44 -07:00
iceman1001
e719470c46
Merge branch 'master' of https://github.com/iceman1001/proxmark3
2016-08-02 16:06:40 +02:00
iceman1001
aeb128e2bb
chg: another way of checking a array for NULL
2016-08-02 16:04:57 +02:00
Alexis Green
6e321dd8f3
Fixing warning:
...
warning: ignoring return va 'scanf', declared with attribute warn_unused_result [-Wunused-result]
2016-08-01 13:03:46 -07:00
iceman1001
cc4c8fd6cf
FIX: getting rid of a compiler warning message.
2016-07-31 21:59:29 +02:00
iceman1001
514ddaa2ff
CHG: help text changes in cmdlfjablotron.c
...
CHG: increase byte size to uint16_t in crc.c CRC16Legic
2016-07-29 20:58:52 +02:00
iceman1001
ba4ad25b37
FIX: Fixed some warnings I didn't take notice off.
...
- memcpy should have been "memset"
- forgot to add function declaration into header file.
2016-07-28 22:17:44 +02:00
iceman1001
3e134b4c20
CHG: merged the forum user @jason 's fixes to LEGIC. *UNTESTED*
...
CHG: changed the CRC implementations.
2016-07-28 21:41:44 +02:00
iceman1001
cbdcc89ae7
CHG: free the malloc:d memory in the crc8 function.
...
CHG: use the new GetEMLfrombigbuff method.
ADD: added a usage_legic_read
2016-04-10 13:18:11 +02:00
iceman1001
eb5206bd20
FIX: resource leak, forgot a free
2016-02-18 20:39:41 +01:00
iceman1001
6cf8fcb002
FIX: corrected one of my own bugs which made the calccrc8 not accept the input hexstring.
2016-02-18 17:46:11 +01:00
iceman1001
aacb96d7ed
FIX: Coverity scan fixes, hard to keep track of stringlengths while reading and copying in C.
2016-02-17 10:46:08 +01:00
iceman1001
f7f844d0ba
CHG: added timeouts for downloading values from device, to make the client more responsive.
...
CHG: still curious for the printf_hex_breaks method, why it behavies strange.
2016-02-16 10:54:41 +01:00
iceman1001
a182a680b0
ADD: a print_hex_break function,
...
CHG: "hf legic decode" looks better.
2016-02-15 22:05:26 +01:00
iceman1001
9827020ac5
CHG: "hf legic decode" now prints nicely. Still a strange bug for first row..
2016-02-15 19:56:08 +01:00
iceman1001
d7fd908447
FIX: change the "hf legid load", to use the WaitForResponseTimeout, instead of locking the client if device doesn't answer.
...
CHG: starting to fix the "hf legic decode" and printing the user segements. *WORK IN PROGRESS*
2016-02-15 15:03:07 +01:00
iceman1001
60bb5ef73b
FIX: "hf legic decode" the stamp_len variable was int, but its used as a uint8_t.
...
FIX: cmdlfem4x.c needed ref to cmdmain.h for clearCommandBuffer
2016-02-14 15:30:26 +01:00
iceman1001
c6e0a2ebeb
FIX: Faster data load.
2016-02-14 13:29:20 +01:00
iceman1001
e579e76873
FIX: The "hf legic load" had an bug where it send the read byte as uint32_t to the device.
2016-02-14 12:36:42 +01:00
iceman1001
3b920280db
ADD: Calc legic Crc8 method on given input hexstring.
2016-02-14 11:56:54 +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
e7d099dcaa
CHG: syntax suger, text edit
2016-01-20 17:46:23 +01:00
iceman1001
52cf34c1cc
CHG: Syntax suger, space -> tabs. etc.
...
FIX: Coverity Scan says out-of-bounds, Increased the databuffer. Legic List command needs to be re-done.
2016-01-19 19:33:23 +01:00
iceman1001
e1ad67eaf2
FIX: Coverity Scan fixes, a bunch of them.
2016-01-16 22:58:44 +01:00
iceman1001
395ec4e99c
FIX: Coverity, CID# 121337, Out-of-bounds. In the loop, variable i, can be as much as 1051, overflowing the databuf with size 1024.
2016-01-12 23:16:20 +01:00
Martin Holst Swende
31d1caa526
Reverted some minor things, altered other things to get it to compile cleanly
2015-01-08 17:51:52 +01:00
iceman1001
b915fda392
FIX: a solution for the issue "hf mf esave - always saves 4K"
...
FIX: a solution for the issue "hf eload, esave, cload, save - filepath variable too short"
CHG: minor code clean up.
ADD: AES / CRC16 for lua. (and tnp3xx scripts.)
ADD: tnp3dump.lua script to dump tnp3xx tags.
ADD: tnp3sim.lua script to let PM3 imitate an tnp3xx tag. Needs to be tested live
2015-01-07 22:00:29 +01:00
iceman1001
3fe4ff4f03
CHG: generic code clean up. Removal of commented code.
...
CHG: USB_CMD_DATA_SIZE is now used as maxsize for transfer of data between client and pm3device
CHG: suggested a fix for the underscore problem in ioclass\fileutils.c
ADD: tnp3xx support
ADD: nxp tag idents.
ADD: identifiction of chinese backdoor commands to hf 14a reader.
2015-01-05 15:51:27 +01:00
martin.holst@gmail.com
4961e292aa
More patches from en4rab to the hexsamples, plus patches to legicsave and legicdecode (also by en4rab).
2013-07-12 20:03:31 +00:00
roel@libnfc.org
1a07fd510d
fixed stupid 64-bit formatting for x86/amd64 and unix/windows - part2
2013-02-28 22:33:31 +00:00
roel@libnfc.org
125a98a110
fixed stupid 64-bit formatting for x86/amd64 and unix/windows
2013-02-28 22:22:24 +00:00
roel@libnfc.org
28fdb04fd8
Finally, rewrote bootrom and flasher program, much faster now
2013-02-28 15:11:52 +00:00
roel@libnfc.org
902cb3c00b
major USB update
2012-12-04 23:39:18 +00:00
adam@algroup.co.uk
3612a8a8e2
legic write/simulate [Anon]
2010-05-06 11:24:01 +00:00
izsh@fail0verflow.com
a553f26748
Add License/Copyright headers/notices. Please add your own copyright notice if you have made any nontrivial changes or additions to the code. There are several files without any attribution, currently.
2010-02-21 00:47:22 +00:00
adam@algroup.co.uk
a2b1414f43
Andreas fix for LEGIC MIM1024
2010-02-06 09:43:33 +00:00
adam@algroup.co.uk
313322658c
FIXME: will crash if sample buffer does not contain valid legic data (fixed by Sourcerer)
2010-02-05 20:08:02 +00:00