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 6385593 commit 0f31edfCopy full SHA for 0f31edf
lib/msf/core/exploit/smtp_deliver.rb
@@ -242,12 +242,12 @@ def raw_send_recv(cmd, nsock=self.sock)
242
# to dump it all.
243
vprint_status("C: #{((cmd.length > 120) ? cmd[0,120] + "..." : cmd).strip}")
244
end
245
- begin
246
- nsock.put(cmd)
247
- res = nsock.get_once
248
- rescue
249
- return nil
250
- end
+ begin
+ nsock.put(cmd)
+ res = nsock.get_once
+ rescue
+ return nil
+ end
251
# Don't truncate the server output because it might be helpful for
252
# debugging.
253
vprint_status("S: #{res.strip}") if res
0 commit comments