john-tests
john-tests copied to clipboard
Add a large file processing mode (to exercise wordlist.c)
Build a very large file (say 200mb), of arbitrary data lines (none matching). Scatter into that file while it is created, the lines of pw.dic. Then for some fast formats, use this larger dic to run. Things like LM, raw-*, etc. But also sapB/sapG, since they are read past the end of buffer formats also. This is to make sure we are now reading past end of buffer in ways that could crash john on certain systems. This would be good to also run an ASan build of john when doing this, not just expecting the OS to crash the app for us.
This issue in reference to https://github.com/magnumripper/JohnTheRipper/commit/72b22f14282e7e0fed37cf794beeba7c8f9b1e85#commitcomment-9026535