Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit 4d9081c

Browse files
committed
Organise all modules into a categorised folder structure
1 parent 75a402d commit 4d9081c

File tree

316 files changed

+12
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

316 files changed

+12
-15
lines changed

lib/cli/context.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ def load_module(path)
1919
end
2020

2121
def reload
22-
if @module_path =~ /^exploit\//i
23-
load("#{@module_path.sub('exploit/', 'exploits/')}.rb")
24-
else
25-
load("#{@module_path}.rb")
26-
end
27-
22+
load("#{@module_path}.rb")
2823
load_module(@module_path)
2924
end
3025

0 commit comments

Comments
 (0)