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 97adb2a commit ed7dd8dCopy full SHA for ed7dd8d
msfcli
@@ -24,6 +24,11 @@ class Msfcli
24
@args[:module_name] = args.shift # First argument should be the module name
25
@args[:mode] = args.pop || 'h' # Last argument should be the mode
26
@args[:params] = args # Whatever is in the middle should be the params
27
+
28
+ if @args[:module_name] =~ /^exploit(s)*\//i
29
+ @args[:module_name] = @args[:module_name].split('/')
30
+ @args[:module_name] = @args[:module_name][1, @args[:module_name].length] * "/"
31
+ end
32
end
33
34
#
0 commit comments