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
iceman1001
61d250a7f8
add: 'hw connect' - lets you connect to a specified serial port. If already connected, it disconnects current port before.
2019-05-07 11:05:05 +02:00
Philippe Teuwen
1c70163605
reconnect fast
2019-05-07 01:06:01 +02:00
iceman1001
29a160c905
reconnect version2 yolo
2019-05-06 22:41:00 +02:00
iceman1001
cffd14a96b
chg: reconnect to a disconnected proxmark3 device without restarting the client. Old functionality restored :)
...
chg: renamed thread
chg: easier if-statements for USART
2019-05-06 14:11:23 +02:00
Philippe Teuwen
65bd945b54
style
2019-05-05 22:04:35 +02:00
iceman1001
a49ae2d0ce
FIX: slow reconfigure on mingw of serial port
2019-05-03 21:33:00 +02:00
Philippe Teuwen
ca43afa19b
begin of dynamic capabilities handling in client
2019-05-01 20:48:15 +02:00
Philippe Teuwen
820a6d99a9
better offline mode
2019-04-30 23:52:40 +02:00
iceman1001
f8f39d6196
fix: passing a struct.
2019-04-30 22:03:20 +02:00
Philippe Teuwen
0a4b90ac20
Simplify color & banner logic
2019-04-30 13:02:27 +02:00
Philippe Teuwen
a91d0a7b19
Smart color handling:
...
* if on Windows, no color, as usual
* if on Linux, color only on real term
* no color when > foo
* no color in the logfile
2019-04-30 00:41:52 +02:00
Philippe Teuwen
69f8d81f4e
style
2019-04-28 22:54:00 +02:00
Philippe Teuwen
f1deb865db
Merge branch 'master' into experimental_varlen
...
* master:
ltrim cmd before display
hf mf eload: fix absence of filename
detect wrong numOfBlocks / numOfSectors arguments
safeFile*: accept when suffix is already provided
loadFile*: accept when suffix is already provided
textual, to reflect which repo.
LoadEML: don't complain on the last \n
2019-04-28 22:53:12 +02:00
Philippe Teuwen
5bc9118a19
baudrate only for physical uart
2019-04-28 22:51:40 +02:00