cdncheck-1.0.0.9
توضیحات
A Python wrapper for ProjectDiscovery's cdncheck (https://github.com/projectdiscovery/cdncheck)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cdncheck-1.0.0.9 |
| نام | cdncheck |
| نسخه کتابخانه | 1.0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | TheTechromancer |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/blacklanternsecurity/cdncheck-python |
| آدرس اینترنتی | https://pypi.org/project/cdncheck/ |
| مجوز | GPL-3.0 |
# `cdncheck-python`
[](https://github.com/blacklanternsecurity/cdncheck-python/actions?query=workflow%3A"tests")
This is a Python wrapper around ProjectDiscovery's [cdncheck](https://github.com/projectdiscovery/cdncheck). It is useful for checking whether a given IP address belongs to a cloud provider, e.g. Google, Azure, etc.
Tests are run on a weekly schedule.
## Installation
If you run into problems with installation, please make sure golang is installed on your system.
```bash
$ pip install cdncheck
```
## Usage (CLI)
```bash
$ cdncheck 1.2.3.4
1.2.3.4 does not belong to a CDN
$ cdncheck 168.62.20.37
168.62.20.37 belongs to CDN "azure"
```
## Usage (Python)
```python
>>> from cdncheck import cdncheck
# empty string == not belonging to a CDN
>>> cdncheck('1.2.3.4')
''
>>> cdncheck('168.62.20.37')
'azure'
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl cdncheck-1.0.0.9:
pip install cdncheck-1.0.0.9.whl
نصب پکیج tar.gz cdncheck-1.0.0.9:
pip install cdncheck-1.0.0.9.tar.gz