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
|
|
@ -169,9 +169,8 @@ class Miscellaneous:
|
|||
|
||||
for udf, inpRet in udfDict.items():
|
||||
message = "do you want to remove UDF '%s'? [Y/n] " % udf
|
||||
output = readInput(message, default="Y")
|
||||
|
||||
if not output or output in ("y", "Y"):
|
||||
if readInput(message, default='Y', boolean=True):
|
||||
dropStr = "DROP FUNCTION %s" % udf
|
||||
|
||||
if Backend.isDbms(DBMS.PGSQL):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue