
تحديد عناوين IP المملوكة لمزودي الخدمات السحابية العامة
تنشر معظم موفري الخدمات السحابية قوائم محدّثة لنطاقات عناوين IP الخاصة بهم. تحدد هذه الأداة ما إذا كان عنوان IP ينتمي إلى نطاقات أحد الموفّرين عن طريق جلب أحدث القوائم وتحليلها.
يدعم:
هذه الأداة مستوحاة من Nimbusland بواسطة Bryce Kunz.
طريقة التثبيت المفضلة هي باستخدام pipx:
$ pipx install https://github.com/nccgroup/cloud_ip_ranges
$ cloud_ip_ranges
بدلاً من ذلك، يمكنك إعداد بيئة افتراضية وتثبيت التبعيات:
$ virtualenv -p python3 venv
$ source venv/bin/activate
$ pip install -r requirements.txt
شغّل الأداة:
$ cloud_ip_ranges -h
usage: cloud_ip_ranges [-h] [-q] ip
positional arguments:
ip The IP to evaluate, e.g.: 8.8.8.8
optional arguments:
-h, --help show this help message and exit
-q, --quiet Suppress logging output
$ cloud_ip_ranges 52.4.0.0
2020-09-18 17:38:42 host __main__[21549] INFO Starting
2020-09-18 17:38:42 host __main__[21549] INFO Checking for AWS
2020-09-18 17:38:43 host __main__[21549] INFO Match for AWS range "52.4.0.0/14", region "us-east-1" and service "AMAZON"
2020-09-18 17:38:43 host __main__[21549] INFO Match for AWS range "52.4.0.0/14", region "us-east-1" and service "EC2"
2020-09-18 17:38:43 host __main__[21549] INFO Checking for Azure
2020-09-18 17:38:44 host __main__[21549] INFO Checking for GCP
2020-09-18 17:38:44 host __main__[21549] INFO Checking for OCI
2020-09-18 17:38:44 host __main__[21549] INFO Done