Philippe Teuwen
8bf4b4ad97
Promote WARNING to ERR on some error msgs
2019-07-14 00:35:18 +02:00
Philippe Teuwen
844d732297
Replace ukbhit by kbd_enter_pressed, not requiring tcgetattr:
...
Note that it behaves differently now
* it looks for Enter key only, not any key
* it "eats" the input, no need for (void)getchar() after it
* it works the same no matter the value of ICANON
* the mingw version has been adapted to act the similarly
This should fix its usage on Android where tcgetattr always returns -1
2019-07-11 13:01:34 +02:00
Philippe Teuwen
732bc766f9
Reduce some var scopes
2019-06-07 18:41:39 +02:00
iceman1001
0740d14faa
chg: some unifiying return values
2019-05-15 10:24:06 +02:00
Philippe Teuwen
2f71d951e1
iclass: avoid last ping in fast modes
2019-05-08 19:16:37 +02:00
Philippe Teuwen
2f1061f95b
rework ping
2019-05-07 23:35:09 +02:00
Philippe Teuwen
290f2b625b
Automated upgrades SendCommandOLD/MIX 0,0,0,NULL,0 -> NG and SendCommandOLD ....,NULL,0 -> MIX
2019-05-07 19:51:33 +02:00
iceman1001
39272ba1fb
convert sendOLD -> MIX for simple cmds
2019-05-07 19:13:14 +02:00
iceman1001
0cedfc7b2b
chg: list should always be available, since we can now load / save trace files.
2019-05-02 10:42:02 +02:00
Philippe Teuwen
78fdffddf7
Replace WITH_ICLASS by dynamic detection in client
2019-05-01 23:20:18 +02:00
Philippe Teuwen
ca43afa19b
begin of dynamic capabilities handling in client
2019-05-01 20:48:15 +02:00
Philippe Teuwen
4f11ef048f
style
2019-05-01 01:38:52 +02:00
Philippe Teuwen
27f7057961
Rename few USB -> PM3 to avoid misleading interpretations
2019-04-30 21:10:11 +02:00
iceman1001
2dea3684ae
fix: 'hf iclass eload' - enable NG (Thanks @doegox)
...
chg: 'hf iclass chk' - now uses fast push mode
2019-04-30 14:19:26 +02:00
iceman1001
481d70b0da
chg: 'hf iclass eload' - use fast push mode.
2019-04-30 12:14:46 +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
1dbcb712c3
safeFile*: accept when suffix is already provided
2019-04-28 20:42:57 +02:00
Philippe Teuwen
7331b7d6d2
Merge branch 'master' into experimental_varlen
...
* master:
Add ref to new mifaresim.h in standalone modes
fix: Standalone/hf_colin now compiles
Update readme.md
chg: hitag compile flag optional
fix: standalonemode matty_run now compiles
typo
smallfix
chg: fpga lf simulation
chg: 'fpga lf sim' - 25% both on sides.
2019-04-19 23:17:36 +02:00
Philippe Teuwen
c4766b2649
Semi-Automated SendCommand -> SendCommandOLD
2019-04-19 23:01:13 +02:00
Philippe Teuwen
1b6a45ac17
propagate CmdsParse return value
2019-04-19 00:47:51 +02:00
Philippe Teuwen
482db05741
Rename few stuff for consistency
2019-04-18 12:49:51 +02:00
Philippe Teuwen
0e855f647a
typo
2019-04-18 10:45:24 +02:00
Philippe Teuwen
533667ea6d
Better Reply structs
2019-04-17 23:44:48 +02:00
Philippe Teuwen
be15ad7fec
Viva la revolucion
2019-04-17 21:30:01 +02:00
iceman1001
436910605b
unified Proxmark3 text
2019-04-16 20:00:25 +02:00
Philippe Teuwen
5c55664fc5
use more static and fix [-Wmissing-prototypes]
2019-04-13 21:57:13 +02:00
Philippe Teuwen
05374fce07
Rework Cmd exposed API, use more static and fix [-Wmissing-prototypes]
2019-04-12 19:41:56 +02:00
iceman1001
a872f04c1e
textual
2019-04-11 17:19:48 +02:00
Philippe Teuwen
919cfb5841
more [-Wmissing-field-initializers]
2019-04-10 15:01:19 +02:00
Philippe Teuwen
0ab6de64d4
structs: initializes explicitely all fields, so we can detect when we really forgot one [-Wmissing-field-initializers]
2019-04-10 13:59:00 +02:00
Philippe Teuwen
3d6d58aae5
internal help fcts -> static
2019-04-10 13:06:05 +02:00
Philippe Teuwen
cc0454d5d2
tag unused Cmd [-Wunused-parameter]
2019-04-10 12:23:40 +02:00
iceman1001
b6345a5df7
style
2019-04-07 18:44:15 +02:00
iceman1001
0b455607a9
fsize can't be zero
2019-04-07 12:41:29 +02:00
iceman1001
ad97aa3d29
chg: 'hf iclass sim' - void*, should be uin8_t*
2019-04-05 00:08:36 +02:00
iceman1001
7a152dc383
fix: duplicate break
2019-04-04 22:11:30 +02:00
Philippe Teuwen
db4aa08b78
make style
2019-03-28 14:19:41 +01:00
iceman1001
35da3707d3
fix: 'hf iclass decrypt' - use after free
2019-03-15 22:07:21 +01:00
osboxes.org
9c2736d1eb
spaces
2019-03-14 12:30:32 +01:00
iceman1001
e5a71fdd26
fix: 'hf iclass clone' - missing fclose
2019-03-14 10:01:07 +01:00
iceman1001
35bc4a975e
rename SNOOP -> SNIFF
2019-03-12 13:15:39 +01:00
Philippe Teuwen
961d929f4d
changing {} style to match majority of previous style
2019-03-10 11:20:22 +01:00
Philippe Teuwen
da6cdf014b
Keep string syntax in color macros
2019-03-10 00:56:00 +01:00
Philippe Teuwen
0373696662
make style
2019-03-10 00:00:59 +01:00
Philippe Teuwen
0d9223a547
client: fix mix of spaces & tabs
2019-03-09 23:35:06 +01:00
iceman1001
112411042f
cleaning up
2019-03-09 21:59:00 +01:00
iceman1001
cc81b5bed9
fix: tolower
2019-03-09 12:31:29 +01:00
iceman1001
cc9ec2d79c
textual
2019-03-09 11:30:26 +01:00
Philippe Teuwen
60f292b18e
remove spurious spaces & tabs at end of lines
2019-03-09 08:59:13 +01:00
iceman1001
cea5b5214d
chg: colors
2019-02-24 14:51:21 +01:00