fix for defang with urllib2

pull/4/head
Sascha Rommelfangen 2017-05-29 14:09:51 +02:00 committed by GitHub
parent 3d78013b44
commit beca7e4803
1 changed files with 2 additions and 0 deletions

View File

@ -108,6 +108,8 @@ You should now be able to send your IoC-containing mails to misp_handler@YOURDOM
- Python 3
- 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
- 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
### Thunderbird