diff options
| author | Handingkang <[email protected]> | 2023-11-14 16:02:01 +0800 |
|---|---|---|
| committer | Handingkang <[email protected]> | 2023-11-14 16:02:01 +0800 |
| commit | f5ea775247269f04813857bc28493fca729a0cda (patch) | |
| tree | 93fa72d1171a8b1ad012a51ffafe7b2b72bff864 | |
| parent | 190aef03a44a099633cfb85e34a4f664b7fa77bf (diff) | |
为新探针修复问题atk_DDoS
| -rw-r--r-- | plugin/atk/atkutil.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/atk/atkutil.go b/plugin/atk/atkutil.go index a37a1cf..b397fb2 100644 --- a/plugin/atk/atkutil.go +++ b/plugin/atk/atkutil.go @@ -7,7 +7,7 @@ import ( func (a Atk) validRequest(qname string) int { //判断是否为第一阶段目标域名(放大) if strings.Contains(qname, a.zoneip4) { - if len(strings.Split(qname, ".")) == 4 { + if len(strings.Split(qname, ".")) == 5 { //需要放大 return 0 } |
