Closed Kiblyn11 closed 3 years ago
You're the second person in about a week or so to ask about this (https://github.com/epi052/feroxbuster/issues/226). I suppose I'll have to change the behavior. Right now the file read uses tokio's implementation, which is asynchronous, leading to unordered results.
Thank you for taking the time to create the issue by the way!
Ah I didn't think to look in past issues. Well, if there is no particular reason for treating the list unorderly it would be nice to follow the order :) And thanks for the work on this tool !
@secure-77 @Kiblyn11
version 2.2.2 maintains wordlist order.
additionally, i misspoke when i blamed tokio. I chose a hashset for storing the wordlist in order to remove duplicate entries, however hashsets are by definition unordered data structures. Changing it to a vector fixed the issue. Thank you both for the input!
thank you for adding this feature!
@epi052 That was fast ! Confirm it works. Thanks.
Describe the bug Feroxbuster process wordlist randomly which is very inconvenient when sorted by best matches. I haven't found this behavior documented anywhere.
To Reproduce
Expected behavior Tool should keep wordlist ordering or be able to provide an option to do so. I'm not really sure to know why it's processing randomly.
Traceback / Error Output If applicable, add error output to help explain your problem.
Environment (please complete the following information): feroxbuster 2.2.1 (freshly pulled)
Additional context Add any other context about the problem here.