Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E tests: Research Brute Force tests failures #3208

Closed
mauromalara opened this issue Aug 30, 2022 · 4 comments
Closed

E2E tests: Research Brute Force tests failures #3208

mauromalara opened this issue Aug 30, 2022 · 4 comments
Assignees
Labels

Comments

@mauromalara
Copy link
Contributor

Description

After the debugging and testing achieved in #3166, we could see that the tests in test_brute_force were failing, so we must find the reason for the failure and a solution for it.

Executions

@juliamagan
Copy link
Member

The RDP failure seems to be produced by the hydra version because it just fails in @BelenValdivia environment. Her error message has passwords in plural, while we expect password. We should install a specific hydra version.

My current hydra version is:

hydra -v
Hydra v9.2 (c) 2021 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).

@BelenValdivia
Copy link
Contributor

BelenValdivia commented Aug 30, 2022

I executed the rdp test with Hydra v9.0. My localhost is a Ubuntu 20.04

@BelenValdivia
Copy link
Contributor

I upgraded to Ubuntu 22.04 and Hydra v9.2 and the test passed

@mauromalara
Copy link
Contributor Author

mauromalara commented Sep 1, 2022

I fixed the test_brute_force_rdp test by specifying the version of Hydra to be installed (v9.2).

Also, I added a role to search for the alert before fetching the alerts.json.

Results Note
🟢 (6 rounds) In R2 and R6 RDP fails, so I fixed the error by removing the failed_when condition because it's unnecessary (the command is executed but ansible does not wait for it to finish)
🟢 6 rounds of RDP only to check the change mentioned in the previous note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants