Documentation ¶
Index ¶
- Constants
- 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 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 MessageMux(data []byte, ack func(ack *AckAction))
- 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 AckAction
- type AgentProtocol
- type DatabackAction
- type PingAction
- type Session
- type SubscribeAction
- type UDPAction
- 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 VulinServer
- type VulinUser
Constants ¶
View Source
const ( ActionUDP = "udp" ActionAck = "ack" ActionDataback = "databack" ActionSubscribe = "subscribe" ActionPing = "ping" )
Variables ¶
This section is empty.
Functions ¶
func ForceEnsureCookie ¶ added in v1.2.3
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 MessageMux ¶
func NewVulinServerEx ¶ added in v1.2.2
Types ¶
type AckAction ¶
type AckAction struct { AgentProtocol Status string `json:"status"` Data any `json:"data"` }
type AgentProtocol ¶
type DatabackAction ¶
type DatabackAction struct { AgentProtocol Type string `json:"type"` Data any `json:"data"` }
type PingAction ¶
type PingAction struct {
AgentProtocol
}
type SubscribeAction ¶
type SubscribeAction struct { AgentProtocol Subscribe []string `json:"subscribe"` }
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 VulinServer ¶
type VulinServer struct {
// contains filtered or unexported fields
}
Source Files ¶
- auth.go
- db.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_exprinj.go
- vul_jsonp.go
- vul_login.go
- vul_postmessageiframe.go
- vul_server.go
- vul_shiro.go
- vul_sqli.go
- vul_ssrf.go
- vul_upload.go
- vul_user.go
- vul_xss.go
- wsagent_proto.go
Click to show internal directories.
Click to hide internal directories.