We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f581cc commit fc3c321Copy full SHA for fc3c321
plugins/generic/takeover.py
@@ -336,12 +336,9 @@ def osBof(self):
336
337
msg = "this technique is likely to DoS the DBMS process, are you "
338
msg += "sure that you want to carry with the exploit? [y/N] "
339
- inp = readInput(msg, default="N")
+ choice = readInput(msg, default="N")
340
341
- if inp and inp[0].lower() == "y":
342
- dos = True
343
- else:
344
- dos = False
+ dos = choice and choice[0].lower() == "y"
345
346
if dos:
347
self.initEnv(mandatory=False, detailed=True)
0 commit comments