Skip to content

Commit 90cc9a9

Browse files
committed
Update bmc_trackit_passwd_reset.rb
1 parent f37dc13 commit 90cc9a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/bmc_trackit_passwd_reset.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def run
9090
})
9191

9292
if !res or res.body != '{"success":true,"data":{"PasswordResetStatus":0}}'
93-
fail_with("Could not change the user's password. Is it a domain or local user?")
93+
fail_with(Failure::Unknown, "Could not change the user's password. Is it a domain or local user?")
9494
end
9595

9696
print_status("Please run the psexec module using:")

0 commit comments

Comments
 (0)