Commit graph

1429 commits

Author SHA1 Message Date
evilsocket
13be09c510
misc: minor optimization to the http proxy code 2018-09-13 12:07:21 +02:00
evilsocket
1afc21ac64
fix: displaying a warning message if the api.rest module authentication is disabled 2018-09-12 12:58:57 +02:00
evilsocket
342d1cf7c9
misc: small fix or general refactoring i did not bother commenting 2018-09-12 12:34:47 +02:00
evilsocket
3d312a9cdf
new: parsing UPNP discovery responses to get metadata about the endpoints 2018-09-12 11:56:07 +02:00
evilsocket
02f445c42c
Releasing v2.9 2018-09-11 15:16:05 +02:00
evilsocket
9f64372273
new: new net.show.meta boolean flag to enable or disable endpoints metainfo rendering 2018-09-09 20:24:49 +03:00
evilsocket
6f691245e0
misc: small fix or general refactoring i did not bother commenting 2018-09-09 18:50:36 +03:00
evilsocket
976465959e
new: using wireshark manufacturers file instead of oui.dat (closes #303) 2018-09-09 18:48:41 +03:00
evilsocket
7ef447e726
new: net.show now accepts an IP address parameter which, if present, will be the only endpoint listed in the table 2018-09-09 16:36:25 +03:00
evilsocket
b6adb2b65f
new: WSD discovery agent for net.probe 2018-09-09 14:10:24 +03:00
evilsocket
632f7700bf
misc: small fix or general refactoring i did not bother commenting 2018-09-09 14:02:36 +03:00
evilsocket
b81d26aa93
misc: small fix or general refactoring i did not bother commenting 2018-09-09 13:33:53 +03:00
evilsocket
549fdc45af
misc: small fix or general refactoring i did not bother commenting 2018-09-09 13:21:42 +03:00
evilsocket
42c71845ed
new: new net.probe.upnp agent 2018-09-09 13:12:04 +03:00
evilsocket
03161b1a95
new: new net.probe.nbns and net.probe.mdns boolean parameters to selectively enable or disable specific probe agents 2018-09-09 12:47:08 +03:00
evilsocket
eba546bef6
misc: small fix or general refactoring i did not bother commenting 2018-09-09 12:39:44 +03:00
evilsocket
e2cc4574c4
new: net.probe on uses both NBNS and MDNS queries to fetch endpoints metadata and hostnames 2018-09-09 12:35:00 +03:00
evilsocket
36999813c4
working on NBNS probe 2018-09-06 18:03:26 +03:00
evilsocket
e993bf73f8
new: net.probe now also sends multicast dns queries to force mDNS traffic and responses 2018-09-06 17:41:51 +03:00
evilsocket
84228f532f
Merge pull request #328 from eenblam/eenblam_tests
Add a few tests
2018-09-02 11:55:37 +03:00
eenblam
c917c6ddf5 lint: apply annoying gofmt
This keeps getting applied every time make test is run.
2018-08-31 15:42:15 -07:00
eenblam
06ba0903e7 lint: replace loop append(x, y...) 2018-08-31 15:41:35 -07:00
eenblam
a859c80b64 lint: use raw string for regex.MustCompile 2018-08-31 15:18:01 -07:00
eenblam
851e39c11b lint: remove comparisons to bool 2018-08-31 15:07:41 -07:00
eenblam
9f611beaa0 lint: unused value of out 2018-08-31 15:05:06 -07:00
eenblam
7cca7b9d93 Add tests for ParseTargets
Still need tests with actual alias map
2018-08-31 15:01:46 -07:00
eenblam
8778a2e9d6 Add iwlist <iface> freq test case 2018-08-31 14:09:54 -07:00
eenblam
56d1655727 Add initial test for net_linux.go
More tests needed based on iwlist output, but the side-effect-free
part of GetSupportedFrequencies() has been been broken out into a function
that can now be tested without calling core.Exec().
2018-08-31 14:09:54 -07:00
eenblam
3c3ed30001 Add tests for Session.ParseCommands()
Small tests, but can be expanded to table of cases
2018-08-31 14:09:54 -07:00
eenblam
45dc257aad Add more tests to core/swag_test.go
Trivial, but bumps coverage for core from 79.3% to 94.8%.
(Local coverage reporting seems to differ from coveralls)
2018-08-31 14:09:54 -07:00
evilsocket
ca978cc445
misc: small fix or general refactoring i did not bother commenting 2018-08-31 16:22:54 +03:00
evilsocket
da9919484b
new: net.sniff now also reports mDNS questions 2018-08-30 19:18:38 +03:00
evilsocket
cf000fc5f7
refact: refactored code to use gopacket for mDNS related stuff 2018-08-30 19:09:22 +03:00
evilsocket
a58d59d4cb
fix: fixed the way endpoints metas are rendered on the net.show table 2018-08-30 17:59:42 +03:00
evilsocket
798df7e32f
new: grabbing meta info from mDNS TXT records 2018-08-30 14:55:38 +03:00
evilsocket
3789b21ba1
fix: switched caplets folder to /usr/local/share/bettercap to keep cross OS compatibility (fixes bettercap/caplets/issues#25) 2018-08-30 14:10:43 +03:00
evilsocket
6df190a715
misc: small fix or general refactoring i did not bother commenting 2018-08-30 14:05:56 +03:00
evilsocket
1f9c151089
fix: api.rest will switch to http if provided key and certificate paths are empty 2018-08-30 12:52:01 +03:00
evilsocket
00c32c2cc6
new: net.sniff now will parse and print mDNS query responses 2018-08-30 12:30:08 +03:00
evilsocket
3034220f55
Merge branch 'passive-mdns-collector' 2018-08-29 17:51:24 +03:00
evilsocket
cd1510f60d
new: passive mdns collector for hostnames 2018-08-29 17:51:02 +03:00
evilsocket
5aa69aebff
new: systemd service file for bettercap as a system api.rest server 2018-08-29 16:02:47 +03:00
evilsocket
f9656e1d1d
new: disabling api.rest authentication if username or password are empty 2018-08-29 16:00:17 +03:00
evilsocket
f6bfd683ee
working on mdns collector 2018-08-29 15:48:19 +03:00
evilsocket
3b6ea499dd
misc: small fix or general refactoring i did not bother commenting 2018-08-27 10:14:31 +02:00
evilsocket
868aba8de0
fix: explicitly signaling when a net.sniff'ed http form is empty 2018-08-26 17:26:51 +02:00
evilsocket
9533c67d88
fix: net.sniff.verbose is false by default 2018-08-26 16:54:12 +02:00
evilsocket
2e952456bd
misc: small fix or general refactoring i did not bother commenting 2018-08-26 15:32:13 +02:00
evilsocket
52da653604
misc: small fix or general refactoring i did not bother commenting 2018-08-26 15:30:43 +02:00
evilsocket
cd0dcb63a4
misc: small fix or general refactoring i did not bother commenting 2018-08-26 15:30:10 +02:00