PhishIntention icon indicating copy to clipboard operation
PhishIntention copied to clipboard

replace old target-list with new target-list

Open lindsey98 opened this issue 2 years ago • 2 comments

Recently, we have expanded our targetlist to include 2K+ targets.

The new expand_targetlist.zip: https://drive.google.com/file/d/105qPU_MbvPH0Y2X6YiDvOYc5pnDeGv1R/view?usp=share_link The new domain_map.pkl: https://drive.google.com/file/d/1DeoI1pjkEcPWDNAO6kTlLin0UIUZfF1Y/view?usp=share_link

Step 1: Find where the PhishIntention package is installed, e.g. /anaconda3/envs/.../lib/python3.7/site-packages/phishintention

Step 2: Goto the PhishIntention package directory, and delete LOGO_FILES.npy, LOGO_FEATS.npy, if they exist.

Step 3: Goto the PhishIntention package directory, go to src/phishpedia_siamese - delete expand_targetlist/ - replace expand_targetlist.zip with a new one, don't forget to rename the new one also as expand_targetlist.zip - unzip expand_targetlist.zip - replace domain_map.pkl with a new one

Step 4: Set reload_targetlist = True the FIRST time when you call load_config() function. You can set it to False thereafter.

AWL_MODEL, CRP_CLASSIFIER, CRP_LOCATOR_MODEL, SIAMESE_MODEL, OCR_MODEL, SIAMESE_THRE, LOGO_FEATS, LOGO_FILES, DOMAIN_MAP_PATH = load_config(cfg_path, reload_targetlist=True)

lindsey98 avatar Jan 31 '23 08:01 lindsey98

Hi,

The new domain map seems like lacking some of the brands. For example, 'girlswithmuscle' is in the target list but not in the domain_map.keys(). image

imethanlee avatar Feb 09 '23 04:02 imethanlee

@lindsey98 The new expand_targetlist.zip link is not opening. Can you check out the link once?

nirav0999 avatar Feb 16 '24 23:02 nirav0999