mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-02-03 01:03:11 +08:00
handle 1 more edgecase (#4868)
* handle 1 more edgecase * add integration test for this edgecase * fix multi-http-var-sharing with integration test * add -payload-concurrency (-pc) flag * fix missing internal:true login in multiprotocol engine * fix/handle absolute invalid url parsing * support -pc & -jc in go sdk * fix missing variables in code protocol operators * add payload count parallelhttp check
This commit is contained in:
@@ -192,6 +192,10 @@ func (request *Request) ExecuteWithResults(input *contextargs.Context, dynamicVa
|
||||
dataOutputString := fmtStdout(gOutput.Stdout.String())
|
||||
|
||||
data := make(output.InternalEvent)
|
||||
// also include all request variables in result event
|
||||
for _, value := range metaSrc.Variables {
|
||||
data[value.Name] = value.Value
|
||||
}
|
||||
|
||||
data["type"] = request.Type().String()
|
||||
data["response"] = dataOutputString // response contains filtered output (eg without trailing \n)
|
||||
|
||||
Reference in New Issue
Block a user