mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-11-17 13:35:18 +00:00
Implementing -T for --graphql dumps (and using it in vuln-test to prevent CI timeouts)
This commit is contained in:
parent
2530de4c1f
commit
ca698bb7ec
3 changed files with 6 additions and 2 deletions
|
|
@ -1651,6 +1651,10 @@ def _enumerate(oracle):
|
|||
conf.dumper.singleString("GraphQL database tables [%d]:\n%s" % (
|
||||
len(tables), _grid(["table"], [[_] for _ in tables])))
|
||||
|
||||
# Note: honoring -T (as in case of regular SQL enumeration)
|
||||
if conf.tbl:
|
||||
tables = [_ for _ in tables if _.lower() in set(__.lower() for __ in conf.tbl.split(','))]
|
||||
|
||||
for table in tables:
|
||||
parsed = _dumpTable(infer, dialect, table)
|
||||
if not parsed:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue