Fix a crash on load
git-svn-id: file:///home/svn/incoming/trunk@3074 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
69ed2be27e
commit
f6649e54c5
|
@ -158,7 +158,8 @@ class Driver < Msf::Ui::Driver
|
|||
def on_variable_set(glob, var, val)
|
||||
case var.downcase
|
||||
when "payload"
|
||||
if (framework.modules.valid?(val) == false)
|
||||
|
||||
if (framework and framework.modules.valid?(val) == false)
|
||||
return false
|
||||
end
|
||||
when "sessionlogging"
|
||||
|
|
|
@ -15,7 +15,7 @@ class Exploits::Windows::Ftp::FreeFTPDUserOverflow < Msf::Exploit::Remote
|
|||
exploited when logging has been enabled (non-default).
|
||||
|
||||
},
|
||||
'Author' => [ 'y0 [at] w00t-shell.net' ],
|
||||
'Author' => [ 'y0@w00t-shell.net' ],
|
||||
'Version' => '$Revision$',
|
||||
'References' =>
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue