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
evilsocket
38694ad091
misc: small fix or general refactoring i did not bother commenting
2018-08-26 12:13:44 +02:00
evilsocket
855f9b243e
misc: small fix or general refactoring i did not bother commenting
2018-08-26 10:24:34 +02:00
evilsocket
a2327b7e8e
misc: small fix or general refactoring i did not bother commenting
2018-08-26 10:23:30 +02:00
evilsocket
b57e329632
misc: small fix or general refactoring i did not bother commenting
2018-08-25 11:50:23 +02: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
031f2e64ff
fix: net.probe handled errors were turned into debug messages
2018-08-24 15:28:33 +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
6c43fb7673
misc: small fix or general refactoring i did not bother commenting
2018-08-20 16:12:22 +02:00
evilsocket
f79f4bff4c
minor refactoring of the ble module
2018-08-20 15:47:35 +02:00
evilsocket
42c5431f59
Releasing v2.8
2018-08-17 15:53:55 +02:00