new: improved menu and per module help

This commit is contained in:
evilsocket 2018-01-09 22:23:11 +01:00
commit 31de46c14c
10 changed files with 60 additions and 129 deletions

View file

@ -84,7 +84,7 @@ type JSSessionResponse struct {
}
func (api *RestAPI) Name() string {
return "REST API"
return "api.rest"
}
func (api *RestAPI) Description() string {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {