mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 14:45:27 +00:00
Misc
This commit is contained in:
parent
3584a4b12a
commit
df1c133f68
@ -154,7 +154,7 @@ func (r *Request) Compile(options *protocols.ExecuterOptions) error {
|
|||||||
if len(r.Payloads) > 0 {
|
if len(r.Payloads) > 0 {
|
||||||
attackType := r.AttackType
|
attackType := r.AttackType
|
||||||
if attackType == "" {
|
if attackType == "" {
|
||||||
attackType = "sniper"
|
attackType = "batteringram"
|
||||||
}
|
}
|
||||||
var ok bool
|
var ok bool
|
||||||
r.attackType, ok = generators.StringToType[attackType]
|
r.attackType, ok = generators.StringToType[attackType]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user