sqlmapproject / sqlmapproject/sqlmap
Auth token update feature
Personne n'a encore pris cette issue.
- Langage dominant
- Python
- Étoiles
- 38.5k
- Forks
- 6.4k
- Merge moyen
- 3 j 3 h
- PR mergées (30 j)
- 1
Description
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!
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Start by tracing sqlmap's -r request-file input and the handling of HTTP 401 responses. Check existing documentation and tests for request reloads or event hooks; done means providing a documented, tested way to run a Python refresh script on the specified event and continue with refreshed request data.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- cli, security
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100