parent
92752de651
commit
89753a6390
|
@ -242,7 +242,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
}
|
}
|
||||||
}, -1)
|
}, -1)
|
||||||
|
|
||||||
if (res.code == 200)
|
if res and res.code == 200
|
||||||
if (not res.body.length > 0)
|
if (not res.body.length > 0)
|
||||||
# sometimes weird bug where body doesn't have value yet
|
# sometimes weird bug where body doesn't have value yet
|
||||||
res.body = res.bufq
|
res.body = res.bufq
|
||||||
|
@ -294,7 +294,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
}
|
}
|
||||||
}, -1)
|
}, -1)
|
||||||
|
|
||||||
if (res.code == 200)
|
if res and res.code == 200
|
||||||
if (not res.body.length > 0)
|
if (not res.body.length > 0)
|
||||||
# sometimes weird bug where body doesn't have value yet
|
# sometimes weird bug where body doesn't have value yet
|
||||||
res.body = res.bufq
|
res.body = res.bufq
|
||||||
|
|
Loading…
Reference in New Issue