MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / _

Function _

lib/utils/pivotdumptable.py:128–135  ·  view source on GitHub ↗
(column, pivotValue)

Source from the content-addressed store, hash-verified

126 breakRetrieval = False
127
128 def _(column, pivotValue):
129 if column == colList[0]:
130 query = dumpNode.query.replace("'%s'" if unescaper.escape(pivotValue, False) != pivotValue else "%s", "%s") % (agent.preprocessField(table, column), table, agent.preprocessField(table, column), unescaper.escape(pivotValue, False))
131 else:
132 query = dumpNode.query2.replace("'%s'" if unescaper.escape(pivotValue, False) != pivotValue else "%s", "%s") % (agent.preprocessField(table, column), table, agent.preprocessField(table, colList[0]), unescaper.escape(pivotValue, False) if SINGLE_QUOTE_MARKER not in dumpNode.query2 else pivotValue)
133
134 query = agent.whereQuery(query)
135 return unArrayizeValue(inject.getValue(query, blind=blind, time=blind, union=not blind, error=not blind))
136
137 try:
138 for i in xrange(count):

Callers 2

do_GETMethod · 0.70
pivotDumpTableFunction · 0.70

Calls 5

unArrayizeValueFunction · 0.90
preprocessFieldMethod · 0.80
whereQueryMethod · 0.80
replaceMethod · 0.45
escapeMethod · 0.45

Tested by

no test coverage detected