This commit is contained in:
evilsocket 2018-02-08 04:59:57 +01:00
parent 81b2683bcf
commit d6d75ee390
2 changed files with 5 additions and 0 deletions

View file

@ -1,6 +1,7 @@
package modules
import (
"fmt"
"github.com/evilsocket/bettercap-ng/session"
)
@ -36,6 +37,7 @@ func NewHttpProxy(s *session.Session) *HttpProxy {
p.AddHandler(session.NewModuleHandler("http.proxy on", "",
"Start HTTP proxy.",
func(args []string) error {
fmt.Printf("\nproxy.start\n")
return p.Start()
}))