mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
minor code refactoring
This commit is contained in:
parent
ab412da27f
commit
ff9e97a42c
|
@ -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 New Issue
Block a user