Skip to content

Commit 683bcd4

Browse files
Royce DavisRoyce Davis
authored andcommitted
Added disconnect method to command.rb
1 parent e57275d commit 683bcd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/auxiliary/admin/smb/command.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def run_host(ip)
6666
o = get_output(smbshare, ip, text)
6767
end
6868
cleanup_after(smbshare, ip, text, bat)
69+
disconnect
6970
end
7071
end
7172

0 commit comments

Comments
 (0)