9 lines
318 B
Bash
9 lines
318 B
Bash
#!/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
|
|
mkdir ./feeds/circl/stix-2.1/
|
|
cd ./feeds/circl/stix-2.1/
|
|
ls -1 ../misp/*-*.json | parallel "misp_stix_converter export -v2.1 -f {}"
|
|
mmv -d "../misp/*.json.out" "#1.json"
|