From e6c4154cac36bcf3ad0fb979c99191a19890764a Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Mon, 21 Dec 2009 11:04:54 +0000 Subject: [PATCH] Fixed minor bug in --reg-del --- doc/THANKS | 3 +++ plugins/generic/takeover.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/THANKS b/doc/THANKS index e6523ea38..007313361 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -15,6 +15,9 @@ Daniele Bellucci Jack Butler for providing me with the sqlmap site favicon +Roberto Castrogiovanni + for reporting a minor bug + Cesar Cerrudo for his Windows access token kidnapping tool Churrasco included in sqlmap tree as a contrib library and used to run the stand-alone diff --git a/plugins/generic/takeover.py b/plugins/generic/takeover.py index a10c1692c..42a3321e2 100644 --- a/plugins/generic/takeover.py +++ b/plugins/generic/takeover.py @@ -554,7 +554,7 @@ class Takeover(Abstraction, Metasploit, Registry): if not conf.regVal: msg = "which registry key value do you want to delete? " - regVal = readInput(msg, default=default) + regVal = readInput(msg) if not regVal: raise sqlmapMissingMandatoryOptionException, errMsg