diff --git a/modules/auxiliary/scanner/smtp/smtp_enum.rb b/modules/auxiliary/scanner/smtp/smtp_enum.rb index ceeb9ce9f8..32b25218a4 100644 --- a/modules/auxiliary/scanner/smtp/smtp_enum.rb +++ b/modules/auxiliary/scanner/smtp/smtp_enum.rb @@ -92,7 +92,7 @@ class Metasploit3 < Msf::Auxiliary elsif(banner) print_status("#{rhost}:#{rport} Banner: #{banner}") end - + domain = result.split()[1] domain = 'localhost' if(domain == '' or not domain or domain.downcase == 'hello') diff --git a/modules/exploits/multi/samba/nttrans.rb b/modules/exploits/multi/samba/nttrans.rb index 2b08eb07c6..987596ab09 100644 --- a/modules/exploits/multi/samba/nttrans.rb +++ b/modules/exploits/multi/samba/nttrans.rb @@ -32,7 +32,7 @@ class Metasploit3 < Msf::Exploit::Remote [ 'URL', 'http://www.samba.org/samba/history/samba-2.2.7a.html' ] ], 'Privileged' => true, - 'Platform' => 'linux', + 'Platform' => 'linux', 'Payload' => { 'Space' => 1024,