Versions in this module Expand all Collapse all v1 v1.0.0 Dec 3, 2023 Changes in this version + var CheckContent = "rO0ABXNyADJvcmcuYXBhY2hlLnNoaXJvLnN1YmplY3QuU2ltcGxlUHJpbmNpcGFsQ29sbGVjdGlvbqh/WCXGowhKAwABTAAPcmVhbG1QcmluY2lwYWxzdAAPTGphdmEvdXRpbC9NYXA7eHBwdwEAeA==" + var Client *http.Client + var ClientNoRedirect *http.Client + var Content = base64.StdEncoding.DecodeString(CheckContent) + var File_http_proto protoreflect.FileDescriptor + func AES_CBC_Encrypt(shirokey string) string + func AES_GCM_Encrypt(shirokey string) string + func CheckInfoPoc(infostr string) string + func CheckMultiPoc(req *http.Request, pocs []*Poc, workers int) + func Combo(input ListMap) (output [][]string) + func Evaluate(env *cel.Env, expression string, params map[string]interface{}) (ref.Val, error) + func GetHeader(header map[string]string) (output string) + func GetShrioCookie(key, mode string) string + func InitHttpClient(ThreadsNum int, DownProxy string, Timeout time.Duration) error + func Inithttp() + func MakeData(base [][]string, nextData []string) (output [][]string) + func NewEnv(c *CustomLib) (*cel.Env, error) + func Padding(plainText []byte, blockSize int) []byte + func RandomStr(randSource *rand.Rand, letterBytes string, n int) string + func SelectPoc(Pocs embed.FS, pocname string) []string + func UrlTypeToString(u *UrlType) string + type CustomLib struct + func NewEnvOption() CustomLib + func (c *CustomLib) CompileOptions() []cel.EnvOption + func (c *CustomLib) ProgramOptions() []cel.ProgramOption + func (c *CustomLib) UpdateCompileOptions(args StrMap) + type Detail struct + Author string + Description string + Links []string + Version string + type ListItem struct + Key string + Value []string + type ListMap []ListItem + func (r *ListMap) UnmarshalYAML(unmarshal func(interface{}) error) error + type MapSlice = yaml.MapSlice + type Poc struct + Detail Detail + Groups RuleMap + Name string + Rules []Rules + Set StrMap + Sets ListMap + func LoadMultiPoc(Pocs embed.FS, pocname string) []*Poc + func LoadPoc(fileName string, Pocs embed.FS) (*Poc, error) + func LoadPocbyPath(fileName string) (*Poc, error) + type Request struct + Body []byte + ContentType string + Headers map[string]string + Method string + Url *UrlType + func ParseRequest(oReq *http.Request) (*Request, error) + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (x *Request) GetBody() []byte + func (x *Request) GetContentType() string + func (x *Request) GetHeaders() map[string]string + func (x *Request) GetMethod() string + func (x *Request) GetUrl() *UrlType + func (x *Request) ProtoReflect() protoreflect.Message + func (x *Request) Reset() + func (x *Request) String() string + type Response struct + Body []byte + ContentType string + Duration float64 + Headers map[string]string + Status int32 + Url *UrlType + func DoRequest(req *http.Request, redirect bool) (*Response, error) + func ParseResponse(oResp *http.Response) (*Response, error) + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (x *Response) GetBody() []byte + func (x *Response) GetContentType() string + func (x *Response) GetDuration() float64 + func (x *Response) GetHeaders() map[string]string + func (x *Response) GetStatus() int32 + func (x *Response) GetUrl() *UrlType + func (x *Response) ProtoReflect() protoreflect.Message + func (x *Response) Reset() + func (x *Response) String() string + type Reverse struct + Domain string + Ip string + IsDomainNameServer bool + Url string + func (*Reverse) Descriptor() ([]byte, []int) + func (*Reverse) ProtoMessage() + func (x *Reverse) GetDomain() string + func (x *Reverse) GetIp() string + func (x *Reverse) GetIsDomainNameServer() bool + func (x *Reverse) GetUrl() string + func (x *Reverse) ProtoReflect() protoreflect.Message + func (x *Reverse) Reset() + func (x *Reverse) String() string + type RuleItem struct + Key string + Value []Rules + type RuleMap []RuleItem + func (r *RuleMap) UnmarshalYAML(unmarshal func(interface{}) error) error + type Rules struct + Body string + Continue bool + Expression string + FollowRedirects bool + Headers map[string]string + Method string + Path string + Search string + type StrItem struct + Key string + Value string + type StrMap []StrItem + func (r *StrMap) UnmarshalYAML(unmarshal func(interface{}) error) error + type Task struct + Poc *Poc + Req *http.Request + type UrlType struct + Domain string + Fragment string + Host string + Path string + Port string + Query string + Scheme string + func ParseUrl(u *url.URL) *UrlType + func (*UrlType) Descriptor() ([]byte, []int) + func (*UrlType) ProtoMessage() + func (x *UrlType) GetDomain() string + func (x *UrlType) GetFragment() string + func (x *UrlType) GetHost() string + func (x *UrlType) GetPath() string + func (x *UrlType) GetPort() string + func (x *UrlType) GetQuery() string + func (x *UrlType) GetScheme() string + func (x *UrlType) ProtoReflect() protoreflect.Message + func (x *UrlType) Reset() + func (x *UrlType) String() string