sqlmapproject / sqlmapproject/sqlmap

Auth token update feature

未關閉
#4,271 4 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

feature request
主要語言
Python
星號
38.5k
分支
6.4k
平均合併
3 天 3 小時
30 天內合併 PR
1

描述

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!

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
cli, security
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。