Fixed minor bug in --reg-del

This commit is contained in:
Bernardo Damele 2009-12-21 11:04:54 +00:00
parent e4e081cdc6
commit e6c4154cac
2 changed files with 4 additions and 1 deletions

View File

@ -15,6 +15,9 @@ Daniele Bellucci <daniele.bellucci@gmail.com>
Jack Butler <fattredd@hotmail.com> Jack Butler <fattredd@hotmail.com>
for providing me with the sqlmap site favicon for providing me with the sqlmap site favicon
Roberto Castrogiovanni <castrogiovanni.roberto@gmail.com>
for reporting a minor bug
Cesar Cerrudo <cesar@argeniss.com> Cesar Cerrudo <cesar@argeniss.com>
for his Windows access token kidnapping tool Churrasco included in for his Windows access token kidnapping tool Churrasco included in
sqlmap tree as a contrib library and used to run the stand-alone sqlmap tree as a contrib library and used to run the stand-alone

View File

@ -554,7 +554,7 @@ class Takeover(Abstraction, Metasploit, Registry):
if not conf.regVal: if not conf.regVal:
msg = "which registry key value do you want to delete? " msg = "which registry key value do you want to delete? "
regVal = readInput(msg, default=default) regVal = readInput(msg)
if not regVal: if not regVal:
raise sqlmapMissingMandatoryOptionException, errMsg raise sqlmapMissingMandatoryOptionException, errMsg