diff options
author | josef <josef.gson@gmail.com> | 2015-11-10 16:39:17 +0100 |
---|---|---|
committer | josef <josef.gson@gmail.com> | 2015-11-10 16:39:17 +0100 |
commit | 2525e73c7558ce3d79f1e785f3360a5f6bf445c8 (patch) | |
tree | b3424fbe1139e7f97c013818149f7ecc64578083 /monitor/josef_experimental.py | |
parent | a82f34e80f5ec4465b6a827dd3205eda69195ad7 (diff) |
bugfix in cert serial parsing
Diffstat (limited to 'monitor/josef_experimental.py')
-rwxr-xr-x | monitor/josef_experimental.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/monitor/josef_experimental.py b/monitor/josef_experimental.py index 608c655..255c883 100755 --- a/monitor/josef_experimental.py +++ b/monitor/josef_experimental.py @@ -184,15 +184,16 @@ if __name__ == '__main__': # Experimental - # if True: - # log = CTLOGS[0] - # entries = get_entries(log["url"],1000 ,1001)["entries"] - # entry = entries[0] - # res = check_domain_extended(entry) - # print parse_entry(res,0,log) + if True: + log = CTLOGS[9] + entries = get_entries(log["url"],1 ,1)["entries"] + entry = entries[0] + print check_domain_all(entry) + # res = check_domain_extended(entry) + # print parse_entry(res,0,log) # Data gathering for Niklas - if True: + if False: logs = [CTLOGS[9]] for log in logs: filename = log["name"] + "_content.txt" |