Philippe Teuwen
676c91baaf
pk st25tn
2024-05-16 23:50:35 +02:00
Philippe Teuwen
455d4a9a74
key id 01?
2024-04-23 22:58:18 +02:00
Philippe Teuwen
5ca6d5c493
Update recover_pk.py
2024-04-23 22:51:47 +02:00
Philippe Teuwen
c183894cb4
fix doc and add similar to
2024-03-27 16:41:44 +01:00
Philippe Teuwen
ead228672a
crack5opencl: Fix various printf compilation errors when enabling debug macros
2024-01-23 15:10:47 +01:00
Philippe Teuwen
4e29dfa2b5
crack5opencl: Fix MEMORY_FREE_ALL macro, fix segfault
2024-01-23 15:10:07 +01:00
Philippe Teuwen
2b320929fc
static analysis, some fixing fun in perspective
2023-11-13 12:22:36 +01:00
Philippe Teuwen
a2d1a7bc92
minor changes to checklist-for-release.md
2023-11-13 10:54:45 +01:00
Philippe Teuwen
d39a4aa5c0
release version in changelog
2023-11-13 10:20:13 +01:00
Philippe Teuwen
4f9016814e
Revert "Release v4.17511 - Faraday"
...
This reverts commit 6e9df18de6 .
2023-11-13 10:19:09 +01:00
Philippe Teuwen
6e9df18de6
Release v4.17511 - Faraday
2023-11-13 10:19:09 +01:00
Philippe Teuwen
295df201f3
prepare release
2023-11-13 10:18:33 +01:00
Philippe Teuwen
e0be057f62
Get Python support of experimental_client_with_swig working again
2023-11-13 10:13:14 +01:00
Philippe Teuwen
97f2770982
Ignore mbedtls header sitch-enum warnings
2023-11-13 09:25:41 +01:00
Philippe Teuwen
a42cb6dea1
experimental_lib/example_c port as arg
2023-11-11 18:24:34 +01:00
Philippe Teuwen
3cb023f560
arraylen
2023-11-11 18:24:34 +01:00
Philippe Teuwen
73db5cb912
style: missing include of own header
2023-11-11 18:24:34 +01:00
Philippe Teuwen
9f8c02bf96
fix CWE-562: Return of Stack Variable Address
2023-11-11 18:24:34 +01:00
Philippe Teuwen
ba8e90edfd
make style
2023-11-11 18:24:34 +01:00
Philippe Teuwen
e20742dd04
lf_em_tearoff: oops accept absence of pwd
2023-10-22 22:39:01 +02:00
Philippe Teuwen
675c86ec98
lf_em_tearoff: better safe than sorry
2023-10-22 22:06:13 +02:00
Philippe Teuwen
baecf19801
fix lf_em_tearoff
2023-10-22 21:02:10 +02:00
Philippe Teuwen
c4ff847355
typo
2023-10-20 14:49:39 +02:00
Philippe Teuwen
b9ae38f888
Add timing to hw ping, reduce sleep to 1ms in WaitForResponse, no impact on CPU
2023-10-20 00:36:46 +02:00
Philippe Teuwen
e2f78edd8c
recover_pk.py: more MFP EV1 samples
2023-09-18 09:06:39 +02:00
Philippe Teuwen
5c1b802e71
standalone doc
2023-09-08 20:45:44 +02:00
Philippe Teuwen
032e4b832e
spurious exec mode on .c file
2023-09-08 20:32:23 +02:00
Philippe Teuwen
7b5c350089
fix Tumbleweed docker
2023-09-08 15:46:49 +02:00
Philippe Teuwen
87bdbef851
pm3_tests: timings of slow executions and faster aes bruteforce
2023-09-08 11:06:18 +02:00
Philippe Teuwen
cf16e71244
Fix cmake, stringop-overflow false positives are not specific to MINGW
2023-09-07 23:44:31 +02:00
Philippe Teuwen
27edaa6d0c
forgot fct declaration
2023-09-07 22:48:55 +02:00
Philippe Teuwen
3aeb5c493f
fix a few cppcheck warnings
2023-09-07 22:28:37 +02:00
Philippe Teuwen
d97f417ee6
Fix clang warnings on increasing alignment requirements
2023-09-07 21:00:07 +02:00
Philippe Teuwen
d74e264250
style
2023-09-07 20:13:18 +02:00
Philippe Teuwen
7b3ecdcdd5
make release: add --force to call to mkversion.sh. Not strictly needed but cleaner...
2023-08-03 01:13:57 +02:00
Philippe Teuwen
cb72897b17
mkversion.sh: now regenerates version_pm3.c (and consequently the binaries) only when needed
...
and add --force to forcibly regenerate version_pm3.c
and small fixes:
* document mkversion.sh usage
* remove call to mkversion.sh in client/experimental_lib/CMakeLists.txt on release
* remove call to old `mkversion.pl` in bootrom/Makefile
* just in case, mkversion.sh takes care of atomic write of the file
2023-08-03 01:03:24 +02:00
Philippe Teuwen
9dfc39dbbf
Fix error=missing-field-initializers when compiling repo default_version_pm3.c
2023-08-03 00:37:05 +02:00
Philippe Teuwen
3fd8be2a47
Avoid some unneeded rebuild and fix parallel call to fw rebuild when calling from install
2023-08-02 22:13:05 +02:00
Philippe Teuwen
1a19640d18
make style
2023-07-21 18:22:46 +02:00
Philippe Teuwen
8aeed5e67c
doc hardnested compression options
2023-07-21 12:05:20 +02:00
Philippe Teuwen
78ea432b8c
fix for killjoy windows
2023-07-21 09:27:12 +02:00
Philippe Teuwen
dac7721cff
hitag: coherence in hitag type options
2023-07-21 01:31:09 +02:00
Philippe Teuwen
173379b999
Rewrote completely cmds & options lf hitag read/dump/wrbl/ta
...
for more coherence with other pm3 cmds.
Still there remain strange things but it should be a step in the right direction...
2023-07-21 01:08:24 +02:00
Philippe Teuwen
216ad5740b
fix lf hitag eload segmentation fault
2023-07-20 21:12:26 +02:00
Philippe Teuwen
c5cfe593f5
fix exec mode on source file
2023-07-20 21:04:00 +02:00
Philippe Teuwen
89cbe3c7df
should fix macos compilation error introduced by 8543db11b5
2023-07-20 10:54:37 +02:00
Philippe Teuwen
87d43b87d1
fix workflows/uniq.yaml
...
Lines containing # were entirely ignored but some contain a key, e.g. in iclass_default_keys.dic
2023-07-20 09:39:34 +02:00
Philippe Teuwen
662ce8403e
lz4 missing in some docs
2023-07-17 04:56:18 +02:00
Philippe Teuwen
03ae05a345
cmake: allow to embed LZ4
2023-07-17 04:49:13 +02:00
Philippe Teuwen
5b656ad4b0
Add CMP0114 policy to cmake
...
CMake Warning (dev) at /home/linuxbrew/.linuxbrew/Cellar/cmake/3.26.4/share/cmake/Modules/ExternalProject.cmake:2271 (message):
Policy CMP0114 is not set: ExternalProject step targets fully adopt their
steps. Run "cmake --help-policy CMP0114" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
ExternalProject target 'bzip2' would depend on the targets for step(s)
'configure;build;install' under policy CMP0114, but this is being left out
for compatibility since the policy is not set.
Call Stack (most recent call first):
CMakeLists.txt:178 (ExternalProject_Add_StepTargets)
This warning is for project developers. Use -Wno-dev to suppress it.
2023-07-17 03:32:15 +02:00
Philippe Teuwen
9b2fb950ef
fix docker/homebrew
2023-07-17 03:31:11 +02:00
Philippe Teuwen
aca547aa4f
update docker stuff
2023-07-17 03:10:11 +02:00
Philippe Teuwen
a54097e19c
fix archlinux and fedora dockers
2023-07-16 17:25:47 +02:00
Philippe Teuwen
8c4404134d
fix test and add changelog
2023-07-15 23:20:48 +02:00
Philippe Teuwen
16812fe32b
add LZ4 to the lin & win CI
2023-07-15 23:15:25 +02:00
Philippe Teuwen
83e083100b
Bring LZ4 support for hardnested tables
...
Testing perfs on an old 8-core laptop:
BZ2 : 2 Mb, average decompression time: 5514 ms
LZ4 -9: 9 Mb, average decompression time: 837 ms
RAW : 704 Mb, average decompression time: 368 ms
Other LZ4 options don't help: -1 is slower and bigger, --favor-decSpeed does not do anything
To enable:
apt install liblz4-dev
cd client/resources/hardnested_tables
for i in *bz2; do bunzip2 $i; lz4 -9 --rm ${i%.bz2}; done
2023-07-15 22:58:00 +02:00
Philippe Teuwen
be507e1662
Avoid spurious 'No history will be recorded' error on fresh install
2023-06-15 16:09:15 +02:00
Philippe Teuwen
3bc472c9bb
hf mf cwipe: use same default ACL as for hf mf wipe
2023-04-17 23:22:48 +02:00
Philippe Teuwen
2a150b8c6b
Fix bug preventing args to be passed to the client
...
Bug introduced by ab9dab3294
It was not possible to pass args anymore, e.g. `pm3 -l myscript.lua`
2023-02-17 16:37:06 +01:00
Philippe Teuwen
2633a54e11
build_all_firmwares.sh: skip NFCBARCODE support for 256kb builds
2023-01-29 15:16:38 +01:00
Philippe Teuwen
40f37c2c42
Missing cmdhftesla.c in client/experimental_lib/CMakeLists.txt
2023-01-24 15:41:40 +01:00
Philippe Teuwen
1a6bb58550
Add LF_PROX2BRUTE to 4_Advanced-compilation-parameters.md
2023-01-24 15:37:36 +01:00
Philippe Teuwen
248cec793c
standalone: respect alphabetical order, else it's a mess to cross-check
2023-01-24 15:34:13 +01:00
Philippe Teuwen
844e6109b8
Add LF_PROX2BRUTE to build_all_firmwares.sh
2023-01-24 15:09:23 +01:00
Philippe Teuwen
2282d480ad
update opensuse docker tests and other dockers
2023-01-16 00:34:02 +01:00
Philippe Teuwen
7e02a64576
update fedora docker tests
2023-01-15 21:53:39 +01:00
Philippe Teuwen
cb8f1a51ad
update parrot docker tests
2023-01-15 19:54:56 +01:00
Philippe Teuwen
65d0e1ef06
update docker ubuntu
2023-01-15 19:41:19 +01:00
Philippe Teuwen
f54dd925d1
docker & tests
2023-01-15 18:46:35 +01:00
Philippe Teuwen
8d53184c81
shorter long test for mfd_aes_brute
2023-01-15 18:45:40 +01:00
Philippe Teuwen
207d8ed7d7
Fix INSTALLSUDO usage and adapt release template
2023-01-15 12:11:31 +01:00
Philippe Teuwen
fe286ed6d7
remove Android from release checklist
2023-01-15 02:50:16 +01:00
Philippe Teuwen
c2546d35f8
experimental_lib/CMakeLists missing files
2023-01-15 02:40:58 +01:00
Philippe Teuwen
ad87e2051d
build_all_firmwares.sh able to build HF_14ASNIFF HF_15SNIFF without flash
2023-01-15 02:34:01 +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
0fbc101ac5
cppcheck uninitialized vars (false positive)
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
0a19c3e891
cppcheck remove redundant continue as last loop statement
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
17d7fb8abb
cppcheck test unsigned less than zero
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
3936afcca9
cppcheck divide by zero
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
Philippe Teuwen
db21576612
remove arm-gcc 12.1 warning: array subscript -512 is outside array bounds of 'uint32_t[536870911]
2022-05-12 23:14:37 +02:00
Philippe Teuwen
05e48b07cc
remove gcc 12.1 warning: output may be truncated writing 21 bytes into a region of size between 15 and 24
2022-05-12 22:57:22 +02:00
Philippe Teuwen
c4a8e0fa2e
Remove gcc 12.1 warning: strncpy specified bound depends on the length of the source argument
2022-05-12 22:54:11 +02:00
Philippe Teuwen
ac42615e91
termux & debian: more official way of doing
2022-05-08 20:39:38 +02:00
Philippe Teuwen
9ad9afbb69
Fix default_version if mkversion fails
2022-05-04 12:27:26 +02:00
Philippe Teuwen
9ebda88386
Add INSTALLSUDO param in Makefile.platform to limit sudo to install commands, better than sudo make install...
2022-05-03 19:04:36 +02:00