diff --git a/lib/msf/core/post.rb b/lib/msf/core/post.rb index a6f12b75cf..789b6380e4 100644 --- a/lib/msf/core/post.rb +++ b/lib/msf/core/post.rb @@ -21,11 +21,11 @@ class Msf::Post < Msf::Module def setup; end def type - MODULE_POST + Msf::MODULE_POST end def self.type - MODULE_POST + Msf::MODULE_POST end # diff --git a/lib/msf/core/post_mixin.rb b/lib/msf/core/post_mixin.rb index 762fa86c00..55caffa4c4 100644 --- a/lib/msf/core/post_mixin.rb +++ b/lib/msf/core/post_mixin.rb @@ -16,7 +16,7 @@ module Msf::PostMixin super register_options( [ - OptInt.new('SESSION', [ true, "The session to run this module on." ]) + Msf::OptInt.new('SESSION', [ true, "The session to run this module on." ]) ] , Msf::Post) # Default stance is active