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

wordlist iterator should check for type and not just existence #22

Closed
evilsocket opened this issue Nov 7, 2023 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@evilsocket
Copy link
Owner

In order to determine if a --username or --password argument value is a wordlist file, filepath.exists() is used. However, this will return true if the value is a folder, in which case BufReader.lines will result in an infinite loop. Type should be checked (is_file) other than just existence.

@evilsocket evilsocket added the bug Something isn't working label Nov 7, 2023
@evilsocket evilsocket self-assigned this Nov 7, 2023
@evilsocket
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant