File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
lib/msf/core/module_manager Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 1
1
# -*- coding: binary -*-
2
2
# Concerns reloading modules
3
- require 'pry'
4
- require 'pry-byebug'
3
+
5
4
module Msf ::ModuleManager ::Reloading
6
5
# Reloads the module specified in mod. This can either be an instance of a module or a module class.
7
6
#
8
7
# @param [Msf::Module, Class] mod either an instance of a module or a module class
9
8
# @return (see Msf::Modules::Loader::Base#reload_module)
10
9
def reload_module ( mod )
11
10
# if it's an instance, then get its class
12
- binding . pry
13
11
if mod . is_a? Msf ::Module
14
12
metasploit_class = mod . class
15
13
else
@@ -49,8 +47,6 @@ def reload_payload_module(mod)
49
47
metasploit_class = mod
50
48
original_instance = nil
51
49
end
52
- binding . pry
53
-
54
50
if ( module_set = self . module_set_by_type . fetch ( metasploit_class . type , nil ) )
55
51
module_set . delete ( metasploit_class . refname )
56
52
end
You can’t perform that action at this time.
0 commit comments