Skip to content

Commit

Permalink
Added store_valid_credential
Browse files Browse the repository at this point in the history
Added store_valid_credential
  • Loading branch information
h4x-x0r committed Aug 13, 2024
1 parent 26d6347 commit 14e4a11
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def run
if title_block
title_text = title_block.text.strip
if title_text.include?('Administration')
store_valid_credential(user: datastore['NEW_USERNAME'], private: datastore['NEW_PASSWORD'], proof: html)
print_good('Login successful!')
else
fail_with(Failure::UnexpectedReply, 'Expected string "Administration" not found.')
Expand Down

0 comments on commit 14e4a11

Please sign in to comment.