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

Method _xpCmdshellCheck

lib/takeover/xp_cmdshell.py:95–99  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

93 inject.goStacked(agent.runAsDBMSUser(cmd))
94
95 def _xpCmdshellCheck(self):
96 cmd = "ping -n %d 127.0.0.1" % (conf.timeSec * 2)
97 self.xpCmdshellExecCmd(cmd)
98
99 return wasLastResponseDelayed()
100
101 @stackedmethod
102 def _xpCmdshellTest(self):

Callers 1

xpCmdshellInitMethod · 0.95

Calls 2

xpCmdshellExecCmdMethod · 0.95
wasLastResponseDelayedFunction · 0.90

Tested by

no test coverage detected