From 42bd952c0062df79cb922ef87cfb1147fb6c504a Mon Sep 17 00:00:00 2001 From: Alec Muffett Date: Thu, 22 Jul 2021 10:26:56 +0000 Subject: [PATCH] auto-update on Thu Jul 22 10:26:56 UTC 2021 --- master.csv | 2 ++ onion-ctlog.py | 11 ++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/master.csv b/master.csv index 96cffd3..42be32c 100644 --- a/master.csv +++ b/master.csv @@ -6,6 +6,7 @@ FALSE,,blogs,Alexander Færøy,,lxwu7pwyszfevhglxfgaukjqjdk2belosfvsl2ekzx3vrboa FALSE,,blogs,Ctrl blog,,v65ngaoj2nyaiq2ltf4uzota254gnasarrkuj4aqndi2bb5lw6frt3ad,http://v65ngaoj2nyaiq2ltf4uzota254gnasarrkuj4aqndi2bb5lw6frt3ad.onion/,https://www.ctrl.blog/entry/ctrlblog-onion-mirror.html, FALSE,,blogs,Dropsafe,,amuffettdexn6r5s4lt45b6mlrgmsmo56szaaighyjurp4ccuj63zkad,https://amuffettdexn6r5s4lt45b6mlrgmsmo56szaaighyjurp4ccuj63zkad.onion/blog,https://alecmuffett.com/blog, FALSE,,blogs,Kushal Das,,kushal76uaid62oup5774umh654scnu5dwzh4u2534qxhcbi4wbab3ad,https://kushal76uaid62oup5774umh654scnu5dwzh4u2534qxhcbi4wbab3ad.onion/,https://kushaldas.in/, +FALSE,,blogs,Ming Di Leom,,xw226dvxac7jzcpsf4xb64r4epr6o5hgn46dxlqk7gnjptakik6xnzqd,https://xw226dvxac7jzcpsf4xb64r4epr6o5hgn46dxlqk7gnjptakik6xnzqd.onion/,https://mdleom.com, FALSE,,blogs,Nick Frichette,,nickf43ab43xxf3yqgzy5uedsjij6h473rmbyzq6inohcnr3lohlu3yd,https://nickf43ab43xxf3yqgzy5uedsjij6h473rmbyzq6inohcnr3lohlu3yd.onion/,https://frichetten.com, FALSE,,blogs,treacherous.tech,,ygwdnjw2gt6sabcrhjqmpgsn4hhddomhipdpxbx6bru2zr2damxevqyd,https://ygwdnjw2gt6sabcrhjqmpgsn4hhddomhipdpxbx6bru2zr2damxevqyd.onion/,https://treacherous.tech/mirroring-a-site-on-a-onion-address.html, FALSE,,civil society and community,Privacy International,,privacy2ws3ora5p4qpzptqr32qm54gf5ifyzvo5bhl7bb254c6nbiyd,https://privacy2ws3ora5p4qpzptqr32qm54gf5ifyzvo5bhl7bb254c6nbiyd.onion/,https://www.reddit.com/r/onions/comments/nhe04a/privacy_international_migrate_to_a_v3_onion/, @@ -23,6 +24,7 @@ FALSE,,news and media,Deutsche Welle Persian,,dwnewsgngmhlplxy6o2twtfgjnrnjxbegb FALSE,,news and media,Deutsche Welle Russian,,dwnewsgngmhlplxy6o2twtfgjnrnjxbegbwqx6wnotdhkzt562tszfid,https://www.dwnewsgngmhlplxy6o2twtfgjnrnjxbegbwqx6wnotdhkzt562tszfid.onion/ru/,https://www.dw.com/de/schutz-vor-hackern-darum-wird-tor-noch-sicherer/a-57953195, FALSE,,news and media,Deutsche Welle Turkish,,dwnewsgngmhlplxy6o2twtfgjnrnjxbegbwqx6wnotdhkzt562tszfid,https://www.dwnewsgngmhlplxy6o2twtfgjnrnjxbegbwqx6wnotdhkzt562tszfid.onion/tr/,https://www.dw.com/de/schutz-vor-hackern-darum-wird-tor-noch-sicherer/a-57953196, FALSE,,news and media,ProPublica,,p53lf57qovyuvwsc6xnrppyply3vtqm7l6pcobkmyqsiofyeznfu5uqd,https://p53lf57qovyuvwsc6xnrppyply3vtqm7l6pcobkmyqsiofyeznfu5uqd.onion/,ssl, +FALSE,,news and media,Radio Free Europe,,rferlo2zxgv23tct66v45s5mecftol5vod3hf4rqbipfp46fqu2q56ad,https://www.rferlo2zxgv23tct66v45s5mecftol5vod3hf4rqbipfp46fqu2q56ad.onion/,ssl,https://www.rfa.org/about/releases/mirror_websites-04172020105949.html FALSE,,news and media,The Intercept,,27m3p2uv7igmj6kvd4ql3cct5h3sdwrsajovkkndeufumzyfhlfev4qd,https://27m3p2uv7igmj6kvd4ql3cct5h3sdwrsajovkkndeufumzyfhlfev4qd.onion,https://theintercept.com/2021/04/28/tor-browser-onion/, FALSE,,tech and software,Ablative Hosting,,hzwjmjimhr7bdmfv2doll4upibt5ojjmpo3pbp5ctwcg37n3hyk7qzid,https://hzwjmjimhr7bdmfv2doll4upibt5ojjmpo3pbp5ctwcg37n3hyk7qzid.onion/,ssl, FALSE,,tech and software,DEF CON Groups,,jrw32khnmfehvdsvwdf34mywoqj5emvxh4mzbkls6jk2cb3thcgz6nid,http://jrw32khnmfehvdsvwdf34mywoqj5emvxh4mzbkls6jk2cb3thcgz6nid.onion/,https://www.facebook.com/defcon/posts/i-am-proud-to-announce-the-v3-onion-address-for-def-condefconorg-main-web-siteht/10155438526096656/, diff --git a/onion-ctlog.py b/onion-ctlog.py index 3968e0f..83edbbb 100755 --- a/onion-ctlog.py +++ b/onion-ctlog.py @@ -25,8 +25,7 @@ for tr in table_rows: # skip header for br in tr.find_all("br"): br.replace_with(" ") td = tr.find_all('td') fields = [i.text for i in td] - if not fields: - continue + if not fields: continue result = dict() result['id'] = fields[0] result['at'] = fields[1] @@ -40,14 +39,16 @@ for tr in table_rows: # skip header done = dict() for r in results: # pprint.pprint(r) - stamps = '{0} not_before={1} not_after={2}'.format(r['at'], r['nb'], r['na']) + dates = '{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()) for san in sans: if not onion_re.search(san): continue if done.get(san, False): continue done[san] = True if re.match(r'\*', san): - print('* `{san}`\n * {when}'.format(san=san, when=stamps)) + print('* `{san}`\n * {dates} *{ca}*'.format(san=san, dates=dates, ca=ca)) else: - print('* [`{san}`](https://{san})\n * {when}'.format(san=san, when=stamps)) + print('* [`{san}`](https://{san})\n * {dates} *{ca}*'.format(san=san, dates=dates, ca=ca))