Calculate req/sec correctly when recursing (#168)
This commit is contained in:
parent
ff1bc2a3c2
commit
a5d9bb5c18
@ -6,6 +6,7 @@
|
|||||||
- Changed
|
- Changed
|
||||||
- Write POST request data properly to file when ran with `-od`
|
- Write POST request data properly to file when ran with `-od`
|
||||||
- Properly handle relative redirect urls with `-recursion`
|
- Properly handle relative redirect urls with `-recursion`
|
||||||
|
- Calculate req/sec correctly for when using recursion
|
||||||
|
|
||||||
- v1.0.1
|
- v1.0.1
|
||||||
- Changed
|
- Changed
|
||||||
|
|||||||
@ -87,7 +87,6 @@ func (j *Job) Start() {
|
|||||||
j.Total = j.Input.Total()
|
j.Total = j.Input.Total()
|
||||||
defer j.Stop()
|
defer j.Stop()
|
||||||
j.Running = true
|
j.Running = true
|
||||||
j.startTime = time.Now()
|
|
||||||
//Show banner if not running in silent mode
|
//Show banner if not running in silent mode
|
||||||
if !j.Config.Quiet {
|
if !j.Config.Quiet {
|
||||||
j.Output.Banner()
|
j.Output.Banner()
|
||||||
@ -101,6 +100,7 @@ func (j *Job) Start() {
|
|||||||
j.Output.Info(fmt.Sprintf("Scanning: %s", j.Config.Url))
|
j.Output.Info(fmt.Sprintf("Scanning: %s", j.Config.Url))
|
||||||
}
|
}
|
||||||
j.Input.Reset()
|
j.Input.Reset()
|
||||||
|
j.startTime = time.Now()
|
||||||
j.Counter = 0
|
j.Counter = 0
|
||||||
j.startExecution()
|
j.startExecution()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user