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)
- func Pipeline(ctx context.Context, port int) error
- func Smuggle(ctx context.Context, port int) error
- func UnsafeRender(title string, data []byte) []byte
- type EvFunc
- type GroupedRoutes
- type JsonParser
- type Session
- type UserCart
- type UserOrder
- 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 Login []byte
View Source
var MallGroup *mux.Router
Functions ¶
func BlockContent ¶
func DefaultRender ¶
func DefaultRenderEx ¶
func ForceEnsureCookie ¶
func GetSensitiveFile ¶
func LoadFromGetJSONParam ¶
func LoadFromPostJSONParams ¶
func NewVulinServerEx ¶
func UnsafeRender ¶
Types ¶
type GroupedRoutes ¶
type UserCart ¶
type UserCart struct {
gorm.Model
UserID int `gorm:"column:UserID"` //用户ID
ProductName string `gorm:"column:ProductName"` //商品名称
Description string `gorm:"column:Description"` //商品描述
ProductPrice float64 `gorm:"column:ProductPrice"` //商品价格
ProductQuantity int `gorm:"column:ProductQuantity"` //商品数量
TotalPrice float64 `gorm:"column:TotalPrice"` //商品总价
}
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 ¶
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 ¶
func (v *VulInfo) GetHandler() http.HandlerFunc
type VulInfoIf ¶
type VulInfoIf interface {
Path() string
Handler() http.HandlerFunc
}
type VulinServer ¶
type VulinServer struct {
// contains filtered or unexported fields
}
func (*VulinServer) GetGroupVulInfos ¶
func (s *VulinServer) GetGroupVulInfos(group string) []*VulInfo
func (*VulinServer) RegisterUserHandler ¶
func (s *VulinServer) RegisterUserHandler(writer http.ResponseWriter, request *http.Request)
Source Files
¶
- agent_handler.go
- auth.go
- database_schema.go
- db.go
- default_render.go
- http_100.go
- model_mall_usercart.go
- model_mall_userorder.go
- model_session.go
- model_user.go
- route.go
- service_websocket.go
- service_wsagent.go
- smuggle.go
- utils.go
- vul_bruteplayground.go
- vul_cmdi.go
- vul_crypto_sm.go
- vul_cryptojs_base.go
- vul_csrf.go
- vul_exprinj.go
- vul_fake_ip.go
- vul_fastjson.go
- vul_jsonp.go
- vul_logic.go
- vul_login.go
- vul_mall_index.go
- vul_mall_login.go
- vul_mall_userCart.go
- vul_mall_userOrder.go
- vul_matcher.go
- vul_misc.go
- vul_postmessageiframe.go
- vul_sensitive.go
- vul_server.go
- vul_shiro.go
- vul_sqli.go
- vul_sqli_real_enc.go
- vul_ssrf.go
- vul_upload.go
- vul_xss.go
Click to show internal directories.
Click to hide internal directories.