Commit graph

194 commits

Author SHA1 Message Date
evilsocket
f6bfd683ee
working on mdns collector 2018-08-29 15:48:19 +03:00
evilsocket
4e7377d2a0
misc: small fix or general refactoring i did not bother commenting 2018-08-25 11:42:24 +02:00
evilsocket
6eb3352f8b
misc: small fix or general refactoring i did not bother commenting 2018-08-25 11:37:20 +02:00
evilsocket
f213d0d0ca
fix: working directory is temporarily switched when running a caplet in order to properly load/include files relative to the caplet itself 2018-08-25 11:31:25 +02:00
evilsocket
9a3a514f6a
misc: small fix or general refactoring i did not bother commenting 2018-08-24 15:50:26 +02:00
evilsocket
cd14c17ca9
refact: refactored caplet loading and command completion logic 2018-08-24 14:05:00 +02:00
evilsocket
bb49de4476
misc: small fix or general refactoring i did not bother commenting 2018-08-21 15:23:00 +02:00
evilsocket
da5cbea7b1
fix: correct lookup of caplet files from multiple default paths 2018-08-21 13:45:46 +02:00
evilsocket
924387faf2
new: asking confirmation when the session is closed with CTRL+C / SIGINT
(closes #319)
2018-08-20 16:46:20 +02:00
evilsocket
148122e8fa
misc: small fix or general refactoring i did not bother commenting 2018-08-17 14:21:39 +02:00
evilsocket
5bf7814cba
fix: module parameters are now sorted by name when using the 'help module' command 2018-08-17 14:20:04 +02:00
evilsocket
fa403ad0ec
refact: minor refactoring on the caplets paths parsing and autocomplete logic 2018-08-02 16:42:34 +02:00
evilsocket
81fb3fe1a6
misc: small fix or general refactoring i did not bother commenting 2018-07-31 16:24:48 +02:00
evilsocket
e8cc664558
new: added /usr/share/bettercap/caplets/ as one of the default search paths for .cap files 2018-07-31 16:23:42 +02:00
alexmozzhakov
bad9b41918 Removed debug log 2018-07-21 15:32:23 +03:00
alexmozzhakov
17d931a074 Adding search for caplets into autocomplete (only /caplets/ will be
searched recursively)
2018-07-21 15:28:13 +03:00
alexmozzhakov
7e952865cc This is a fix for showing MAC,BSSID and other CAPSed options 2018-07-21 15:23:49 +03:00
evilsocket
507d1b71e9
misc: small fix or general refactoring i did not bother commenting 2018-05-14 11:04:24 +02:00
evilsocket
a536fb4c55
new: variables are now accessible from every command with {env.varname} (closes #276) 2018-05-14 10:24:53 +02:00
evilsocket
9f0b4a9502
fix: fixed events buffering, now no event is lost with multiple listeners (fixes #266) 2018-05-12 12:16:15 +02:00
Simone Margaritelli
5328ced392
Revert "Minor refactors using golint" 2018-05-03 12:31:42 +02:00
Kent Gruber
ca42274656 if block ends with a return statement drop this else and outdent its block 2018-05-01 23:22:29 -04:00
Kent Gruber
f09125b166 if block ends with a return statement drop this else and outdent its block 2018-05-01 23:22:26 -04:00
Kent Gruber
bfdd7db018 if block ends with a return statement drop this else and outdent its block 2018-05-01 23:22:21 -04:00
Kent Gruber
f128d3a035 if block ends with a return statement drop this else and outdent its block 2018-05-01 23:22:19 -04:00
evilsocket
4cd86f3fd0
wrote unit tests for session.Environment 2018-04-30 14:20:34 +02:00
evilsocket
735d074cd8
more unit tests 2018-04-26 15:16:49 +02:00
evilsocket
557d7dbe17
completed lint driven refactoring 2018-04-26 12:41:18 +02:00
evilsocket
0de6f3a76e
more lint driven refactoring 2018-04-24 18:26:16 +02:00
evilsocket
07f047dff3
new: implemented new 'read' session command 2018-03-29 13:04:47 +02:00
evilsocket
39ed078204
misc: small fix or general refactoring i did not bother commenting 2018-03-28 19:49:46 +02:00
evilsocket
64af0c4290
misc: small fix or general refactoring i did not bother commenting 2018-03-26 13:17:44 +02:00
evilsocket
096767622a
new: caplets can now be used as interactive session commands ( /usr/bin/zsh -> first argument, etc ) (closes #204) 2018-03-26 12:27:53 +02:00
evilsocket
49c65021ea
fix: using glide in order to build with stable deps and avoid dramas like #201, #202 and #203 2018-03-23 15:17:50 +01:00
evilsocket
1f10e788ca
fix: fixed a bug which prevented the buffered channel from beign cleared (fixes #198) 2018-03-22 15:43:31 +01:00
evilsocket
86ba73f5bb
new: http and https proxy modules can now define an onCommand callback to handle custom session commands (closes #182) 2018-03-19 18:02:43 +01:00
evilsocket
77f8e070bc
new: new wifi.ap module 2018-03-19 14:36:40 +01:00
evilsocket
eb0ca12ec6
fix: increased events backlog for events.stream listener channels (fixes #187) 2018-03-19 11:44:30 +01:00
evilsocket
641ae0cd00
fix: remove extra spaces after the first command (fixes #178) 2018-03-18 11:10:44 +01:00
evilsocket
fd586cf512
new: implemented update.check module (closes #172) 2018-03-13 22:43:56 +01:00
evilsocket
e40219976c
new: implemented events.stream.output (closes #169). new: implemented -no-colors argument. 2018-03-13 13:20:21 +01:00
evilsocket
caa801c764 new: gps module 2018-03-06 20:04:04 +01:00
evilsocket
973b864132 Merge branch 'api_ws' 2018-03-06 13:54:45 +01:00
evilsocket
5ad1a17118 new: implemented optional websocket for /api/events 2018-03-06 13:54:37 +01:00
evilsocket
cb58258bd7 refact: returning pointers for both js request and js response 2018-03-05 16:14:26 +01:00
tonjo
028555aecc Added help for wildcard on get 2018-03-03 10:21:02 +01:00
tonjo
7008ea1229 Added help for wildcard on get 2018-03-03 10:18:58 +01:00
tonjo
20b6d8eef8 get variable name accepts wildcard (get api*) 2018-03-03 01:11:50 +01:00
evilsocket
b243e67828 some progress but still doesn't work 2018-03-01 19:30:10 +01:00
alexmozzhakov
44391125c2 Join options for autocomplete 2018-02-27 09:23:38 +02:00