mirror of https://github.com/MISP/mail_to_misp
fix for defang with urllib2
parent
3d78013b44
commit
beca7e4803
|
@ -108,6 +108,8 @@ You should now be able to send your IoC-containing mails to misp_handler@YOURDOM
|
||||||
- Python 3
|
- Python 3
|
||||||
- urlmarker from https://github.com/rcompton/ryancompton.net/blob/master/assets/praw_drugs/urlmarker.py (contained in this project)
|
- urlmarker from https://github.com/rcompton/ryancompton.net/blob/master/assets/praw_drugs/urlmarker.py (contained in this project)
|
||||||
- defang from https://bitbucket.org/johannestaas/defang
|
- defang from https://bitbucket.org/johannestaas/defang
|
||||||
|
- Patch defang/defang/__init__.py by commenting out the following line (not used && not compatible with Python 3):
|
||||||
|
`from urllib2 import urlparse`
|
||||||
- Optionally patch defang/defang/__init__.py and add dirty_line = dirty_line.replace('hxxp', 'http') at line 47
|
- Optionally patch defang/defang/__init__.py and add dirty_line = dirty_line.replace('hxxp', 'http') at line 47
|
||||||
|
|
||||||
### Thunderbird
|
### Thunderbird
|
||||||
|
|
Loading…
Reference in New Issue