Documentation
¶
Index ¶
- type Server
- func (s *Server) GetAgents() map[string]*models.Agent
- func (s *Server) GetExploitManager() *exploits.ExploitManager
- func (s *Server) GetPortScanner() *recon.PortScanner
- func (s *Server) HandleBeacon(w http.ResponseWriter, r *http.Request)
- func (s *Server) HandleExploit(w http.ResponseWriter, r *http.Request)
- func (s *Server) HandleScan(w http.ResponseWriter, r *http.Request)
- func (s *Server) RegisterAgent(agent *models.Agent) error
- func (s *Server) Start(addr string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetExploitManager ¶
func (s *Server) GetExploitManager() *exploits.ExploitManager
func (*Server) HandleBeacon ¶
func (s *Server) HandleBeacon(w http.ResponseWriter, r *http.Request)
Http API
func (*Server) HandleExploit ¶
func (s *Server) HandleExploit(w http.ResponseWriter, r *http.Request)
curl -X POST "http://localhost:8080/exploit/vsftpd?target=192.168.88.112"
func (*Server) HandleScan ¶
func (s *Server) HandleScan(w http.ResponseWriter, r *http.Request)
curl -s "http://localhost:8080/scan?target=192.168.88.112" | jq '.'
Click to show internal directories.
Click to hide internal directories.