mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
29f8173e17
commit
07938f8a6c
1 changed files with 0 additions and 39 deletions
|
@ -1,39 +0,0 @@
|
||||||
package modules
|
|
||||||
|
|
||||||
import (
|
|
||||||
"github.com/bettercap/bettercap/session"
|
|
||||||
)
|
|
||||||
|
|
||||||
type PacketProxy struct {
|
|
||||||
session.SessionModule
|
|
||||||
}
|
|
||||||
|
|
||||||
func NewPacketProxy(s *session.Session) *PacketProxy {
|
|
||||||
return &PacketProxy{
|
|
||||||
SessionModule: session.NewSessionModule("packet.proxy", s),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (pp PacketProxy) Name() string {
|
|
||||||
return "packet.proxy"
|
|
||||||
}
|
|
||||||
|
|
||||||
func (pp PacketProxy) Description() string {
|
|
||||||
return "Not supported on this OS"
|
|
||||||
}
|
|
||||||
|
|
||||||
func (pp PacketProxy) Author() string {
|
|
||||||
return "Simone Margaritelli <evilsocket@protonmail.com>"
|
|
||||||
}
|
|
||||||
|
|
||||||
func (pp *PacketProxy) Configure() (err error) {
|
|
||||||
return session.ErrNotSupported
|
|
||||||
}
|
|
||||||
|
|
||||||
func (pp *PacketProxy) Start() error {
|
|
||||||
return session.ErrNotSupported
|
|
||||||
}
|
|
||||||
|
|
||||||
func (pp *PacketProxy) Stop() error {
|
|
||||||
return session.ErrNotSupported
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue