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

Bruteforce - pass file iterator instead of file content #1518

Closed
firefart opened this issue Jul 15, 2020 · 1 comment
Closed

Bruteforce - pass file iterator instead of file content #1518

firefart opened this issue Jul 15, 2020 · 1 comment

Comments

@firefart
Copy link
Contributor

Currently the whole wordlist is loaded into memory which is not really efficient. We should count to lines for the overall items and than pass a file iterator so ruby can read the file in chunks instead.

@erwanlr
Copy link
Member

erwanlr commented Jul 16, 2020

Using the rockyou.txt (133Mo)

Before: [+] Memory used: 954.973 MB
After: [+] Memory used: 191.824 MB

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

No branches or pull requests

2 participants