From 839443500df1f63edf1a13c8af10da0e9d7171bb Mon Sep 17 00:00:00 2001 From: Terrtia Date: Sun, 22 Sep 2019 14:57:23 +0200 Subject: [PATCH] chg: [Cryptocurrency, RegexTracker] uptdate cryptocurrency list + fix: RegexTracker typo --- bin/RegexTracker.py | 2 +- var/www/modules/hashDecoded/Flask_hashDecoded.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/RegexTracker.py b/bin/RegexTracker.py index 260db3c9..2f7e5b9f 100755 --- a/bin/RegexTracker.py +++ b/bin/RegexTracker.py @@ -77,7 +77,7 @@ if __name__ == "__main__": try: matched = dict_regex_tracked[regex].search(item_content) except TimeoutException: - print ("{0} processing timeout".format(paste.p_rel_path)) + print ("{0} processing timeout".format(item_id)) continue else: signal.alarm(0) diff --git a/var/www/modules/hashDecoded/Flask_hashDecoded.py b/var/www/modules/hashDecoded/Flask_hashDecoded.py index a3537b1a..f6073afb 100644 --- a/var/www/modules/hashDecoded/Flask_hashDecoded.py +++ b/var/www/modules/hashDecoded/Flask_hashDecoded.py @@ -34,7 +34,7 @@ PASTES_FOLDER = Flask_config.PASTES_FOLDER hashDecoded = Blueprint('hashDecoded', __name__, template_folder='templates') ## TODO: put me in option -all_cryptocurrency = ['bitcoin', 'monero'] +all_cryptocurrency = ['bitcoin', 'ethereum', 'bitcoin-cash', 'litecoin', 'monero', 'zcash', 'dash'] all_pgpdump = ['key', 'name', 'mail'] # ============ FUNCTIONS ============