Commit graph

7654 commits

Author SHA1 Message Date
Iceman
9ae5b8aa83
Merge pull request #1195 from DarkMatterMatt/feat/gallagher-simulate
Support specifying region/facility/card/issue numbers to Gallagher simulation
2021-02-11 22:43:30 +01:00
iceman1001
3ef308120c fix signedness 2021-02-11 22:37:12 +01:00
iceman1001
05e85cbbe2 fixing some type conversions 2021-02-11 22:26:15 +01:00
DarkMatterMatt
d7a1145945 Add support for specifying region/facility/card/issue numbers to Gallagher simulation
Extract `region_code`/`facility_code`/`card_number`/`issue_level` validation to `isValidGallagherParams` function
Add `--rc/fc/cn/il` parameters to `lf gallagher sim`
2021-02-12 10:23:05 +13:00
iceman1001
c576a0065b hf jooki - encode / decode ... 2021-02-11 22:08:51 +01:00
iceman1001
db29f0a691 textual.. 2021-02-11 15:37:35 +01:00
iceman1001
6416aaa52b add simple detection of file based on extension ftc 2021-02-11 15:36:56 +01:00
iceman1001
bd57430058 ..not recommend _keep field on_ 2021-02-11 15:35:12 +01:00
Akif Dinc
724ac35665 Typo in hf 14a help 2021-02-11 12:22:40 +01:00
DarkMatterMatt
73465e5167 Reorder & simplify code 2021-02-11 17:36:02 +13:00
DarkMatterMatt
03347fcfea Refactor how blocks are generated to be cleaner 2021-02-11 14:07:14 +13:00
DarkMatterMatt
0fdbdb044f Use ARRAYLEN instead of constant length 2021-02-11 11:30:22 +13:00
DarkMatterMatt
62ccbc0a37 Fix styles
Run `make style`
2021-02-11 11:12:45 +13:00
DarkMatterMatt
f655391bd4 Initial implementation of encoding 2021-02-11 00:17:48 +13:00
DarkMatterMatt
a4da1476b6 Fix Gallagher data decoding & CRC checks
Descramble function was re-scrambling the data
Skip constant magic prefix `7FEA` to get correct data to decode
Fix offsets & bitmasks to correctly decode card and region codes
Fix CRC refin & refout parameters (both now false)
2021-02-10 15:47:14 +13:00
Iceman
abbbbcebc9
Merge pull request #1189 from craftbyte/master
make style on master
2021-02-09 17:57:09 +01:00
Iceman
4825aeaac7
Merge pull request #1182 from craftbyte/feature/mfdes-enum
Added actual MF DESfire enumeration
2021-02-09 17:55:09 +01:00
Anže Jenšterle
cd36770c5e
make style 2021-02-09 16:56:55 +01:00
Anže Jenšterle
8760068a03
make style 2021-02-09 16:52:48 +01:00
Anže Jenšterle
cf8256979d
fix code per comments 2021-02-09 16:15:52 +01:00
Anže Jenšterle
8af1cedf1f
Improved MFDES AID bruteforce 2021-02-09 15:17:20 +01:00
iceman1001
e22cb088c1 fix #1186 2021-02-08 23:56:39 +01:00
Anže Jenšterle
6d10525c09
fixed missing parameter 2021-02-08 03:32:27 +01:00
Anže Jenšterle
99b1093702
Added actual MF DESfire enumeration 2021-02-08 01:12:14 +01:00
Akif Dinc
535fd2aeff Fixes error in key size check in 'hf mfu info' for EV1/NTAG 2021-02-07 22:21:50 +01:00
iceman1001
2e7d1e299d hf 14a info - bette hint for EMV cards 2021-02-07 15:16:15 +01:00
iceman1001
f96a48242f remake main screen text 2021-02-07 00:18:21 +01:00
iceman1001
53b2ee10df text 2021-02-06 22:25:51 +01:00
iceman1001
6dbca23487 rename hf_mfu_dumptoemulator.lua -> data_mfu_bin2eml.lua 2021-02-06 21:39:24 +01:00
Ave
7947d2efb9 emrtd: Calculate document type from MRZ length
+ Add the German Aufenthaltstitel
2021-02-06 19:11:45 +03:00
iceman1001
a168e4328f rename a fct 2021-02-05 16:37:20 +01:00
iceman1001
1c576d10c8 lf t55xx dangerraw - now uses cliparser 2021-02-05 16:37:08 +01:00
iceman1001
6bcf31e68c lf t55 detect - now use cliparse .. which also makes it work with the wakeup command again 2021-02-05 14:32:52 +01:00
iceman1001
5941ee6799 lf t55xx p1detect - too small alloc for argtable 2021-02-05 12:25:07 +01:00
iceman1001
793b55053f clean up 2021-02-05 08:58:46 +01:00
iceman1001
b6cac81b3b lf t55xx wakeup - now uses cliparser 2021-02-05 08:58:19 +01:00
iceman1001
7d1897cd52 lf em 410x brute - now works without pressing enter every time to continue one step 2021-02-04 22:36:08 +01:00
iceman1001
4da7d93c51 remove dubbles 2021-02-04 22:05:05 +01:00
iceman1001
63739b25d3 started to add touch nd go keygen algo from metrodroid 2021-02-04 22:02:07 +01:00
iceman1001
2a17cb5545 lf cmdread - now uses cliparser. Had to change the "extra" param structure to fit.\n lf config - now has a reset param 2021-02-04 22:01:23 +01:00
iceman1001
967f5ffd51 lf config - now uses cliparser 2021-02-03 16:00:54 +01:00
iceman1001
f9c2f35c8b lf read - now uses cliparser 2021-02-03 10:33:02 +01:00
iceman1001
5a102a4347 lf sniff - now uses cliparser 2021-02-03 09:22:36 +01:00
iceman1001
ff98bb047d lf t55xx wipe - better handling of wrong length pwd 2021-02-03 00:15:19 +01:00
iceman1001
92b1ccc935 wiegand encode - now has option to add hid preamble or not 2021-02-03 00:14:40 +01:00
iceman1001
a78e610f18 nespress defaults 2021-02-02 20:49:36 +01:00
iceman1001
47c27d751c lf awid/hid/io/410x watch - now works with user side abort 2021-02-02 17:55:54 +01:00
iceman1001
ea7d4ae496 lf em 410x reader - new param "-b" to break after once, use together with continouse mode.\n lf em 410x spoof - works again 2021-02-02 16:34:45 +01:00
iceman1001
72a837d813 text, more cliparser, hid/awid sim can use keypress too 2021-02-02 16:33:43 +01:00
iceman1001
edc8165576 lf psksim - correct swapping with user data or demodbuffer data 2021-02-02 09:13:13 +01:00