Skip to content

Commit b9e8c9d

Browse files
committed
Removes debug stuff
1 parent 9445bb3 commit b9e8c9d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/msf/core/module_manager/reloading.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
# -*- coding: binary -*-
22
# Concerns reloading modules
3-
require 'pry'
4-
require 'pry-byebug'
3+
54
module Msf::ModuleManager::Reloading
65
# Reloads the module specified in mod. This can either be an instance of a module or a module class.
76
#
87
# @param [Msf::Module, Class] mod either an instance of a module or a module class
98
# @return (see Msf::Modules::Loader::Base#reload_module)
109
def reload_module(mod)
1110
# if it's an instance, then get its class
12-
binding.pry
1311
if mod.is_a? Msf::Module
1412
metasploit_class = mod.class
1513
else
@@ -49,8 +47,6 @@ def reload_payload_module(mod)
4947
metasploit_class = mod
5048
original_instance = nil
5149
end
52-
binding.pry
53-
5450
if (module_set = self.module_set_by_type.fetch(metasploit_class.type, nil))
5551
module_set.delete(metasploit_class.refname)
5652
end

0 commit comments

Comments
 (0)