Documentation ¶
Index ¶
- func RunGoPhishProxyHTTPCmd(host string, port string, dstUrl string, gophishUrl string, auth string, ...)
- func RunRedirectProxyHTTPCmd(host string, port string, dstUrl string, auth string, realm string, ...)
- func RunRedirectProxyHTTPSCmd(host string, port string, dstUrl string, auth string, realm string, ...)
- func RunRedirectServerHTTPCmd(host string, port string, vhost string, destination string, https bool) error
- func RunServerHTTPCmd(object ServerInterface) error
- func RunServerHTTPSCmd(object ServerInterface) error
- type FilseServer
- type GoPhishReverseProxy
- type JSExfilLogMiddleware
- type JavascriptExfilServer
- type NewServer
- type RedirectProxy
- type Server
- type ServerInterface
- type XRealIPMiddleware
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunGoPhishProxyHTTPCmd ¶
func RunRedirectProxyHTTPCmd ¶
func RunServerHTTPCmd ¶
func RunServerHTTPCmd(object ServerInterface) error
func RunServerHTTPSCmd ¶
func RunServerHTTPSCmd(object ServerInterface) error
Types ¶
type FilseServer ¶
func (FilseServer) CreateMiddleware ¶
func (fs FilseServer) CreateMiddleware() *negroni.Negroni
func (FilseServer) CreateRouter ¶
func (fs FilseServer) CreateRouter() *mux.Router
func (FilseServer) GetCertSubject ¶
func (fs FilseServer) GetCertSubject() string
type GoPhishReverseProxy ¶
type GoPhishReverseProxy struct {
// contains filtered or unexported fields
}
func (*GoPhishReverseProxy) HandleFunc ¶
func (rp *GoPhishReverseProxy) HandleFunc(w http.ResponseWriter, r *http.Request)
func (*GoPhishReverseProxy) HandleTrackFunc ¶
func (rp *GoPhishReverseProxy) HandleTrackFunc(w http.ResponseWriter, r *http.Request)
type JSExfilLogMiddleware ¶
type JSExfilLogMiddleware struct {
// contains filtered or unexported fields
}
func (JSExfilLogMiddleware) ServeHTTP ¶
func (l JSExfilLogMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
type JavascriptExfilServer ¶
type JavascriptExfilServer struct { Server *Server ExfilUrl string // Box *packr.Box InputMu *sync.Mutex }
func (JavascriptExfilServer) CreateMiddleware ¶
func (js JavascriptExfilServer) CreateMiddleware() *negroni.Negroni
func (JavascriptExfilServer) CreateRouter ¶
func (js JavascriptExfilServer) CreateRouter() *mux.Router
func (JavascriptExfilServer) GetCertSubject ¶
func (js JavascriptExfilServer) GetCertSubject() string
type NewServer ¶
type NewServer struct {
Server Server
}
func (NewServer) CreateMiddleware ¶
func (NewServer) CreateRouter ¶
func (NewServer) GetCertSubject ¶
type RedirectProxy ¶
type RedirectProxy struct {
// contains filtered or unexported fields
}
func (*RedirectProxy) HandleFunc ¶
func (rp *RedirectProxy) HandleFunc(w http.ResponseWriter, r *http.Request)
type ServerInterface ¶
type XRealIPMiddleware ¶
type XRealIPMiddleware struct{}
func (XRealIPMiddleware) ServeHTTP ¶
func (n XRealIPMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.