mirror of
https://github.com/alecmuffett/real-world-onion-sites.git
synced 2025-12-02 11:24:48 -05:00
auto-update on Thu Jul 22 14:15:48 UTC 2021
This commit is contained in:
parent
e9004f7168
commit
504f9bfe37
2 changed files with 90 additions and 76 deletions
|
|
@ -41,9 +41,10 @@ for r in results:
|
|||
# pprint.pprint(r)
|
||||
dates = 'date={0} not_before={1} not_after={2}'.format(r['at'], r['nb'], r['na'])
|
||||
sans = r['cn'].split()
|
||||
ca_data = [ x.strip() for x in r['in'].lower().split(',') ]
|
||||
ca = [x for x in ca_data if x.startswith('cn=')][0][3:]
|
||||
sans.extend(r['san'].split())
|
||||
ca_data = [ x.strip() for x in r['in'].lower().split(',') ]
|
||||
ca_data.append('cn=BAD OR MISSING CN FIELD IN CT LOG')
|
||||
ca = [x for x in ca_data if x.startswith('cn=')][0][3:]
|
||||
for san in sans:
|
||||
if not onion_re.search(san): continue
|
||||
if done.get(san, False): continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue