Commit graph

465 commits

Author SHA1 Message Date
evilsocket
31c7b87c53
misc: small fix or general refactoring i did not bother commenting 2018-03-28 21:13:20 +02:00
evilsocket
40e3e9cb7e
misc: small fix or general refactoring i did not bother commenting 2018-03-28 21:10:25 +02:00
evilsocket
0453d650d9
misc: small fix or general refactoring i did not bother commenting 2018-03-28 19:57:42 +02:00
evilsocket
54d4594a5b
misc: small fix or general refactoring i did not bother commenting 2018-03-28 19:56:21 +02:00
evilsocket
ce4d735f63
misc: small fix or general refactoring i did not bother commenting 2018-03-28 19:51:43 +02:00
evilsocket
c8e0489c72
misc: small fix or general refactoring i did not bother commenting 2018-03-28 19:50:11 +02:00
evilsocket
39ed078204
misc: small fix or general refactoring i did not bother commenting 2018-03-28 19:49:46 +02:00
evilsocket
2a68ebb95e
new: implemented new (Linux only) packet.proxy module (closes #6). 2018-03-28 15:17:32 +02:00
evilsocket
43b7e8243f
fix: made a warning log as a debug log to avoid causing confusion about MAC lookup of offline addresses 2018-03-28 11:56:56 +02:00
evilsocket
d9dba33cce
misc: small fix or general refactoring i did not bother commenting 2018-03-27 15:34:03 +02:00
evilsocket
ea31346e3e
fix: slightly better handling of http->http redirections while sslstrip is enabled (ref #154) 2018-03-27 14:46:15 +02:00
evilsocket
1f8e97d91f
fix: fixed a bug which caused response body overrides from proxy modules to not work correctly in some cases (fixes #209) 2018-03-27 12:34:19 +02:00
evilsocket
da2d837dfb
fix: using active udp probes if arp.spoof fails to resolve an IP to its MAC 2018-03-27 10:39:20 +02:00
evilsocket
6c50cc2918
new: added new arp.spoof.whitelist variable which supports macs, ips, ip ranges and aliases (closes #205) 2018-03-26 11:58:31 +02:00
evilsocket
54607993ba
new: aliases can now be used along with MACs and IP ranges for the arp.spoof.targets variable (ref #204) 2018-03-26 11:38:22 +02:00
evilsocket
3e8b12f08b
fix: not printing a new line and not refreshing the prompt in events.show if no event is present. 2018-03-22 13:36:27 +01:00
evilsocket
e071788681
fix: updated gps module to reflect latest changes in nmea package 2018-03-22 11:53:28 +01:00
evilsocket
ec28d73ba7
fix: fixed a race condition 2018-03-22 10:35:42 +01:00
Geoff Garside
dd9f689df1 Fix compatibility with github.com/adrianmo/go-nmea#13
So far only the compile issue has been resolved. No investigation has been performed into the behaviour of the gps module.
2018-03-22 06:44:54 +00:00
yungtravla
9a20e54b28
Update http_proxy_js_request.go 2018-03-21 23:52:48 +10:00
yungtravla
8c3ceedf2e
Update http_proxy_js_response.go 2018-03-21 23:52:47 +10:00
yungtravla
fb787679a8
Update http_proxy_js_response.go 2018-03-21 20:04:22 +10:00
yungtravla
57c1aa5a5e
Update http_proxy_js_request.go 2018-03-21 20:04:10 +10:00
yungtravla
e17a848f8a
Update http_proxy_js_request.go 2018-03-21 20:03:07 +10:00
yungtravla
78ae5095c4
Update http_proxy_js_request.go 2018-03-21 19:47:19 +10:00
yungtravla
0b56b19134
Update http_proxy_js_response.go 2018-03-21 19:47:15 +10:00
evilsocket
9be87717cc
new: new writeFile(path, data) proxy module builtin function 2018-03-19 19:11:35 +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
8444a783a1
Merge branch 'master' into wifi.flood 2018-03-19 12:54:29 +01:00
Murilo Santana
9aadcc0e13 set start port as optional, port range defaults to 1-65535 2018-03-18 01:34:27 -03:00
evilsocket
94ba9b19d1
fix: fixed a bug which prevented -no-colors from working correctly 2018-03-16 12:20:24 +01:00
evilsocket
9d0c7bc405
new: implemented request.Header and response.Header methods for HTTP proxy modules (closes #174) 2018-03-16 12:12:13 +01:00
evilsocket
9ffef99811
misc: small fix or general refactoring i did not bother commenting 2018-03-14 16:42:47 +01:00
Simone Margaritelli
1155624b43
Merge pull request #173 from b3tt3rfun/Builtins-(http.modules)
Builtins (http.modules): Log levels and base64 dec/enc
2018-03-14 13:51:29 +01:00
b3tt3rfun
953732e4b2
Builtins (http.modules): Log levels and base64 dec/enc
Define more builtin functions in http.modules:
+ More log levels: log_deb, log_info, log_warn, log_error, log_fatal.
+ Add btoa/atob javascript functions.
Modify wiki to include this: https://github.com/bettercap/bettercap/wiki/http.modules
2018-03-14 13:35:09 +01:00
evilsocket
d7d85c588a
misc: small fix or general refactoring i did not bother commenting 2018-03-14 11:25:42 +01:00
evilsocket
7cf10ec0c7
misc: small fix or general refactoring i did not bother commenting 2018-03-14 01:13:31 +01:00
evilsocket
2bb0727737
fix: fixed the way syn.scan events are presented by the events.stream 2018-03-14 01:11:52 +01:00
evilsocket
fd586cf512
new: implemented update.check module (closes #172) 2018-03-13 22:43:56 +01:00
Giulio De Pasquale
a151e63497 Multiple IPs are now correctly parsed 2018-03-13 10:32:39 -07:00
evilsocket
9e174e2e93
wifi.beacon.flood is implemented but it's not reliable enough (yet) to be merged into master 2018-03-13 17:47:39 +01:00
evilsocket
38d08e4db6
misc: small fix or general refactoring i did not bother commenting 2018-03-13 15:22:03 +01:00
evilsocket
d6b9aa7b7f
Merge branch 'master' into wifi.flood 2018-03-13 15:13:37 +01:00
evilsocket
d09eec3535
misc: small fix or general refactoring i did not bother commenting 2018-03-13 14:41:37 +01:00
evilsocket
cc01a99579
refact: refactored api.rest controller 2018-03-13 13:57:52 +01:00
Simone Margaritelli
0b51b6ebe4
Merge pull request #170 from KhasMek/api
api: switch request router and add more paths
2018-03-13 13:33:12 +01:00
evilsocket
e40219976c
new: implemented events.stream.output (closes #169). new: implemented -no-colors argument. 2018-03-13 13:20:21 +01:00
KhasMek
4b8d4aeb1b api: switch request router and add more paths
This switches the url router to gorilla and
  adds the following routes.

  - /api/events
  - /api/session
  - /api/session/ble
  - /api/session/ble/{mac}
  - /api/session/env
  - /api/session/gateway
  - /api/session/interface
  - /api/session/lan
  - /api/session/lan/{mac}
  - /api/session/options
  - /api/session/packets
  - /api/session/started-at
  - /api/session/wifi
  - /api/session/wifi/{mac}

  where {mac} is the mac address of a device.
2018-03-12 18:42:32 -06:00
evilsocket
17e5138acd
misc: small fix or general refactoring i did not bother commenting 2018-03-12 17:01:53 +01:00