You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a pdf document which includes an aol email address in the following format
Sample: abcd[.]aol[.]com
I am running the iocp parser without any options/flags and I see the output includes aol.com as Host.
/ioc/Sample.pdf 2 Host aol.com
I verified that aol.com$ is listed in whitelist_Host.ini. I also added @aol.com in whitelist_Email.ini but my output file still lists "Host aol.com".
The text was updated successfully, but these errors were encountered:
def load_whitelists(self, fpath):
whitelist = {}
searchdir = os.path.join(fpath, "/whitelist_*.ini")
print searchdir
fpaths = glob.glob(searchdir)
for fpath in fpaths:
t = os.path.splitext(os.path.split(fpath)[1])[0].split('_',1)[1]
patterns = [line.strip() for line in open(fpath)]
whitelist[t] = [re.compile(p) for p in patterns]
return whitelist
The latter strings shouldn't start with a slash. If they start with a slash, then they're considered an "absolute path" and everything before them is discarded.
I have a pdf document which includes an aol email address in the following format
Sample: abcd[.]aol[.]com
I am running the iocp parser without any options/flags and I see the output includes aol.com as Host.
/ioc/Sample.pdf 2 Host aol.com
I verified that aol.com$ is listed in whitelist_Host.ini. I also added @aol.com in whitelist_Email.ini but my output file still lists "Host aol.com".
The text was updated successfully, but these errors were encountered: