iocextract

Extracts and defangs indicators of compromise from text

brewmacoslinux
Try with needOr install directly
Source

About

Defanged indicator of compromise extractor

Commands

iocextract

Examples

Extract all indicators of compromise from a file$ iocextract -i input.txt
Defang indicators in text to prevent accidental clicks$ echo 'http://malware.com' | iocextract --defang
Extract only URLs from input$ iocextract -i indicators.txt --url