mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Some code refactoring
This commit is contained in:
parent
65b02d4ab0
commit
5f2bb88037
32 changed files with 233 additions and 261 deletions
|
|
@ -255,9 +255,8 @@ class XP_cmdshell:
|
|||
message = "xp_cmdshell extended procedure does not seem to "
|
||||
message += "be available. Do you want sqlmap to try to "
|
||||
message += "re-enable it? [Y/n] "
|
||||
choice = readInput(message, default="Y")
|
||||
|
||||
if not choice or choice in ("y", "Y"):
|
||||
if readInput(message, default='Y', boolean=True):
|
||||
self._xpCmdshellConfigure(1)
|
||||
|
||||
if self._xpCmdshellCheck():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue