mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 00:42:23 +01:00
minor code refactoring
This commit is contained in:
parent
ab412da27f
commit
ff9e97a42c
1 changed files with 2 additions and 3 deletions
|
|
@ -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 a new issue