Skip to content

Commit 22ecd6a

Browse files
Royce DavisRoyce Davis
authored andcommitted
Edit command.rb
1 parent 18aab8b commit 22ecd6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/admin/smb/command.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def execute_command(smbshare, ip, cmd, text, bat)
9494
return True
9595
rescue StandardError => execerror
9696
print_error("#{ip} - Unable to execute specified command: #{execerror}")
97-
97+
return False
9898
end
9999
end
100100

0 commit comments

Comments
 (0)