Skip to content

Commit 1390c81

Browse files
committed
Fix fail_with text
Fix fail_with text, when the target system is locked.
1 parent eb4226d commit 1390c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)