Removal of fun code

This commit is contained in:
Miroslav Stampar
2015-01-30 21:49:22 +01:00
parent 9f679a952f
commit 9563e429d3
2 changed files with 0 additions and 13 deletions

View File

@@ -586,13 +586,6 @@ def paramToDict(place, parameters=None):
test = readInput(message, default="N")
if test[0] not in ("y", "Y"):
raise SqlmapSilentQuitException
elif test.lower() == "yy":
pass
else:
original = [_ for _ in string.ascii_letters + string.digits]
shuffled = list(original)
random.shuffle(shuffled)
kb.easterEgg = dict(_ for _ in zip(original, shuffled))
elif not _:
warnMsg = "provided value for parameter '%s' is empty. " % parameter
warnMsg += "Please, always use only valid parameter values "
@@ -831,9 +824,6 @@ def dataToStdout(data, forceOutput=False, bold=False, content_type=None, status=
else:
message = data
if kb.get("easterEgg"):
message = "".join(kb.easterEgg.get(_, _) for _ in message)
if hasattr(conf, "api"):
sys.stdout.write(message, status, content_type)
else: