Skip to content

Commit 1f7bee3

Browse files
author
Tod Beardsley
committed
Land rapid7#4731, fix fail_with message
2 parents 6d46182 + a5b2e99 commit 1f7bee3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/post/windows/gather/outlook.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def run
144144
# Check whether target system is locked
145145
locked = client.railgun.user32.GetForegroundWindow()['return']
146146
if locked == 0
147-
fail_with(Failure::Unknown, "Target system is locked. This post module cannot click on Outlooks security warning when the target system is locked")
147+
fail_with(Failure::Unknown, "Target system is locked. This post module cannot click on Outlook's security warning when the target system is locked.")
148148
end
149149

150150
case action.name

modules/post/windows/gather/phish_windows_credentials.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def run
109109
# Check whether target system is locked
110110
locked = client.railgun.user32.GetForegroundWindow()['return']
111111
if locked == 0
112-
fail_with(Failure::Unknown, "Target system is locked. This post module cannot click on Outlooks security warning when the target system is locked")
112+
fail_with(Failure::Unknown, "Target system is locked. This post module cannot start the loginprompt when the target system is locked.")
113113
end
114114

115115
# Switch to check whether a specific process needs to be monitored, or just show the popup immediatly.

0 commit comments

Comments
 (0)