Commit graph

1045 commits

Author SHA1 Message Date
Simone Margaritelli
fc02767e72
Merge pull request #1176 from bettercap/reduce_overhead
Reduce overhead for proxied HTTP/DNS packets
2025-03-13 14:07:43 +01:00
buffermet
2c6f048cec
Merge pull request #1156 from bettercap/otto_onExit
Implement onExit otto function calls when quitting the session or modules.
2025-03-01 23:12:51 +01:00
buffermet
f8884da78c
Remove unused var 2025-02-22 19:48:34 +01:00
buffermet
0b6fade8fd
Remove unused var 2025-02-22 19:46:58 +01:00
buffermet
df91176308
Fix JavaScript backwards compatible number conversion 2025-02-22 19:33:29 +01:00
buffermet
5da2cd8d29
Fix JavaScript backwards compatible number conversion 2025-02-22 19:26:44 +01:00
buffermet
4eb923f972
Fix float64/int64 to uint64 conversion from JS environment 2025-02-16 13:53:54 +01:00
buffermet
876449e105
Fix backwards compatible uint64 conversion 2025-02-15 14:37:16 +01:00
buffermet
f3001aa565
misc 2025-02-15 11:57:08 +01:00
buffermet
1c657fdf53
Update http_proxy_script.go 2025-02-13 21:32:52 +01:00
buffermet
25c6339275
Update http_proxy_js_response.go 2025-02-13 21:32:26 +01:00
buffermet
5e97fbb6eb
Update http_proxy_js_request.go 2025-02-13 21:30:46 +01:00
buffermet
12556bc6be
Update dns_proxy_script.go 2025-02-13 21:29:57 +01:00
buffermet
c8c1072cc0
Update dns_proxy_js_query.go 2025-02-13 21:28:58 +01:00
buffermet
d03d778e46
Fix number to uint conversion in DNS proxy. 2025-02-13 00:20:28 +01:00
evilsocket
61a9069e50 new: api.rest will return the stdout data after executing a session command 2025-01-09 02:55:51 +01:00
☸️
fdca49678e
Implement DNS proxy script onExit call. 2024-11-23 16:02:28 +01:00
☸️
91f5213526
Implement HTTP proxy script onEvent call. 2024-11-23 15:56:54 +01:00
Sniffleupagus
cb5f7679d8
Improve backwards compatibility with getHandshakeFileFor
The getHandshakeFile function was using "path.Dir(shakesFileName)", which drops the last element of the path.  This is not backwards compatible with prior versions that used the variable as the dir name. In particular this change causes pwnagotchi to store handshakes in /root instead of /root/handshakes.
This commit checks for an existing directory at shakesFileName and will use that as the path instead of taking the parent directory of the path.
2024-11-13 11:33:25 -08:00
Simone Margaritelli
00854261a4
Merge pull request #1145 from bettercap/otto-session-events
Implement addSessionEvent function in HTTP proxy script env
2024-11-13 11:17:26 +01:00
☸️
08e248e38c
Implement addSessionEvent function in DNS proxy script env 2024-10-23 13:30:01 +02:00
☸️
6d242022fb
Implement addSessionEvent function in HTTP proxy script env 2024-10-22 23:11:42 +02:00
buffermet
6de6de7418 Allow wildcard in blacklist. 2024-10-12 22:05:29 +02:00
buffermet
ccb2774814 Shrink code. 2024-10-12 21:50:26 +02:00
buffermet
40f3906115 Add blacklist and whitelist logic. 2024-10-12 21:47:02 +02:00
buffermet
27d245625c Remove redundant nil assignment. 2024-10-12 17:38:49 +02:00
buffermet
32995aada3 Merge branch 'master' of https://github.com/buffermet/bettercap 2024-10-12 17:35:08 +02:00
buffermet
fe9481cb42 Print JS property conversion errors. 2024-10-12 17:34:14 +02:00
☸️
d0d1029a5a
Merge branch 'bettercap:master' into master 2024-10-12 13:49:13 +02:00
buffermet
c5017ed020 Support RFC3597 generic/unknown record type if Rdata field is present. 2024-10-12 13:45:27 +02:00
evilsocket
88d813543a merge 2024-10-10 14:34:20 +02:00
evilsocket
55edafb33c new: implemented named tickers (ref #779) 2024-10-10 14:33:52 +02:00
buffermet
c5d93825bd Catch RR nil value, improve debug logs readability. 2024-10-09 20:07:22 +02:00
buffermet
43f1013f0d Add TLS support for DNS proxy, implement backwards compatible DNS record conversion. 2024-10-09 13:47:21 +02:00
buffermet
a49d561dce init dns.proxy 2024-10-04 03:00:54 +02:00
evilsocket
e190737c91 new: added known services descriptions from IANA 2024-10-01 14:46:59 +02:00
evilsocket
30c4c320a6 misc: more compact zerogod.show 2024-10-01 14:20:14 +02:00
evilsocket
7e1cb69071 misc 2024-10-01 00:37:54 +02:00
evilsocket
02871b0ae6 new: _http and _https zeroconf acceptors 2024-09-30 19:06:10 +02:00
Simone Margaritelli
ef69151a7f chore: added credits to grandcat package 2024-09-27 20:40:48 +02:00
Simone Margaritelli
ae466b702a fix: directly embedding ui assets (fixes #1135) 2024-09-27 20:23:57 +02:00
Simone Margaritelli
ea8e96c285 chore: removed ui submodule (ref #1135) 2024-09-27 20:18:18 +02:00
Simone Margaritelli
ba29bea0cd misc: small fix or general refactoring i did not bother commenting 2024-09-22 19:25:24 +02:00
Simone Margaritelli
209725d623 misc: small fix or general refactoring i did not bother commenting 2024-09-22 17:40:23 +02:00
Simone Margaritelli
d2f13a3293 misc: small fix or general refactoring i did not bother commenting 2024-09-22 15:34:37 +02:00
Simone Margaritelli
5969acd55d misc: small fix or general refactoring i did not bother commenting 2024-09-22 15:05:43 +02:00
Simone Margaritelli
bd959586c5 misc: small fix or general refactoring i did not bother commenting 2024-09-22 15:03:10 +02:00
Simone Margaritelli
8446d66d12 misc: small fix or general refactoring i did not bother commenting 2024-09-22 14:00:39 +02:00
Simone Margaritelli
5652d15426 misc: small fix or general refactoring i did not bother commenting 2024-09-22 13:23:30 +02:00
Simone Margaritelli
7b4fc3d31d misc: small fix or general refactoring i did not bother commenting 2024-09-21 17:52:50 +02:00