--sql-file Inquiry
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 25/100
研究方向
Start at the --sql-file command-line entry point and reproduce the reported invocation with the shown SQL statement and error. Check how the supplied path and SQL file contents are parsed; done means a valid file executes without the unresolved-variables error, or the expected format is documented.
由索引模型根據 Issue 內容生成。
描述
Hello,
I'm trying to use the following argument --sql-file
--sql-file=SQLFILE Execute SQL statements from given file(s)
According to the documentation it's will run sql statement(s) from file.
- i noticed that the file should be saved with EXT
.sqlin order to detect it. - the file should inserted with it's PATH
--sql-file="PATH/sqlfile.sql"otherwise sqlmap will look for it into/sqlmap/data/procs/mysql/sqlfile.sql. - Now my issue is: i already specified the PATH to the file but sqlmap unable to run the statement !
[19:53:01] [INFO] executing SQL statements from given file(s)
[19:53:01] [ERROR] unresolved variables 'm, m' in SQL file '/path_to_file/sqlfile'
is the sql statement need to be formatted ? as i inserted it as single line such as SELECT A, B FROM DB.TABLE
Thanks in advance as well.
- 主要語言
- Python
- 星號
- 38.5k
- 分支
- 6.4k
- 平均合併
- 3 天 3 小時
- 30 天內合併 PR
- 1
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
sqlmapproject/sqlmap 的其他 Issue
-
bug report
難度 4/5 3-5 天 新手友好度 35/100
sqlmapproject/sqlmap#6009 ·
-
feature request
難度 4/5 3-5 天 新手友好度 45/100
sqlmapproject/sqlmap#5424 · 9 則留言 · 7 個 reaction ·
-
feature request
難度 5/5 一週以上 新手友好度 25/100
sqlmapproject/sqlmap#5163 · 1 則留言 · 3 個 reaction ·
-
feature request
難度 5/5 一週以上 新手友好度 25/100
sqlmapproject/sqlmap#4973 · 4 則留言 ·
-
feature request
難度 5/5 一週以上 新手友好度 25/100
sqlmapproject/sqlmap#4641 · 7 個 reaction ·
查看 sqlmapproject/sqlmap 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 90/100
-
bug
難度 2/5 1-3 小時 新手友好度 86/100
zostera/django-bootstrap4#894 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
use-agent-os/agent-os#3276 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
難度 2/5 1-3 小時 新手友好度 88/100
NousResearch/hermes-agent#117848 ·