2023-04-21 13:25:09 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd ./feeds/circl/misp
|
|
|
|
wget -A .json -np -nH --cut-dirs=3 -m https://www.circl.lu/doc/misp/feed-osint/
|
|
|
|
rm manifest.json robots.txt.tmp
|
2023-04-21 14:44:17 +00:00
|
|
|
mkdir ./feeds/circl/stix-2.1/
|
|
|
|
cd ./feeds/circl/stix-2.1/
|
|
|
|
ls -1 ../misp/*-*.json | parallel "misp_stix_converter -v2.1 -e -f {}"
|
|
|
|
mmv "../misp/*.json.out" "#1.json"
|