We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88585a5 commit b2de5abCopy full SHA for b2de5ab
lib/msf/core/post.rb
@@ -34,7 +34,7 @@ def setup
34
raise Msf::MissingActionError, "Please use: #{m.actions.collect {|e| e.name} * ", "}"
35
end
36
37
- # PostMixin
+ # Msf::Module(Msf::PostMixin)#setup
38
super
39
40
lib/msf/core/post_mixin.rb
@@ -39,6 +39,9 @@ def setup
print_warning('SESSION may not be compatible with this module.')
41
42
+ # Msf::Exploit#setup for exploits, NoMethodError for post modules
43
+ super rescue NoMethodError
44
+
45
check_for_session_readiness() if session.type == "meterpreter"
46
47
@session.init_ui(self.user_input, self.user_output)
0 commit comments