mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
new: improved menu and per module help
This commit is contained in:
parent
debdeba956
commit
31de46c14c
10 changed files with 60 additions and 129 deletions
|
@ -84,7 +84,7 @@ type JSSessionResponse struct {
|
|||
}
|
||||
|
||||
func (api *RestAPI) Name() string {
|
||||
return "REST API"
|
||||
return "api.rest"
|
||||
}
|
||||
|
||||
func (api *RestAPI) Description() string {
|
||||
|
|
|
@ -53,7 +53,7 @@ func (p *ArpSpoofer) OnSessionEnded(s *session.Session) {
|
|||
}
|
||||
|
||||
func (p ArpSpoofer) Name() string {
|
||||
return "ARP Spoofer"
|
||||
return "arp.spoof"
|
||||
}
|
||||
|
||||
func (p ArpSpoofer) Description() string {
|
||||
|
|
|
@ -47,7 +47,7 @@ func NewEventsStream(s *session.Session) *EventsStream {
|
|||
}
|
||||
|
||||
func (s EventsStream) Name() string {
|
||||
return "Events Stream"
|
||||
return "events.stream"
|
||||
}
|
||||
|
||||
func (s EventsStream) Description() string {
|
||||
|
|
|
@ -115,7 +115,7 @@ func NewHttpProxy(s *session.Session) *HttpProxy {
|
|||
}
|
||||
|
||||
func (p *HttpProxy) Name() string {
|
||||
return "HTTP Proxy"
|
||||
return "http.proxy"
|
||||
}
|
||||
|
||||
func (p *HttpProxy) Description() string {
|
||||
|
|
|
@ -40,7 +40,7 @@ func NewProber(s *session.Session) *Prober {
|
|||
}
|
||||
|
||||
func (p Prober) Name() string {
|
||||
return "Network Prober"
|
||||
return "net.probe"
|
||||
}
|
||||
|
||||
func (p Prober) Description() string {
|
||||
|
|
|
@ -49,7 +49,7 @@ func NewDiscovery(s *session.Session) *Discovery {
|
|||
}
|
||||
|
||||
func (d Discovery) Name() string {
|
||||
return "Network Recon"
|
||||
return "net.recon"
|
||||
}
|
||||
|
||||
func (d Discovery) Description() string {
|
||||
|
|
|
@ -165,7 +165,7 @@ func NewSniffer(s *session.Session) *Sniffer {
|
|||
}
|
||||
|
||||
func (s Sniffer) Name() string {
|
||||
return "Network Sniffer"
|
||||
return "net.sniff"
|
||||
}
|
||||
|
||||
func (s Sniffer) Description() string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue