Skip to content

thehackersbrain/crtsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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