summaryrefslogtreecommitdiffstats
path: root/functions/variables.php
diff options
context:
space:
mode:
authorRemy <relst@relst.nl>2015-09-22 15:43:11 +0200
committerRemy <relst@relst.nl>2015-09-22 15:43:11 +0200
commit9f335dabf0c022122d2ddf0c24206b40d5154771 (patch)
treeff1cbb2db7e7f06422beefd2ff12a1e98ba6c377 /functions/variables.php
parent0c4df45421a41e15251b010231c1b22415103ce4 (diff)
downloadssl-decoder-9f335dabf0c022122d2ddf0c24206b40d5154771.zip
ssl-decoder-9f335dabf0c022122d2ddf0c24206b40d5154771.tar.gz
ssl-decoder-9f335dabf0c022122d2ddf0c24206b40d5154771.tar.bz2
Add certificate transparency log submission
Diffstat (limited to 'functions/variables.php')
-rw-r--r--functions/variables.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/functions/variables.php b/functions/variables.php
index 6eef6f1..94b4411 100644
--- a/functions/variables.php
+++ b/functions/variables.php
@@ -20,15 +20,27 @@ $timeout = 2;
# Don't change stuff down here.
date_default_timezone_set('UTC');
-$version = 2.7;
+$version = 2.8;
ini_set('default_socket_timeout', 2);
$random_blurp = rand(1000,99999);
+// 2015-09-21 http://www.certificate-transparency.org/known-logs
+$ct_urls = ["https://ct.ws.symantec.com",
+ "https://ct.googleapis.com/pilot",
+ "https://ct.googleapis.com/aviator",
+ "https://ct.googleapis.com/rocketeer",
+ "https://ct1.digicert-ct.com/log",
+ "https://ct.izenpe.com",
+ "https://ctlog.api.venafi.com",
+ "https://log.certly.io"];
+
# 2014-11-10 (nov) from wikipedia
$ev_oids = array("1.3.6.1.4.1.34697.2.1", "1.3.6.1.4.1.34697.2.2", "1.3.6.1.4.1.34697.2.3", "1.3.6.1.4.1.34697.2.4", "1.2.40.0.17.1.22", "2.16.578.1.26.1.3.3", "1.3.6.1.4.1.17326.10.14.2.1.2", "1.3.6.1.4.1.17326.10.8.12.1.2", "1.3.6.1.4.1.6449.1.2.1.5.1", "2.16.840.1.114412.2.1", "2.16.840.1.114412.1.3.0.2", "2.16.528.1.1001.1.1.1.12.6.1.1.1", "2.16.840.1.114028.10.1.2", "0.4.0.2042.1.4", "0.4.0.2042.1.5", "1.3.6.1.4.1.13177.10.1.3.10", "1.3.6.1.4.1.14370.1.6", "1.3.6.1.4.1.4146.1.1", "2.16.840.1.114413.1.7.23.3", "1.3.6.1.4.1.14777.6.1.1", "2.16.792.1.2.1.1.5.7.1.9", "1.3.6.1.4.1.22234.2.5.2.3.1", "1.3.6.1.4.1.782.1.2.1.8.1", "1.3.6.1.4.1.8024.0.2.100.1.2", "1.2.392.200091.100.721.1", "2.16.840.1.114414.1.7.23.3", "1.3.6.1.4.1.23223.2", "1.3.6.1.4.1.23223.1.1.1", "2.16.756.1.83.21.0", "2.16.756.1.89.1.2.1.1", "2.16.840.1.113733.1.7.48.1", "2.16.840.1.114404.1.1.2.4.1", "2.16.840.1.113733.1.7.23.6", "1.3.6.1.4.1.6334.1.100.1", "2.16.840.1.114171.500.9", "1.3.6.1.4.1.36305.2");
+
+
$current_folder = get_current_folder();
function parse_hostname($u_hostname){