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

xrealloc: .././subst.c:5265: cannot allocate, #1

Open
shivasgold opened this issue Jan 22, 2015 · 1 comment
Open

xrealloc: .././subst.c:5265: cannot allocate, #1

shivasgold opened this issue Jan 22, 2015 · 1 comment

Comments

@shivasgold
Copy link

was trying to run a test of this software but i keep getting ./mjolnir.sh: xrealloc: .././subst.c:5265: cannot allocate 1073741824 bytes (2147549184 bytes allocated).
I was using a 99GB TXT file to do the brute force attack and was wondreing if there was a work around or solution. Much apreciated.

@rasta-mouse
Copy link
Owner

Using large wordlists is currently unsupported. The wordlist is read using cat, which I guess tries to read the entire file into memory. This is ok for small files, but gets a bit stupid when you start using large lists.

If you want to use a larger list, the code will need to be changed to allow for a file to be read in line-by-line, or some other sensible method.

Because the bruteforce process is really quite slow, it takes a long time to work through even small lists. I can't imagine how long it would take to work through a 99GB text file. This was the reason for 'botching' the file read with cat in the first place.

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