--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
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sqlmapproject/sqlmap 的其他 Issue
-
feature request
难度 4/5 3-5 天 新手友好度 32/100
sqlmapproject/sqlmap#6134 ·
-
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 条评论 ·
查看 sqlmapproject/sqlmap 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
letsencrypt/cp-cps#353 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 84/100
PedestrianDynamics/pyFDS-Evac#394 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
DOI-USGS/pywatershed#421 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
python-pillow/Pillow#10087 · 1 条评论 ·
维护者通常 1 天内回复