Commit Graph
4097 Commits
Author SHA1 Message Date
Iceman 2d25d66f3b Merge pull request #1871 from RouNNdeL/fix/mf-classic-sector-read
Fix mifare classic dump when block cannot be read
2023-01-22 17:14:22 +01:00
Iceman 0a2517feb6 Merge pull request #1873 from jmichelp/master
Fix python initialization to have SWIG work
2023-01-22 16:49:16 +01:00
Iceman ed21af641a Merge pull request #1872 from zebbe-94/master
Fix typo in smart info
2023-01-22 16:48:24 +01:00
Self Not Found f05c6a1f72 Fix the types of parameters in BitstreamOut_t
BitstreamOut_t in client/src/loclass/cipherutils.h
is also used in client/src/cmddata.c for decimatioin,
but uint8_t is too small for such application
2023-01-22 07:15:47 +00:00
iceman1001 7c6aa66aa2 tesla auth challenge exchange 2023-01-21 21:20:22 +01:00
iceman1001 f9a65505de added tesla info command, with some of the data that is available. Needed to fix the apdu chaining and a sneaky bug in get_sw since the apdu response was larger then 256 2023-01-21 20:04:27 +01:00
Krzysztof Zdulski e1c8c977c2 Check is sector is readable before attempting to read 2023-01-18 14:41:57 +01:00
iceman1001 e1902ffa96 The Hack ID by Unicorn Team EM4100 emulator uses a VD/ID format in decimal 2023-01-18 03:47:14 +01:00
Jean-Michel Picod 3a7af55724 Fix python initialization to have SWIG work 2023-01-16 19:57:42 +01:00
zebbe94 ee8759bc8b fix typo 2023-01-16 01:06:12 +01:00
Krzysztof Zdulski 8f2362e7b0 Fix mifare classic dump when block cannot be read 2023-01-15 16:33:32 +01:00
iceman1001 875b1a0aed annotate new magic command (WIP) 2023-01-15 12:27:34 +01:00
Philippe Teuwen 30ae0bf521 make style 2023-01-15 02:24:46 +01:00
Philippe Teuwen 951d6cd218 cppcheck uninitialized vars 2023-01-15 02:23:19 +01:00
Philippe Teuwen 048291dcb3 cppcheck: can add const on some params 2023-01-15 02:23:19 +01:00
Philippe Teuwen eb23028514 cppcheck: add test to avoid dereferncing null pointer 2023-01-15 02:23:19 +01:00
Philippe Teuwen c2eb6395e2 cppcheck clarify boolean result used in bitwise operation 2023-01-15 02:23:19 +01:00
Philippe Teuwen 127aebd8b0 cppcheck fix uninitialized variable 2023-01-15 02:23:19 +01:00
Philippe Teuwen b8458322e1 cppcheck fix null pointer dereference 2023-01-15 02:23:19 +01:00
Philippe Teuwen 857f0c0d9b cppcheck fix returnNonBoolInBooleanFunction 2023-01-15 02:23:19 +01:00
Philippe Teuwen 8ac8e3d7d0 reduce variable scopes 2023-01-15 02:23:19 +01:00
Philippe Teuwen 2d58c109ba ksx6924: use ARRAYLEN 2023-01-14 23:39:07 +01:00
Philippe Teuwen 0e1ea167a4 vigik: use mfc_vigik_t in API and remove warning about increased alignment 2023-01-14 23:32:35 +01:00
Philippe Teuwen 46f8b522ca t55: remove cast and warning about increase alignment requirement 2023-01-14 23:05:46 +01:00
Philippe Teuwen 04bab85557 fileutils: replace casts by union and remove warning about increase alignment requirement 2023-01-14 23:02:06 +01:00
Philippe Teuwen 6a576701c7 Topaz dump: remove unnecessary casts increasing required alignment and add dump size check 2023-01-14 22:40:05 +01:00
Philippe Teuwen c9984985fd make miscchecks 2023-01-14 22:23:40 +01:00
Philippe Teuwen 5d5d9d9be0 make style 2023-01-14 22:22:04 +01:00
iceman1001 35d1bebf08 changed the "path" param to "dir" and added some more help text samples, for binary files, we now check for lower case ".bin" too 2023-01-14 18:46:49 +01:00
Iceman b86cc085ff Merge pull request #1867 from RfidResearchGroup/Paradox_Clone_FC_CN
Add fc/cn to Paradox clone
2023-01-14 18:13:37 +01:00
iceman1001 67b340d838 swapped to ISO7816 defines 2023-01-14 12:26:30 +01:00
iceman1001 d3b78e0cf2 swapped to defines 2023-01-14 12:21:48 +01:00
iceman1001 6597d14e10 swapped to defines 2023-01-14 12:17:10 +01:00
iceman1001 e74a025a27 added some more ISO7816 error return codes, swapped to defines in 14a.c 2023-01-14 12:10:48 +01:00
iceman1001 8c315716d3 swapped to defines instead to see if older GCC supports it 2023-01-14 12:04:45 +01:00
mwalker33 224a83527f Update cmdlfparadox.c
Add FC/CN to clone for paradox
2023-01-14 18:16:09 +11:00
iceman1001 73a80fb07d hf mf wrbl, restore - changed the logic of --force param. It is now used to override warnings about BLOCK0 and bad ACL block data and allow the user to write it regardless of its consequences.\n You can easily brick sectors on genuine or Gen2 cards.\n Be aware, here be dragons! 2023-01-10 22:08:59 +01:00
iceman1001 f2185b3933 use strcat instead of strncat, we are adding same as we removed 2023-01-09 00:48:42 +01:00
iceman1001 5289308545 missing a bracket 2023-01-09 00:03:46 +01:00
iceman1001 df05e28923 added a fingerprint test for OTP algos 2023-01-08 21:54:46 +01:00
iceman1001 19dd580b3b adapt file path checks 2023-01-08 21:52:30 +01:00
Iceman 171f9d4fcd Merge pull request #1847 from wh201906/fix-flash-suggest
Fix the steps when updating from old version
2023-01-08 13:27:04 +01:00
iceman1001 fd39493cac cppcheck fixes 2023-01-06 23:57:02 +01:00
iceman1001 9888eef8dc changed hf mf wrbl and view command to look for strict readonly ACL in the data. 2023-01-06 23:53:25 +01:00
Jean-Michel Picod 16410b064d Fix format string to please CodeQL 2023-01-06 22:06:07 +01:00
Jean-Michel Picod a7980d8e8a Use a typed constant and see if that makes CodeQL happy :) 2023-01-06 21:52:26 +01:00
Jean-Michel Picod 15b541c2ea Add command piv authsign 2023-01-06 21:36:08 +01:00
Jean-Michel Picod efc685864a Add PIV command to scan all data containers on a PIV card. 2023-01-06 21:23:22 +01:00
Jean-Michel Picod 663fd4efc9 Remove unused error code.
Will be added back for the PIN check command
2023-01-06 18:28:53 +01:00
Jean-Michel Picod 6e084d82d5 First two PIV commands 2023-01-06 18:19:31 +01:00