Projects STRLCPY afrog Commits ce881aef
🤬
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■ ■
    pkg/core/excute.go
    skipped 15 lines
    16 16   ReverseCeyeApiKey = e.options.Config.Reverse.Ceye.ApiKey
    17 17   ReverseCeyeDomain = e.options.Config.Reverse.Ceye.Domain
    18 18   
    19  - http2.New(e.options)
     19 + http2.Init(e.options)
    20 20   
    21 21   var pocSlice []poc.Poc
    22 22   
    skipped 44 lines
    67 67  }
    68 68   
    69 69  func (e *Engine) executeExpression(target string, poc poc.Poc) {
    70  - // defer func() {
    71  - // if r := recover(); r != nil {
    72  - // log.Log().Error("gorutine recover() error from pkg/core/exccute/executeExpression")
    73  - // }
    74  - // }()
     70 + defer func() {
     71 + if r := recover(); r != nil {
     72 + log.Log().Error("goroutine recover() error from pkg/core/execute/executeExpression")
     73 + }
     74 + }()
    75 75   
    76 76   c := e.AcquireChecker()
    77 77   defer e.ReleaseChecker(c)
    skipped 5 lines
  • ■ ■ ■ ■
    pkg/protocols/http/http.go
    skipped 30 lines
    31 31   DialTimeout int32
    32 32  }
    33 33   
    34  -func New(options *config.Options) {
     34 +func Init(options *config.Options) {
    35 35   readTimeout, _ := time.ParseDuration(options.Config.ConfigHttp.ReadTimeout)
    36 36   writeTimeout, _ := time.ParseDuration(options.Config.ConfigHttp.WriteTimeout)
    37 37   maxIdleConnDuration, _ := time.ParseDuration(options.Config.ConfigHttp.MaxIdle)
    skipped 418 lines
Please wait...
Page is in error, reload to recover