mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32: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)
|
||||
|
||||
def __xpCmdshellCheck(self):
|
||||
cmd = self.xpCmdshellForgeCmd("ping -n %d 127.0.0.1" % (conf.timeSec * 2))
|
||||
|
||||
inject.goStacked(cmd)
|
||||
cmd = "ping -n %d 127.0.0.1" % (conf.timeSec * 2)
|
||||
self.xpCmdshellExecCmd(cmd)
|
||||
|
||||
return wasLastRequestDelayed()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue