--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
-
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 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
zilliztech/memsearch#759 ·