mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-22 00:06:30 +08:00
Added another filtering rule.
This commit is contained in:
parent
b994a5d2f4
commit
eb37d4a7f4
|
@ -263,8 +263,8 @@ def filter(lst):
|
|||
lst = set(lst) # remove duplicates
|
||||
new_lst = []
|
||||
for item in lst:
|
||||
if item[0].isalpha() or item[0].isdigit():
|
||||
new_lst.append(item)
|
||||
if (item[0].isalpha() or item[0].isdigit()) and not ('xxx' in item):
|
||||
new_lst.append(item)
|
||||
return new_lst
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue