proxmark3/client
Michael Farrell 2bb7f7e327 Fixes a double-free issue in CloseProxmark: (#617)
- CloseProxmark now clears global state.

- CloseProxmark now checks for a non-null serial_port before calling uart_close, to avoid unintentional double-free'ing serial_port.

- main now calls CloseProxmark once.
2018-06-04 13:54:41 +02:00
..
emv fix clang compiler warnings 2018-01-23 16:55:48 +01:00
hardnested fix clang compiler warnings 2018-01-23 16:55:48 +01:00
hid-flasher USB comms: part 2 towards @micolous PR#463 (#595) 2018-04-24 08:27:29 +02:00
loclass Update ikeys.c (#537) 2018-01-03 11:15:46 +01:00
lualibs Fix typo in lua scripts: 1443a -> 14443a. 2018-01-25 13:43:01 +08:00
obj Remove reveng 2018-01-24 08:38:01 +01:00
scripts Added mifarePlus.lua script for communication with Mifare Plus. (#593) 2018-05-28 21:32:48 +02:00
ui Remove built file 2017-04-18 23:59:40 -04:00
cmddata.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmddata.h combine autocorr, dirth functions 2017-04-13 10:33:18 -04:00
cmdhf.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhf.h Reworked how 'hf 14a list' and 'hf iclass list' works, to use the same method. Now. use 'hf list 14a' and 'hf list iclass' instead. Plus, the output is now annotated (although the annotation-engine could use a bit more love from someone more familiar with the available commands 2015-01-04 21:22:54 +01:00
cmdhf14a.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhf14a.h Minor fixes 2017-12-28 08:49:07 +01:00
cmdhf14b.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhf14b.h USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhf15.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhf15.h USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhfepa.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhfepa.h Basic support for EAC documents (e.g. German Identification Card) 2012-08-28 21:39:50 +00:00
cmdhficlass.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhficlass.h Update cmdhficlass.h 2017-12-16 17:08:45 +01:00
cmdhflegic.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhflegic.h legic write/simulate [Anon] 2010-05-06 11:24:01 +00:00
cmdhflist.c rework of GetFromBigBuf() (#597) 2018-05-08 07:54:49 +02:00
cmdhflist.h move annotate* functions 2018-02-13 17:14:51 +02:00
cmdhfmf.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhfmf.h Check keys in hf mf nested and hf mf chk (#414) 2017-10-15 21:19:34 +02:00
cmdhfmfhard.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhfmfhard.h New: implementing hf mf hardnested 2017-05-31 07:30:56 +02:00
cmdhfmfu.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhfmfu.h change ul_switch_off_field to DropField fix #473 2017-11-11 01:19:34 +02:00
cmdhftopaz.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhftopaz.h fix: introduced a stupid error when refactoring the start bit detector in MillerDecoding() 2015-03-18 18:32:43 +01:00
cmdhw.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdhw.h 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
cmdlf.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlf.h lf read adjustments 2017-04-07 17:28:12 -04:00
cmdlfawid.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfawid.h fix lf file includes to include own .h 2017-03-23 22:32:38 -04:00
cmdlfcotag.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfcotag.h Client code cleanup: 2017-03-06 21:03:13 +01:00
cmdlfem4x.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfem4x.h EM410x bruteforcing changes: Load the whole file at once, pause delay as parameter, stop the execution on key press and EM410x conversion to signal function. 2017-07-01 17:53:06 +02:00
cmdlffdx.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlffdx.h split fdx-b demod to its own file 2017-03-26 08:09:40 -04:00
cmdlfgproxii.c update more demods for graphing 2017-04-12 17:55:31 -04:00
cmdlfgproxii.h Split data askgproxiidemod to own file 2017-03-25 15:51:31 -04:00
cmdlfhid.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfhid.h split hid demod/awid demod to respective files 2017-03-22 15:49:01 -04:00
cmdlfhitag.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfhitag.h MAJOR update, added hitag2 reader, emulation and eavesdropping, lots of new code, including FPGA tweaks 2012-09-18 13:52:50 +00:00
cmdlfindala.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfindala.h split lf indala[cmd] to lf indala [cmd] 2017-03-24 19:18:33 -04:00
cmdlfio.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfio.h split io demod/pyramid demod to respective files 2017-03-22 17:16:43 -04:00
cmdlfjablotron.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfjablotron.h add jablotron+noralsy lf tag definitions/cmds 2017-03-28 18:01:45 -04:00
cmdlfnexwatch.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfnexwatch.h fix copy paste header issue 2017-03-28 09:11:29 -04:00
cmdlfnoralsy.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfnoralsy.h add jablotron+noralsy lf tag definitions/cmds 2017-03-28 18:01:45 -04:00
cmdlfpac.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfpac.h add lf PAC/Stanley tag read (#354) 2017-07-14 14:04:46 +02:00
cmdlfparadox.c finish FSK graph index changes 2017-04-15 16:18:54 -04:00
cmdlfparadox.h split lf paradox/nexwatch into own files 2017-03-27 18:04:20 -04:00
cmdlfpcf7931.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfpcf7931.h USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfpresco.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfpresco.h Split data askgproxiidemod to own file 2017-03-25 15:51:31 -04:00
cmdlfpyramid.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfpyramid.h Split data askgproxiidemod to own file 2017-03-25 15:51:31 -04:00
cmdlfsecurakey.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfsecurakey.h add lf securakey 2017-03-29 00:37:16 -04:00
cmdlft55xx.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlft55xx.h USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfti.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfti.h 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
cmdlfviking.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfviking.h Split data askgproxiidemod to own file 2017-03-25 15:51:31 -04:00
cmdlfvisa2000.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdlfvisa2000.h Split data askgproxiidemod to own file 2017-03-25 15:51:31 -04:00
cmdmain.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdmain.h USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
cmdparser.c USB comms: part 2 towards @micolous PR#463 (#595) 2018-04-24 08:27:29 +02:00
cmdparser.h fix: .history was never written 2015-11-06 11:34:43 +01:00
cmdscript.c rework of GetFromBigBuf() (#597) 2018-05-08 07:54:49 +02:00
cmdscript.h Added 'core'-api, also added some error handling in scripts 2013-05-24 21:05:45 +00:00
comms.c Fixes a double-free issue in CloseProxmark: (#617) 2018-06-04 13:54:41 +02:00
comms.h USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
default_keys.dic @iceman1001 s default keys 2015-05-14 22:55:18 -04:00
default_pwd.dic include default password dictionary for lf t55xx... 2015-12-03 16:44:06 -05:00
elf.h Add extra elf.h constants 2010-02-26 14:02:08 +00:00
eml2lower.sh - Added very basic scripting support to PM3 client-side (proxmark3 application) 2011-09-01 09:03:20 +00:00
eml2UPPER.sh - Added very basic scripting support to PM3 client-side (proxmark3 application) 2011-09-01 09:03:20 +00:00
flash.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
flash.h USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
flasher.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
fpga_compress.c fix clang compiler warnings 2018-01-23 16:55:48 +01:00
gen_pm3mfsim_script.sh - Added very basic scripting support to PM3 client-side (proxmark3 application) 2011-09-01 09:03:20 +00:00
graph.c new grid X offset calcs to fix some issues 2017-04-17 18:37:23 -04:00
graph.h new grid X offset calcs to fix some issues 2017-04-17 18:37:23 -04:00
guidummy.cpp Update/cleanup Makefiles (#265) 2017-03-31 16:04:04 +02:00
hitag2.ht2 major USB update 2012-12-04 23:39:18 +00:00
Makefile USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
mfkey.c Fix compile issues for mfkey32 and mfkey64 after Pull Request #380 2017-08-18 07:50:03 +02:00
mfkey.h Fix compile issues for mfkey32 and mfkey64 after Pull Request #380 2017-08-18 07:50:03 +02:00
mifaredefault.h Check keys in hf mf nested and hf mf chk (#414) 2017-10-15 21:19:34 +02:00
mifarehost.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
mifarehost.h rework of GetFromBigBuf() (#597) 2018-05-08 07:54:49 +02:00
pm3_binlib.c Khorben/warnings (#519) 2017-12-28 17:56:18 +01:00
pm3_binlib.h Added binlib, to handle binary data from lua, based on lpack http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lpack 2013-05-26 20:05:13 +00:00
pm3_bit_limits.h Added a lua bit manipulation library, added Lua-api to iso 15693 crc-calculation 2013-11-06 18:34:10 +00:00
pm3_bitlib.c Added a lua bit manipulation library, added Lua-api to iso 15693 crc-calculation 2013-11-06 18:34:10 +00:00
pm3_bitlib.h Added a lua bit manipulation library, added Lua-api to iso 15693 crc-calculation 2013-11-06 18:34:10 +00:00
pm3_eml2mfd.py refactored client/pm3_*.py to use with statements, contants and iterators 2012-06-22 12:02:19 +00:00
pm3_eml_mfd_test.py added simple test suite for client/pm3_*.py 2012-06-22 11:51:59 +00:00
pm3_mfd2eml.py refactored client/pm3_*.py to use with statements, contants and iterators 2012-06-22 12:02:19 +00:00
proxendian.h fixed compiling under ubuntu with devkitARM_r41 2013-03-13 13:46:40 +00:00
proxgui.cpp Revert "Comms refactor (prerequisite of libproxmark work) (#371)" (#450) 2017-10-27 09:56:46 +02:00
proxgui.h USB comm: prepare for @micolous change (PR#463) (#587) 2018-03-31 09:52:43 +02:00
proxguiqt.cpp fix gui (plot) bugs (#604) 2018-05-15 08:19:49 +02:00
proxguiqt.h fix gui (plot) bugs (#604) 2018-05-15 08:19:49 +02:00
proxmark3.c Fixes a double-free issue in CloseProxmark: (#617) 2018-06-04 13:54:41 +02:00
proxmark3.h USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
README-bitlib Added a lua bit manipulation library, added Lua-api to iso 15693 crc-calculation 2013-11-06 18:34:10 +00:00
scripting.c USB comms: part 4 towards @micolous PR #463 2018-06-03 14:25:20 +02:00
scripting.h Make LUA scripting work even if proxmark3 is called from arbitrary working directory 2017-02-23 18:37:34 +01:00
ui.c USB comms: part 2 towards @micolous PR#463 (#595) 2018-04-24 08:27:29 +02:00
ui.h USB comms: part 2 towards @micolous PR#463 (#595) 2018-04-24 08:27:29 +02:00
unbind-proxmark merge linux and windows clients into one directory... will consolidate makefiles shortly 2009-12-22 12:11:15 +00:00
usb_cmd_h2lua.awk Update/cleanup Makefiles (#265) 2017-03-31 16:04:04 +02:00
util.c rework of GetFromBigBuf() (#597) 2018-05-08 07:54:49 +02:00
util.h rework of GetFromBigBuf() (#597) 2018-05-08 07:54:49 +02:00
util_posix.c fix clang compiler warnings 2018-01-23 16:55:48 +01:00
util_posix.h Fix compile errors with MacOS (#312) 2017-06-07 22:35:20 +02:00
whereami.c Client code cleanup: 2017-03-06 21:03:13 +01:00
whereami.h Make LUA scripting work even if proxmark3 is called from arbitrary working directory 2017-02-23 18:37:34 +01:00