Commit graph

222 commits

Author SHA1 Message Date
iceman1001 719fcf91ab strdup name confusing 2020-01-05 22:24:24 +01:00
iceman1001 eb4573b06c strdup 2020-01-05 21:45:29 +01:00
iceman1001 eb2130af4b chg: swapped banner placement\nchg: console -c prompt got [con]. 2020-01-04 19:59:36 +01:00
iceman1001 6905cfd548 style 2020-01-04 16:25:31 +01:00
iceman1001 64d08de6a6 textual 2019-12-11 15:56:36 +01:00
iceman1001 5773919f58 textual 2019-12-06 08:51:24 +01:00
Thomas Sutter eba19c0bd6 Make style. 2019-10-29 13:35:09 +01:00
Philippe Teuwen 11b954b6bd proxmark.c: warnings discarded qualifiers 2019-10-26 19:40:32 +02:00
Philippe Teuwen af75c70c27 wiegand: no previous prototype warnings 2019-10-26 18:49:25 +02:00
mwalker33 9c2ef4e0da 2nd Win10 Color Reg. Key Check 2019-10-26 13:17:33 +11:00
Philippe Teuwen 07cf3fd32b fix few missing declarations -> static or add include file 2019-10-25 00:55:16 +02:00
iceman1001 5737355985 chg renable win ansi test. trying turning offlogging. @doegox can refacor this away when we get a prefs.json settings file 2019-10-16 14:46:57 +02:00
mwalker33 c3c45e03ce Update proxmark3.c 2019-10-16 20:24:03 +11:00
Philippe Teuwen 395d0f9ebf make style 2019-10-13 00:48:26 +02:00
iceman1001 81e7e34a24 revert tainted 2019-10-09 13:44:51 +02:00
iceman1001 8842421422 coverity 71844 - fix untrusted value. fgets could have nulled the pointer. 2019-10-09 13:11:22 +02:00
Iceman 27ae47b38e
Merge pull request #420 from mwalker33/master
Color on windows 10
2019-10-06 20:00:59 +02:00
Philippe Teuwen 1f364106ce fix few mem leaks 2019-10-06 01:18:04 +02:00
mwalker33 098e0a183f client win10 color support 2019-10-05 14:09:46 +10:00
Philippe Teuwen 8a7274ec34 offline: avoid spurious "Sending bytes to proxmark failed" on exit 2019-10-04 09:30:36 +02:00
iceman1001 f1307e703c style 2019-09-13 16:32:37 +02:00
Philippe Teuwen ed5fed8fac Attempt to fallback to current directory if no HOME in env 2019-09-12 20:16:52 +02:00
Philippe Teuwen 46574ae0f5 add get_my_user_directory() to centralize HOME processing 2019-09-12 20:13:01 +02:00
Philippe Teuwen d08f03058b add support for (nested) cmd scripts in script list/run 2019-09-09 23:46:38 +02:00
Philippe Teuwen e10085bfe8 log interactive commands as well 2019-09-09 21:30:25 +02:00
Philippe Teuwen ba47ac36cb Do not log to history with -h/-t/-m 2019-09-09 21:01:43 +02:00
Philippe Teuwen d5d2c64d50 allow to set debugmode from cli options 2019-09-09 20:45:10 +02:00
Philippe Teuwen 6385ee960f searchFile for firmwares 2019-09-09 19:55:27 +02:00
Philippe Teuwen afe891647f merge flasher in client 2019-09-09 01:35:15 +02:00
Iceman c9d42699fb textual 2019-09-05 15:52:40 +02:00
Philippe Teuwen 43055ae6a7 searchFile for cmdscripts 2019-09-04 23:29:03 +02:00
Philippe Teuwen b10edbaddc user dir: rework err msgs 2019-08-29 10:31:37 +02:00
Philippe Teuwen d2d58db985 Move history and logfile to ~/.proxmark3 2019-08-28 21:53:31 +02:00
Philippe Teuwen 254beefda2 Fix mingw utf8->cp850 support 2019-08-28 00:03:27 +02:00
Iceman 4e627f09c0 add: proxmark3 -v/--version - for easiness to detect version in offline mode and installs 2019-08-21 12:52:59 +02:00
Philippe Teuwen d19754567d summer restructuring:
* .h include only the strict minimum for their own parsing
  * this forces all files to include explicitment their needs and not count on far streched dependencies
  * this helps Makefile to rebuild only the minimum
  * according to this rule, most standalone .h are now gone
  * big app.h is gone
  * remove seldom __cplusplus, if c++ happens, everything will have to be done properly anyway
* all unrequired include were removed
* split common/ into common/ (client+arm) and common_arm/ (os+bootloader)
  * bring zlib to common/
  * bring stuff not really/not yet used in common back to armsrc/ or client/
  * bring liblua into client/
  * bring uart into client/
  * move some portions of code around (dbprint, protocols,...)
* rename unused files into *_disabled.[ch] to make it explicit
* rename soft Uarts between 14a, 14b and iclass, so a standalone could use several without clash
* remove PrintAndLogDevice
* move deprecated-hid-flasher from client to tools
* Makefiles
  * treat deps in armsrc/ as in client/
  * client: stop on warning (-Werror), same as for armsrc/

Tested on:

* all standalone modes
* Linux
2019-08-11 21:42:01 +02:00
Philippe Teuwen f40600f997 make style 2019-08-04 16:57:06 +02:00
Philippe Teuwen 1cb039255e Add client option -i to stay in interactive mode after a script or command
From 5a3f474331
with some fix in the logical flow
2019-08-04 15:34:18 +02:00
Philippe Teuwen 259c730bb0 exit(EXIT_FAILURE) if a port was specified to the client and no pm3 is usable 2019-07-17 20:15:47 +02:00
Gabriele Gristina fa2595a619 Fix Clang warnings 2019-07-10 18:46:30 +02:00
Philippe Teuwen a55e597e36 make style 2019-06-07 21:40:33 +02:00
Philippe Teuwen d7614684f8 Make sure standalone modes can be launched when connected on USB without client 2019-06-02 23:20:02 +02:00
iceman1001 24a4d053b3 chg: prompt now shows which channel is used. 2019-05-18 18:02:30 +02:00
Philippe Teuwen 68e5b3c355 style 2019-05-08 01:35:51 +02:00
Philippe Teuwen 532dbf28a1 let OpenPm be responsible of setting session.pm3_present 2019-05-07 20:37:23 +02:00
iceman1001 cb991b4d2c make sure CloseProxmark sets pm3_present. 2019-05-07 17:31:07 +02:00
iceman1001 b91e21edde better output from setting prompt, cursor is still inside ... 2019-05-07 12:29:26 +02:00
Philippe Teuwen a20392edf3 change offline prompt asap 2019-05-07 12:18:51 +02:00
Philippe Teuwen de54d35d5f unplug detection 2019-05-07 12:11:36 +02:00
iceman1001 f68a398e42 rename 2019-05-07 11:46:12 +02:00