Land #4731, fix fail_with message

bug/bundler_fix
Tod Beardsley 2015-02-07 22:26:54 -06:00
commit 1f7bee35b5
No known key found for this signature in database
GPG Key ID: BD63D0A3EA19CAAC
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ class Metasploit3 < Msf::Post
# Check whether target system is locked # Check whether target system is locked
locked = client.railgun.user32.GetForegroundWindow()['return'] locked = client.railgun.user32.GetForegroundWindow()['return']
if locked == 0 if locked == 0
fail_with(Failure::Unknown, "Target system is locked. This post module cannot click on Outlooks security warning when the target system is locked") fail_with(Failure::Unknown, "Target system is locked. This post module cannot click on Outlook's security warning when the target system is locked.")
end end
case action.name case action.name

View File

@ -109,7 +109,7 @@ class Metasploit3 < Msf::Post
# Check whether target system is locked # Check whether target system is locked
locked = client.railgun.user32.GetForegroundWindow()['return'] locked = client.railgun.user32.GetForegroundWindow()['return']
if locked == 0 if locked == 0
fail_with(Failure::Unknown, "Target system is locked. This post module cannot click on Outlooks security warning when the target system is locked") fail_with(Failure::Unknown, "Target system is locked. This post module cannot start the loginprompt when the target system is locked.")
end end
# Switch to check whether a specific process needs to be monitored, or just show the popup immediatly. # Switch to check whether a specific process needs to be monitored, or just show the popup immediatly.