mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
code cleanup
This commit is contained in:
parent
41ccf88990
commit
526aacb640
17 changed files with 35 additions and 52 deletions
|
|
@ -1594,7 +1594,7 @@ class Enumeration:
|
|||
randStr, randStr2 = randomStr(), randomStr()
|
||||
filterFunction = "REPLACE(REPLACE(IFNULL(%s, ' '),'%s','%s'),'%s','%s')"\
|
||||
% ('%s', CONCAT_VALUE_DELIMITER, randStr, CONCAT_ROW_DELIMITER, randStr2)
|
||||
concats = ",".join(map(lambda x: "CONCAT(%s, '|')" % (filterFunction % x), colList[:-1]))
|
||||
concats = ",".join("CONCAT(%s, '|')" % (filterFunction % _) for _ in colList[:-1])
|
||||
concats += ",%s" % (filterFunction % colList[-1])
|
||||
query = "SELECT GROUP_CONCAT(%s) FROM %s.%s" % (concats, conf.db, tbl)
|
||||
value = inject.getValue(query, blind=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue