sqlmapproject / sqlmapproject/sqlmap
Auth token update feature
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 38.5k
- Fork
- 6.4k
- Merge medio
- 3g 3h
- PR unite (30g)
- 1
Descrizione
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!
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- cli, security
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100