mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Minor update
This commit is contained in:
parent
0f581ccb6c
commit
fc3c321b01
|
@ -336,12 +336,9 @@ class Takeover(Abstraction, Metasploit, ICMPsh, Registry, Miscellaneous):
|
||||||
|
|
||||||
msg = "this technique is likely to DoS the DBMS process, are you "
|
msg = "this technique is likely to DoS the DBMS process, are you "
|
||||||
msg += "sure that you want to carry with the exploit? [y/N] "
|
msg += "sure that you want to carry with the exploit? [y/N] "
|
||||||
inp = readInput(msg, default="N")
|
choice = readInput(msg, default="N")
|
||||||
|
|
||||||
if inp and inp[0].lower() == "y":
|
dos = choice and choice[0].lower() == "y"
|
||||||
dos = True
|
|
||||||
else:
|
|
||||||
dos = False
|
|
||||||
|
|
||||||
if dos:
|
if dos:
|
||||||
self.initEnv(mandatory=False, detailed=True)
|
self.initEnv(mandatory=False, detailed=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user