Fix a stack trace when SMBUser is nil

unstable
James Lee 2012-04-30 18:44:28 -06:00
parent 6ab66dc59e
commit 194c0906c2
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class Metasploit3 < Msf::Auxiliary
return
end
end
return if res.nil?
lerror, lconv, lentries, lcount = res['Payload'].to_s[
res['Payload'].v['ParamOffset'],