-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Auth token update feature #4271
Comments
To maybe add to this: the |
@stamparm |
Great THC asks me whether I recall him :D. Life tends to be funny sometimes. Thing is that I am aware of this "problem" of yours and that I had couple of similar requests before, though, currently I am not sure what would be the "optimal" way to do it in the code itself. Until I implement something useful, maybe there is a nice workaround described here (Note: |
ah that was five years ago :) you only remember me because of my good hair :p I feared that this would be the only possible workaround. |
I fuzz a target with a complex request I read in with -r.
That requests has special headers (no cookies) that also contain auth tokens that time out after x minutes.
A fuzz run takes however 4x+ the time than the lifetime of the auth token.
It would be great if there would be a feature that executes a python script on an event (in my case: HTTP code 401) and then re-read the -r file, hence the python script would get a new token and write it to the file.
My current workaround is to see at which item from the request sqlmap was fuzzing when it is terminating because the auth token has timed out, and skip all items that were completed until then with --skip, but that is a lot of hands-on work.
I think my problem is actually common so either there is already a way to deal with that and I didn't find it, or this is a feature that would be very useful.
Thank you!
The text was updated successfully, but these errors were encountered: