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 db32c5f commit a8a0926Copy full SHA for a8a0926
modules/auxiliary/admin/smb/psexec_command.rb
@@ -162,7 +162,7 @@ def cleanup_after(*files)
162
begin
163
simple.connect("\\\\#{@ip}\\#{@smbshare}")
164
rescue Rex::Proto::SMB::Exceptions::ErrorCode => accesserror
165
- print_error("Unable to connect for cleanup: #{accesserror}. Maybe you'll need to manually remove #{left.join(", ")} from the target.")
+ print_error("Unable to connect for cleanup: #{accesserror}. Maybe you'll need to manually remove #{files.join(", ")} from the target.")
166
return
167
end
168
print_status("Executing cleanup...")
0 commit comments