mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
refact: refactored proxy specific code in a http proxy base object, preparing for https.proxy module
This commit is contained in:
parent
d14bd6fc1c
commit
c582782dc7
3 changed files with 174 additions and 140 deletions
1
main.go
1
main.go
|
@ -31,6 +31,7 @@ func main() {
|
|||
sess.Register(modules.NewSniffer(sess))
|
||||
sess.Register(modules.NewHttpServer(sess))
|
||||
sess.Register(modules.NewHttpProxy(sess))
|
||||
// sess.Register(modules.NewHttpsProxy(sess))
|
||||
sess.Register(modules.NewRestAPI(sess))
|
||||
|
||||
if err = sess.Start(); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue