diff --git a/lib/core/common.py b/lib/core/common.py index 026f0a84d..209d05f60 100755 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -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: diff --git a/lib/core/option.py b/lib/core/option.py index ce5bec9dd..6288f52ee 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -478,8 +478,6 @@ def _adjustLoggingFormatter(): def format(record): message = FORMATTER._format(record) - if kb.get("easterEgg"): - message = "".join(kb.easterEgg.get(_, _) for _ in message) message = boldifyMessage(message) if kb.get("prependFlag"): message = "\n%s" % message @@ -1719,7 +1717,6 @@ def _setKnowledgeBaseAttributes(flushAll=True): kb.followSitemapRecursion = None kb.forcedDbms = None kb.forcePartialUnion = False - kb.easterEgg = None kb.headersFp = {} kb.heuristicDbms = None kb.heuristicMode = False