Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
L1ghtn1ng committed Oct 19, 2024
1 parent 7ffbbae commit ac6e78a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dnsrecon/lib/crtenum.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ def scrape_crtsh(dom):
Function for enumerating subdomains by scraping crt.sh.
"""
results = []
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.3'}
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.3'
}
url = f'https://crt.sh/?q=%25.{dom}'

req = Request(url=url, headers=headers)
Expand Down

0 comments on commit ac6e78a

Please sign in to comment.