mirror of https://github.com/daffainfo/nuclei.git
Misc
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…
Reference in New Issue