Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cdncheck

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdncheck

A Python wrapper for ProjectDiscovery's cdncheck (https://github.com/projectdiscovery/cdncheck)

  • 1.0.0.34
  • PyPI
  • Socket score

Maintainers
1

cdncheck-python

Tests

This is a Python wrapper around ProjectDiscovery's 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.

$ pip install cdncheck

Usage (CLI)

$ 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)

>>> from cdncheck import cdncheck
# empty string == not belonging to a CDN
>>> cdncheck('1.2.3.4')
''
>>> cdncheck('168.62.20.37')
'azure'

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc