From 4d8181308c41953a168a4bc197bd8729586542c9 Mon Sep 17 00:00:00 2001 From: Matt <36310667+NotoriousRebel@users.noreply.github.com> Date: Sun, 23 Dec 2018 22:08:37 -0500 Subject: [PATCH 1/2] Update README.md Minor cosmetic fix. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c4804fff..2db7cd10 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Passive: * pgp: PGP key server - mit.edu * securitytrails: Security Trails search engine, the world's largest repository
of historical DNS data - (Requires API key, see below.) - www.securitytrails.com/ + (Requires API key, see below.) - www.securitytrails.com * shodan: Shodan search engine, will search for ports and banners from discovered hosts - www.shodanhq.com From 52081693cefb837c6a38bef68a31a73b4d72c8cc Mon Sep 17 00:00:00 2001 From: Matt <36310667+NotoriousRebel@users.noreply.github.com> Date: Sun, 23 Dec 2018 22:12:50 -0500 Subject: [PATCH 2/2] Update constants.py Updated filter rule to account for .. --- discovery/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery/constants.py b/discovery/constants.py index 431dfce5..4926338e 100644 --- a/discovery/constants.py +++ b/discovery/constants.py @@ -263,7 +263,7 @@ def filter(lst): lst = set(lst) # remove duplicates new_lst = [] for item in lst: - if (item[0].isalpha() or item[0].isdigit()) and not ('xxx' in item): + if (item[0].isalpha() or item[0].isdigit()) and ('xxx' not in item) and ('..' not in item): new_lst.append(item.lower()) return new_lst