Commit graph

114 commits

Author SHA1 Message Date
evilsocket
72370dec58
new: exporting available network interfaces in /api/session for api.rest 2019-03-20 13:48:34 +01:00
evilsocket
5aa57f5cd7
new: exporting version, os, arch, and goversion from api.rest 2019-03-20 01:45:10 +01:00
evilsocket
3edf80fc99
new: preloading and exporting caplets from api.rest 2019-03-19 19:10:40 +01:00
evilsocket
ba4793f980
misc: small fix or general refactoring i did not bother commenting 2019-03-18 12:23:55 +01:00
evilsocket
027f4a3ccc
new: new -version command line argument to print version, build information and exit 2019-03-09 16:22:35 +01:00
evilsocket
e22ce22716
misc: small fix or general refactoring i did not bother commenting 2019-03-09 12:08:19 +01:00
evilsocket
963840915b
new: parsing gps GPGGA messages other than just GNGGA (fixes #473) 2019-03-07 10:29:17 +01:00
evilsocket
e46ea6c9a9
fix: command handlers are now atomically locked 2019-02-26 13:26:28 +01:00
evilsocket
d5016bc506
fix: locking session object instance while session.Run 2019-02-24 22:22:22 +01:00
evilsocket
7e1d8ac68f
misc: small fix or general refactoring i did not bother commenting 2019-02-24 13:20:41 +01:00
evilsocket
7e4cfbe57c
new: events.ignore and events.include now support tab completion 2019-02-24 12:57:16 +01:00
evilsocket
c1729ab578
new: hid.recon, hid.show and hid.sniff 2019-02-19 21:47:24 +01:00
evilsocket
a4aa5acbcd
new: wifi.deauth and wifi.assoc now support autocompletion 2019-02-18 13:25:33 +01:00
evilsocket
a6e87618d4
misc: small fix or general refactoring i did not bother commenting 2019-02-12 10:18:34 +01:00
Federico
ccc6620189
Fix indentation 2019-02-10 14:51:45 +01:00
rhaidiz
e1023d4b66 Add option to manually specify the gateway. 2019-02-10 14:46:05 +01:00
evilsocket
3c798794eb
fix: do not show gateway warning if the interface is not connected to any network 2019-02-06 09:11:38 +01:00
evilsocket
31895569f7
misc: refactored modules.findMAC to session.FindMAC 2019-01-18 20:13:41 +01:00
Edznux
efe15b89bb Remove double check for the same condition ? 2018-10-28 18:05:39 +01:00
Edznux
2fe8999b2d revert ! 2018-10-28 17:42:25 +01:00
Edznux
d80fef3ef9 Re-run gofmt -s after modifications 2018-10-23 06:35:22 +02:00
Edznux
1e12891bfb Refactor many if/else and switch for the session modules 2018-10-23 05:00:05 +02:00
evilsocket
e50eaad7e6 new: added debug callback to the network package 2018-10-12 13:24:13 +02:00
evilsocket
058a6865ff
misc: small fix or general refactoring i did not bother commenting 2018-10-10 19:23:17 +02:00
evilsocket
d070445225 refact: refactored to use islazy and updated deps 2018-10-10 19:00:25 +02:00
evilsocket
b98db78926 new: properly exposing module handlers and parameters from api.rest 2018-09-29 12:20:22 +02:00
evilsocket
2b117e14d6 new: exposing modules realtime status from the rest api 2018-09-28 22:05:38 +02:00
evilsocket
7b7739358d fix: locking the session object when it's read by the api module (fixes #349) 2018-09-27 15:25:35 +02:00
evilsocket
9721c1d6e0 misc: refactored caplets code in a dedicated package 2018-09-21 15:15:27 +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
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
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
4cd86f3fd0
wrote unit tests for session.Environment 2018-04-30 14:20:34 +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
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