增加-dns参数启用dnslog poc

This commit is contained in:
影舞者
2022-08-16 11:18:09 +08:00
parent 9b0f12c31a
commit 98569648bb
7 changed files with 37 additions and 40 deletions

View File

@@ -82,7 +82,9 @@ func executePoc(oReq *http.Request, p *Poc) (bool, error, string) {
for _, item := range p.Set {
k, expression := item.Key, item.Value
if expression == "newReverse()" {
return false, nil, ""
if !common.DnsLog {
return false, nil, ""
}
variableMap[k] = newReverse()
continue
}