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