Skip to main content

CRTSH

crt.sh data scraping script in python


Simple Python3 Script for scraping data from crt.sh.


Usage

  • python3 main.py -d 'gauravraj.tech'
[elliot@archlinux]  crtsh python main.py -d 'gauravraj.tech'
╭───────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                       Found Subdomains - CRT.SH                                       │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────╯

[+] gauravraj.tech
[+] blog.gauravraj.tech
[+] *.gauravraj.tech

  • python3 main.py -d 'gauravraj.tech' -r
[elliot@archlinux]  crtsh python main.py -d 'gauravraj.tech' -r
╭───────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                           Raw Data - CRT.SH                                           │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────╯

[
    {
        'issuer_ca_id': 183267,
        'issuer_name': "C=US, O=Let's Encrypt, CN=R3",
        'common_name': 'gauravraj.tech',
        'name_value': 'gauravraj.tech\nwww.gauravraj.tech',
        'id': 4875700034,
        'entry_timestamp': '2021-07-15T08:11:14.637',
        'not_before': '2021-07-15T07:11:14',
        'not_after': '2021-10-13T07:11:13',
        'serial_number': '0356c649bd123e7773333fb45324e776f294'
    },
    {
        'issuer_ca_id': 183267,
        'issuer_name': "C=US, O=Let's Encrypt, CN=R3",
        'common_name': 'gauravraj.tech',
        'name_value': 'gauravraj.tech\nwww.gauravraj.tech',
        'id': 4868425658,
        'entry_timestamp': '2021-07-15T08:11:14.235',
        'not_before': '2021-07-15T07:11:14',
        'not_after': '2021-10-13T07:11:13',
        'serial_number': '0356c649bd123e7773333fb45324e776f294'
    },
	...........

Credits


Release files for crtsearch 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crtsearch 1.0.1
File Size Uploaded
crtsearch-1.0.1.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for crtsearch 1.0.1
File Interpreter ABI Platform
crtsearch-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / crtsearch-1.0.1.tar.gz

Download URL crtsearch-1.0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cfe796b5b381a56db84b56c3305de0b7feb0e51b1815c0b2758ed3dadc48012a
BLAKE2b-256 checksum
How to use checksums
2109cb0c81e35a629acf7562e81f4d2ee9bfed0d89d7943703d5d42c16121fad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

Release files / crtsearch-1.0.1-py3-none-any.whl

Download URL crtsearch-1.0.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76bba0f62580c0d665a16c7b5e97c1668108bd7b56c99fbd5bf61e94d62db951
BLAKE2b-256 checksum
How to use checksums
875b8919edcdf003f415c442833aabf91b3a4924133d8d946d6f1b54c37f0fba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page