Skip to content

Commit 434ffa1

Browse files
committed
Make sure we don't end up loading aux and exploits together
1 parent 701cde0 commit 434ffa1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

msfcli

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class Msfcli
2828
if @args[:module_name] =~ /^exploit(s)*\//i
2929
@args[:module_name] = @args[:module_name].split('/')
3030
@args[:module_name] = @args[:module_name][1, @args[:module_name].length] * "/"
31+
@args[:module_name] = "exploits/" + '@args[:module_name]'
3132
end
3233
end
3334

0 commit comments

Comments
 (0)