mirror of
https://github.com/bettercap/bettercap
synced 2025-07-15 09:33:40 -07:00
fix TCP proxy typo
This commit is contained in:
parent
f0e74685b2
commit
1e61a9b4fa
1 changed files with 2 additions and 2 deletions
|
@ -49,13 +49,13 @@ func NewTcpProxy(s *session.Session) *TcpProxy {
|
||||||
"Path of a TCP proxy JS script."))
|
"Path of a TCP proxy JS script."))
|
||||||
|
|
||||||
p.AddHandler(session.NewModuleHandler("tcp.proxy on", "",
|
p.AddHandler(session.NewModuleHandler("tcp.proxy on", "",
|
||||||
"Start HTTP proxy.",
|
"Start TCP proxy.",
|
||||||
func(args []string) error {
|
func(args []string) error {
|
||||||
return p.Start()
|
return p.Start()
|
||||||
}))
|
}))
|
||||||
|
|
||||||
p.AddHandler(session.NewModuleHandler("tcp.proxy off", "",
|
p.AddHandler(session.NewModuleHandler("tcp.proxy off", "",
|
||||||
"Stop HTTP proxy.",
|
"Stop TCP proxy.",
|
||||||
func(args []string) error {
|
func(args []string) error {
|
||||||
return p.Stop()
|
return p.Stop()
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue