summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemy <relst@relst.nl>2015-05-16 15:00:23 +0200
committerRemy <relst@relst.nl>2015-05-16 15:00:23 +0200
commit5e7e74fe94062683cce82c189cd43dd18c3aff9b (patch)
treec2753d67e57243fa1ce4ed2b35e525ae3867bee9
parente996a42ea0549b415d75bbcc021ab6327cac3cd0 (diff)
downloadssl-decoder-5e7e74fe94062683cce82c189cd43dd18c3aff9b.zip
ssl-decoder-5e7e74fe94062683cce82c189cd43dd18c3aff9b.tar.gz
ssl-decoder-5e7e74fe94062683cce82c189cd43dd18c3aff9b.tar.bz2
remove debug print
-rw-r--r--functions/connection.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/functions/connection.php b/functions/connection.php
index 0ecb9e0..60b111f 100644
--- a/functions/connection.php
+++ b/functions/connection.php
@@ -100,7 +100,6 @@ function test_heartbleed($host, $port) {
# check if python2 is available
exec("command -v python2 >/dev/null 2>&1", $cmdoutput, $cmdexitstatus);
if ($cmdexitstatus != 1) {
- pre_dump("timeout 15 python2 " . getcwd() . "/inc/heartbleed.py " . escapeshellcmd($host) . " --json \"" . $tmpfile . "\" --threads 1 --port " . escapeshellcmd($port) . " --silent");
exec("timeout 15 python2 " . getcwd() . "/inc/heartbleed.py " . escapeshellcmd($host) . " --json \"" . $tmpfile . "\" --threads 1 --port " . escapeshellcmd($port) . " --silent", $output, $exitstatus);
if (file_exists($tmpfile)) {
$json_data = json_decode(file_get_contents($tmpfile),true);