I blame bannedit for all his unless unless talk lately.
git-svn-id: file:///home/svn/framework3/trunk@13893 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
153a73c75f
commit
d9ea38d553
|
@ -35,7 +35,7 @@ class Post < Msf::Module
|
||||||
if not session
|
if not session
|
||||||
raise Msf::OptionValidateError.new(["SESSION"])
|
raise Msf::OptionValidateError.new(["SESSION"])
|
||||||
end
|
end
|
||||||
check_for_session_readiness() unless session.type == "meterpreter"
|
check_for_session_readiness() if session.type == "meterpreter"
|
||||||
|
|
||||||
@session.init_ui(self.user_input, self.user_output)
|
@session.init_ui(self.user_input, self.user_output)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue