Skip to content

Attack brute force#345

Merged
itaymmguardicore merged 12 commits intoguardicore:developfrom
VakarisZ:attack_brute_force
Jun 18, 2019
Merged

Attack brute force#345
itaymmguardicore merged 12 commits intoguardicore:developfrom
VakarisZ:attack_brute_force

Conversation

@itaymmguardicore
Copy link
Contributor

Branch by @VakarisZ

Feature

Brute force report component
Small bugfixes

image

Copy link
Contributor Author

@itaymmguardicore itaymmguardicore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix these comments

:return: string with username and used password/hash
"""
username = attempt['user']
if attempt['lm_hash']:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets censor the credentials regardless of their type.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are censored, just in a different format. Passwords are censored like this Pas***** and hashes like this 0NLY_P4RT_0F_IMP0RT4NT_H4S .... This indicates that we only give the start of the hash.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the need for the different censor method. we also only provide the start of the password.
In addition, I don't think the 3 dots make it look better :
I think they should use the same method, but you can have the last word here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think using dots makes more sense because a) it's more obvious that hash is cropped (just by looking at password one might think we don't hide the length) b) it's easier to distinguish between random characters, as hashes can contain symbols.

Copy link
Contributor Author

@itaymmguardicore itaymmguardicore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix new comments & fix merge conflicts

return ScanStatus.UNSCANNED

@staticmethod
def get_message_and_status(technique, status):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use this function in get_tech_base_data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants