File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434from lib .core .exception import sqlmapFilePathException
3535from lib .core .exception import sqlmapMissingMandatoryOptionException
3636from lib .core .exception import sqlmapUnsupportedFeatureException
37+ from lib .core .exception import sqlmapUserQuitException
3738from lib .core .unescaper import unescaper
3839from lib .request import inject
3940from lib .techniques .outband .stacked import stackedTest
@@ -308,9 +309,12 @@ def udfInjectCustom(self):
308309 msg += "functions now? [Y/n/q] "
309310 choice = readInput (msg , default = "Y" )
310311
311- if choice [0 ] not in ( "y " , "Y " ):
312+ if choice [0 ] in ( "n " , "N " ):
312313 self .cleanup (udfDict = self .udfs )
313314 return
315+ elif choice [0 ] in ( "q" , "Q" ):
316+ self .cleanup (udfDict = self .udfs )
317+ raise sqlmapUserQuitException
314318
315319 while True :
316320 udfList = []
You can’t perform that action at this time.
0 commit comments