From 8993727f0316a8fa474bf078b3d63c522ae50c63 Mon Sep 17 00:00:00 2001 From: mickael Date: Wed, 9 Jan 2019 20:07:28 +0000 Subject: [PATCH] changed regex --- ppf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppf.py b/ppf.py index d0df5ba..40541bd 100755 --- a/ppf.py +++ b/ppf.py @@ -146,7 +146,7 @@ def proxyleech(sqlite, rows): except KeyboardInterrupt as e: raise e except: content = '' - matches = re.findall(r'[0-9]+(?:\.[0-9]+){3}:[0-9]+', cleanhtml(content)) + matches = re.findall(r'([0-9]+(?:\.[0-9]+){3}:[0-9]{1,5})[\D$]', cleanhtml(content)) uniques_dict = {} for p in matches: