Simone Margaritelli
40727063ec
new: new -script allows to run JS code to instrument session
2021-04-04 15:15:32 +02:00
Simone Margaritelli
c2be8a440b
fix: fixed net.probe mdns parsing from ipv6
2021-04-04 00:47:54 +02:00
Simone Margaritelli
4d5e930e6c
misc: small fix or general refactoring i did not bother commenting
2021-04-04 00:06:34 +02:00
Simone Margaritelli
a6d5d5d048
new: implemented icmpv6 rogue router advertisement
2021-04-04 00:03:11 +02:00
Simone Margaritelli
c1520206a5
misc: small fix or general refactoring i did not bother commenting
2021-04-03 23:08:00 +02:00
Simone Margaritelli
57436a811c
new: experimental ipv6 ndp spoofer ( closes #851 )
2021-04-03 22:55:03 +02:00
Simone Margaritelli
cbc1432358
new: net.sniff now supports ipv6
2021-04-03 19:20:12 +02:00
Simone Margaritelli
bef4c6abaa
new: basic ipv6 support
2021-04-03 18:42:14 +02:00
Simone Margaritelli
240c4c3219
new: detection and parsing of deauthentication frames as wifi.deauthentication events
2021-03-31 00:47:56 +02:00
Simone Margaritelli
cea53b969e
fix: collect additional frames for stations with key material (ref #810 )
2021-03-30 23:19:06 +02:00
Simone Margaritelli
4f5f89b6e1
fix: do not add unhandled dns types to dns spoofing packets ( closes #843 )
2021-03-23 19:22:05 +01:00
Simone Margaritelli
b64dffb53f
fix: fixed compilation issue on windows
2021-03-14 21:47:22 +01:00
Simone Margaritelli
ff91392866
new: any.proxy.src_port now supports multiple ports and port ranges ( closes #845 )
2021-03-14 16:03:09 +01:00
Ben Draut
e0ff16f9f1
Enable packet proxy on ARM architectures
...
I couldn't find any explanation as to why the packet proxy isn't
enabled on ARM targets.
I've been successfully building/using it on a Raspberry Pi for the
last couple weeks. Is there a reason it shouldn't be enabled?
(The diff makes it look complicated, but I just copied
`packet_proxy_linux_amd64.go` to `packet_proxy_linux.go` and
then deleted `packet_proxy_linux_amd64.go`.)
2021-03-10 18:29:36 -07:00
Ben Draut
ce5c5eb592
Add start/stop callbacks to packet proxy
...
This adds support for two additional functions in go plugins in the
`packet_proxy` module:
* `func OnStart() int`
* `func OnStop()`
These will be called when the packet proxy module is turned on and
off, respectively.
2021-03-05 13:07:21 -07:00
Simone Margaritelli
3ac520c744
fix: better phrasing (tnx @nieldk)
2021-01-27 17:11:15 +01:00
Simone Margaritelli
ac9c8d3865
fix: added sasl authentication support for the c2 module
2021-01-27 11:12:50 +01:00
Simone Margaritelli
583a54c194
new: new c2 module, first draft
2021-01-27 00:17:25 +01:00
Simone Margaritelli
2610d4b1e4
fix: do not close serial port if nil ( fixes #805 )
2021-01-08 23:45:08 +01:00
bonedaddy
05b8e3065e
go vet fixes
2020-12-24 17:31:40 -08:00
buffermet
3a2db2918a
Remove proxy-side TLD spoofing.
2020-10-15 00:49:42 +10:00
buffermet
0a0cefc5d8
Fix content type parsing error, improve regexp search performance, strip header names and values.
2020-10-04 16:35:28 +10:00
buffermet
dd08976e8b
Update HTTP header regexp selector.
2020-10-03 02:00:41 +10:00
Simone Margaritelli
6f9f1954cb
new: gps module can use both serial and gpsd (based on pr #680 from @fheylis)
2020-09-25 16:46:45 +02:00
Da-FyK
d3a46a6332
Set Content-Type for PAC and WPAD file
...
For Proxy Auto-Configuration (PAC) or Web Proxy Auto-Discovery (WPAD) to work correctly HTTP server needs to send "application/x-ns-proxy-autoconfig" Content-Type header. I've hardoced "proxy.pac" and "wpad.dat" because i am not golang coder and i dont know how to make it configurable. I hope somebody finds this usefull too and can make better PR.
2020-07-25 02:44:43 +02:00
Simone Margaritelli
e3846cf416
Merge pull request #703 from FrankSpierings/skipacquired
...
Prevent deauth/assoc for AP's that have already been captured
2020-07-03 14:26:17 +02:00
Simone Margaritelli
b1381568d0
Merge pull request #752 from denandz/master
...
Make domain matches in the dns.spoof module case insensitive
2020-07-03 14:25:03 +02:00
Simone Margaritelli
b53b5b08d6
Merge pull request #723 from Petitoto/sslstrip
...
Fix sslstrip & some related issues in http(s).proxy and dns.spoof
2020-07-03 14:23:52 +02:00
DoI
ef27a79ec3
Make domain matches in the dns.spoof module case insensitive
2020-07-02 19:33:47 +12:00
Petitoto
62e253ee8b
Fix conflict with last commit
2020-05-12 16:42:33 +01:00
Petitoto
090ba11e5a
Add merged pull requests
2020-05-12 16:38:13 +01:00
guanicoe
6fabe025a3
Update mysql_server.go
...
typo
2020-05-04 10:58:19 +00:00
Simone Margaritelli
1957d34ca2
Merge pull request #720 from alrs/ip-equal
...
modules/arp_spoof: use net.IP to compare addresses
2020-05-04 12:57:32 +02:00
Petitoto
40c7203d1f
Fix sslstrip & some related issues in http(s).proxy and dns.spoof
2020-04-20 13:35:32 +01:00
stefan_hofbauer
a01e058d82
Fix problem with the client ip in https.proxy as described in https://github.com/bettercap/caplets/issues/45
2020-04-19 15:50:45 +02:00
Lars Lehtonen
bc05ed56fc
modules/arp_spoof: use net.IP to compare addresses
2020-04-14 09:22:58 -07:00
dadav
24a1e34237
otherwise a read timeout will occasionally occure
2020-04-08 21:32:23 +02:00
Simone Margaritelli
877600fec1
Merge pull request #705 from buffermet/master
...
add dns.spoof.ttl env variable
2020-04-08 10:47:26 +02:00
Simone Margaritelli
1cf74121a3
Merge pull request #706 from boolooper/master
...
Improve code and fix race conditions
2020-04-08 10:46:55 +02:00
Simone Margaritelli
61d9316cad
fix: logging error when read from websocket fails
2020-04-08 10:36:04 +02:00
Hasibul Hasan Anik
b253e6b4df
Remove unnecessary variable assignment
2020-03-05 13:02:30 +06:00
Hasibul Hasan Anik
3b57b0cb38
Remove nil check for empty map.
2020-03-05 13:01:46 +06:00
Hasibul Hasan Anik
050bd28511
Kepp sync.WorkerGroup.Add() outside of goroutine
...
The workergroup should be added before starting the worker.
The worker routine itself should not start the worker. It causes race condition.
2020-03-05 12:58:22 +06:00
Hasibul Hasan Anik
1fee1f718d
Remove unnecessary fmt.Sprintf
...
the tui.Bold function already returning a string.
There has not need to convert it ot string by using fmt.Sprintf
2020-03-05 12:56:04 +06:00
buffermet
51dfd86898
Update dns_spoof.go
2020-03-05 08:44:12 +10:00
buffermet
2f14254c4c
Update dns_spoof.go
2020-03-05 08:43:21 +10:00
buffermet
466105a1af
Update dns_spoof.go
2020-03-05 08:39:07 +10:00
buffermet
03951d9d01
Update dns_spoof.go
2020-03-05 08:35:42 +10:00
buffermet
e4682168df
add dns.spoof.ttl env variable
2020-03-05 08:34:45 +10:00
Frank Spierings
a0a0963cd5
Implemented a way to not send deauthentication and/or association packets to AP's for which key material was already acquired
2020-02-28 12:05:23 +01:00