diff options
author | Remy <relst@relst.nl> | 2015-10-17 17:54:36 +0200 |
---|---|---|
committer | Remy <relst@relst.nl> | 2015-10-17 17:54:36 +0200 |
commit | 8e5234177128a8c9d47fac1b1e32147372450ff0 (patch) | |
tree | 08474225138bb88535650c51be3d36e5b01b66cb /json.php | |
parent | 80b1fb7db9e3d7356f7cbb0285250c5ecc4fe09d (diff) | |
download | ssl-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.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"; |