Land #6768, moar fixes for ghetto Bool checking
commit
1bfb31e1f6
|
@ -158,7 +158,7 @@ class MetasploitModule < Msf::Auxiliary
|
|||
'Cookie' => 'PBack=0'
|
||||
}
|
||||
|
||||
if (datastore['SSL'].to_s.match(/^(t|y|1)/i))
|
||||
if datastore['SSL']
|
||||
if action.name == "OWA_2013"
|
||||
data = 'destination=https://' << vhost << '/owa&flags=4&forcedownlevel=0&username=' << user << '&password=' << pass << '&isUtf8=1'
|
||||
else
|
||||
|
|
|
@ -70,11 +70,11 @@ class MetasploitModule < Msf::Auxiliary
|
|||
@log_console = false
|
||||
@log_database = false
|
||||
|
||||
if (datastore['LogConsole'].to_s.match(/^(t|y|1)/i))
|
||||
if datastore['LogConsole']
|
||||
@log_console = true
|
||||
end
|
||||
|
||||
if (datastore['LogDatabase'].to_s.match(/^(t|y|1)/i))
|
||||
if datastore['LogDatabase']
|
||||
@log_database = true
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue