summaryrefslogtreecommitdiffstats
path: root/json.php
diff options
context:
space:
mode:
authorRemy <relst@relst.nl>2015-10-17 17:54:36 +0200
committerRemy <relst@relst.nl>2015-10-17 17:54:36 +0200
commit8e5234177128a8c9d47fac1b1e32147372450ff0 (patch)
tree08474225138bb88535650c51be3d36e5b01b66cb /json.php
parent80b1fb7db9e3d7356f7cbb0285250c5ecc4fe09d (diff)
downloadssl-decoder-8e5234177128a8c9d47fac1b1e32147372450ff0.zip
ssl-decoder-8e5234177128a8c9d47fac1b1e32147372450ff0.tar.gz
ssl-decoder-8e5234177128a8c9d47fac1b1e32147372450ff0.tar.bz2
version 2.9
Diffstat (limited to 'json.php')
-rw-r--r--json.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/json.php b/json.php
index a915c38..e922095 100644
--- a/json.php
+++ b/json.php
@@ -20,12 +20,13 @@ if ( isset($_GET['host']) && !empty($_GET['host'])) {
if ( !is_numeric($port) ) {
$port = 443;
}
+ $fastcheck = $_GET['fastcheck'];
$write_cache = 1;
$hostfilename = preg_replace("([^\w\s\d\-_~,;:\[\]\(\).])", '', $host);
$hostfilename = preg_replace("([\.]{2,})", '', $host);
$hostfilename = preg_replace("([^a-z0-9])", '', $host);
$cache_filename = (string) "results/saved." . $hostfilename . "." . $epoch . "." . $random_bla . ".api.json";
- $data["data"] = check_json($host, $ip, $port);
+ $data["data"] = check_json($host, $ip, $port, $fastcheck);
} elseif(isset($_GET['csr']) && !empty($_GET['csr'])) {
$write_cache = 1;
$cache_filename = (string) "results/saved.csr." . $epoch . "." . $random_bla . ".api.json";