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

Feature Request: Flag to stop on X no. of errors #774

Open
Nishantbhagat57 opened this issue Mar 24, 2024 · 2 comments
Open

Feature Request: Flag to stop on X no. of errors #774

Nishantbhagat57 opened this issue Mar 24, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@Nishantbhagat57
Copy link

There doesn't seem to be any clear documentation explaining how the -se flag functions. So, I am assuming it stops on more than 10 errors.

I'm using a large wordlist for Directory Enumeration, which may lead to numerous errors, potentially up to 500 or 1000. I prefer not to use these flags -sa -se as they restrict the scanning capacity. Even if there are some errors, in my experience, FFUF continues to function properly.

The real issues begin when I reach a certain error threshold, for me, it's around 1500. At this point, FFUF's performance drops from 300 req/s to 2 req/s. I'm currently using the -maxtime flag to manage this, but it would be more efficient if there was a flag to specify a maximum error limit at which FFUF would stop scanning.

@Nishantbhagat57
Copy link
Author

@joohoi ping

@bsysop
Copy link
Collaborator

bsysop commented Apr 7, 2024

Hi @Nishantbhagat57, to give you some context.

-sf (Stop on 403 Forbidden): Halts the job when more than 95% of the HTTP responses returned are 403 Forbidden errors.
-se (Stop on Spurious Errors): Stops the job when the number of spurious errors (unclassified or unexpected errors) exceeds twice the number of threads being used by the job.

-sa (Stop on All): Will include 429 HTTP Codes to the combo, halting the job if 20% of the requests are 429.

Usually, the errors you see in some servers are directly related to the amount requests/sec you set (via -threads or via -rate), making the server fail, in those cases the best thing is to find a stable (lower) number of requests and fuzz with it.

Changing the % that fuff uses to halt the job would make you believe it works better, but indeed the server is failing and you need to avoid that to find proper hits.

Does that make sense to you? Something I'm missing?

@bsysop bsysop self-assigned this Apr 7, 2024
@bsysop bsysop added the question Further information is requested label Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants