sqlmapproject / sqlmapproject/sqlmap
--sql-file Inquiry
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 38.5k
- Forks
- 6.4k
- Ø Merge
- 3 T. 3 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, sql
- Bereich
- cli, databases, security
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100