mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
minor code refactoring
This commit is contained in:
parent
ab412da27f
commit
ff9e97a42c
|
@ -91,9 +91,8 @@ class xp_cmdshell:
|
||||||
inject.goStacked(cmd)
|
inject.goStacked(cmd)
|
||||||
|
|
||||||
def __xpCmdshellCheck(self):
|
def __xpCmdshellCheck(self):
|
||||||
cmd = self.xpCmdshellForgeCmd("ping -n %d 127.0.0.1" % (conf.timeSec * 2))
|
cmd = "ping -n %d 127.0.0.1" % (conf.timeSec * 2)
|
||||||
|
self.xpCmdshellExecCmd(cmd)
|
||||||
inject.goStacked(cmd)
|
|
||||||
|
|
||||||
return wasLastRequestDelayed()
|
return wasLastRequestDelayed()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user