From a863005d337a5565641f00bbbdea8af71d6a7414 Mon Sep 17 00:00:00 2001 From: kaospunk Date: Thu, 22 Aug 2013 14:20:42 -0400 Subject: [PATCH] Removed blanks at EOL Fixed blanks at EOL per msftidy messages --- modules/auxiliary/scanner/http/owa_login.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/auxiliary/scanner/http/owa_login.rb b/modules/auxiliary/scanner/http/owa_login.rb index 4e2f06f770..1ad5717fa1 100644 --- a/modules/auxiliary/scanner/http/owa_login.rb +++ b/modules/auxiliary/scanner/http/owa_login.rb @@ -115,9 +115,9 @@ class Metasploit3 < Msf::Auxiliary auth_path = action.opts['AuthPath'] inbox_path = action.opts['InboxPath'] login_check = action.opts['InboxCheck'] - + domain = nil - + if datastore['AD_DOMAIN'].nil? or datastore['AD_DOMAIN'] == '' if datastore['ENUM_DOMAIN'] domain = get_ad_domain @@ -143,10 +143,10 @@ class Metasploit3 < Msf::Auxiliary inbox_path = opts["inbox_path"] login_check = opts["login_check"] vhost = opts["vhost"] - domain = opts["domain"] - + domain = opts["domain"] + user = domain + '\\' + user if domain - + headers = { 'Cookie' => 'PBack=0' }