security_tools/containers/domain_registration_tracker/get_iana_registrar_ids.sh

7 lines
234 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# This script will download the list of domain registrars from iana.org
#
wget -O registrar-ids.xml https://www.iana.org/assignments/registrar-ids/registrar-ids.xml
cat registrar-ids.xml | xq > registrar_ids.json