fixed small logic bug in positional finite state machine

dev
Mzack9999 2020-10-12 19:09:52 +02:00
parent 0b4bb3a2f7
commit 34656d177b
2 changed files with 1 additions and 4 deletions

View File

@ -259,6 +259,7 @@ func (e *HTTPExecuter) ExecuteHTTP(p progress.IProgress, reqURL string) (result
result.Matches = make(map[string]interface{})
result.Extractions = make(map[string]interface{})
dynamicvalues := make(map[string]interface{})
_ = dynamicvalues
// verify if the URL is already being processed
if e.bulkHTTPRequest.HasGenerator(reqURL) {

View File

@ -176,10 +176,6 @@ func (gfsm *GeneratorFSM) Next(key string) bool {
return false
}
if gfsm.hasPayloads() && g.state == done {
return false
}
if g.positionPath+g.positionRaw >= len(gfsm.Paths)+len(gfsm.Raws) {
return false
}