Documentation ¶
Index ¶
- Variables
- func BlockContent(i ...string) string
- func DefaultRender(innerHtml any, writer http.ResponseWriter, request *http.Request, ...)
- func DefaultRenderEx(override bool, innerHtml any, writer http.ResponseWriter, ...)
- func Failed(writer http.ResponseWriter, r *http.Request, msg string, items ...any)
- func ForceEnsureCookie(writer http.ResponseWriter, r *http.Request, key, val string) bool
- func GetSensitiveFile(name string) []byte
- func LoadFromBodyJsonParams(req *http.Request, name string) string
- func LoadFromGetBase64JSONParam(req *http.Request, containerName, name string) string
- func LoadFromGetBase64Params(req *http.Request, name string) string
- func LoadFromGetJSONParam(req *http.Request, paramsContainer, name string) string
- func LoadFromGetParams(req *http.Request, name string) string
- func LoadFromPostBase64JSONParams(req *http.Request, container, name string) string
- func LoadFromPostBase64Params(req *http.Request, name string) string
- func LoadFromPostJSONParams(req *http.Request, paramsContainer, name string) string
- func LoadFromPostParams(req *http.Request, name string) string
- func NewVulinServer(ctx context.Context, port ...int) (string, error)
- func NewVulinServerEx(ctx context.Context, noHttps, safeMode bool, host string, ports ...int) (string, error)
- func NewVulinboxAgent(ctx context.Context, port ...int) (string, error)
- type EvFunc
- type GroupedRoutes
- type JsonParser
- type Session
- type VirtualYakExecServer
- func (v *VirtualYakExecServer) Context() context.Context
- func (v *VirtualYakExecServer) RecvMsg(m interface{}) error
- func (v *VirtualYakExecServer) Send(result *ypb.ExecResult) error
- func (v *VirtualYakExecServer) SendHeader(md grpcMetadata.MD) error
- func (v *VirtualYakExecServer) SendMsg(m interface{}) error
- func (v *VirtualYakExecServer) SetHeader(md grpcMetadata.MD) error
- func (v *VirtualYakExecServer) SetTrailer(md grpcMetadata.MD)
- type VulInfo
- type VulInfoIf
- type VulinServer
- type VulinUser
Constants ¶
This section is empty.
Variables ¶
View Source
var DnsRecord = []string{}
Functions ¶
func BlockContent ¶ added in v1.2.4
func DefaultRender ¶ added in v1.2.4
func DefaultRenderEx ¶ added in v1.2.4
func ForceEnsureCookie ¶ added in v1.2.3
func GetSensitiveFile ¶ added in v1.2.4
func LoadFromBodyJsonParams ¶ added in v1.2.3
func LoadFromGetBase64JSONParam ¶ added in v1.2.3
func LoadFromGetBase64Params ¶ added in v1.2.3
func LoadFromGetJSONParam ¶ added in v1.2.3
func LoadFromGetParams ¶ added in v1.2.3
func LoadFromPostBase64JSONParams ¶ added in v1.2.3
func LoadFromPostBase64Params ¶ added in v1.2.3
func LoadFromPostJSONParams ¶ added in v1.2.3
func LoadFromPostParams ¶ added in v1.2.3
func NewVulinServerEx ¶ added in v1.2.2
Types ¶
type GroupedRoutes ¶ added in v1.2.4
type VirtualYakExecServer ¶
type VirtualYakExecServer struct {
// contains filtered or unexported fields
}
func NewVirtualYakExecServerWithMessageHandle ¶
func NewVirtualYakExecServerWithMessageHandle(h func(result *ypb.ExecResult) error) *VirtualYakExecServer
func (*VirtualYakExecServer) Context ¶
func (v *VirtualYakExecServer) Context() context.Context
func (*VirtualYakExecServer) RecvMsg ¶
func (v *VirtualYakExecServer) RecvMsg(m interface{}) error
func (*VirtualYakExecServer) Send ¶
func (v *VirtualYakExecServer) Send(result *ypb.ExecResult) error
func (*VirtualYakExecServer) SendHeader ¶
func (v *VirtualYakExecServer) SendHeader(md grpcMetadata.MD) error
func (*VirtualYakExecServer) SendMsg ¶
func (v *VirtualYakExecServer) SendMsg(m interface{}) error
func (*VirtualYakExecServer) SetHeader ¶
func (v *VirtualYakExecServer) SetHeader(md grpcMetadata.MD) error
func (*VirtualYakExecServer) SetTrailer ¶
func (v *VirtualYakExecServer) SetTrailer(md grpcMetadata.MD)
type VulInfo ¶ added in v1.2.4
type VulInfo struct { Handler func(http.ResponseWriter, *http.Request) `json:"-"` Path string DefaultQuery string // 名称 Title string // 是否期望检出 Risk RiskDetected bool Headers []*ypb.KVPair // 具体期望结果 ExpectedResult map[string]int }
func (*VulInfo) GetHandler ¶ added in v1.2.4
func (v *VulInfo) GetHandler() http.HandlerFunc
type VulInfoIf ¶ added in v1.2.4
type VulInfoIf interface { Path() string Handler() http.HandlerFunc }
type VulinServer ¶
type VulinServer struct {
// contains filtered or unexported fields
}
func (*VulinServer) GetGroupVulInfos ¶ added in v1.2.4
func (s *VulinServer) GetGroupVulInfos(group string) []*VulInfo
Source Files ¶
- agent_handler.go
- auth.go
- db.go
- default_render.go
- model_session.go
- model_user.go
- route.go
- service_websocket.go
- service_wsagent.go
- utils.go
- vul_cmdi.go
- vul_crypto_sm.go
- vul_cryptojs_base.go
- vul_csrf.go
- vul_exprinj.go
- vul_fastjson.go
- vul_jsonp.go
- vul_logic.go
- vul_login.go
- vul_postmessageiframe.go
- vul_sensitive.go
- vul_server.go
- vul_shiro.go
- vul_sqli.go
- vul_ssrf.go
- vul_suricata.go
- vul_upload.go
- vul_xss.go
Click to show internal directories.
Click to hide internal directories.