diff --git a/Engine/Decoify/add-client-decoys.php b/Engine/Decoify/add-client-decoys.php index ed3b6671..4a0bf3ad 100755 --- a/Engine/Decoify/add-client-decoys.php +++ b/Engine/Decoify/add-client-decoys.php @@ -64,9 +64,8 @@ $ARPMITM = 'on'; } - if(val_ip($_POST["imap_server"]) && val_ip($_POST["imap_port"]) { - - if($_POST["decoy_type_val"] == 'emailclient'){ + + if($_POST["decoy_type_val"] == 'emailclient') { $imap_email = escapeshellarg($_POST["imap_email"]); $imap_pass = escapeshellarg($_POST['imap_pass']); $imap_server = escapeshellarg($_POST['imap_server']); @@ -75,7 +74,7 @@ $EMAILCLIENT = 'on'; } - } + diff --git a/Engine/Decoify/add-server-decoys.php b/Engine/Decoify/add-server-decoys.php index 6a192639..c4d3ae53 100755 --- a/Engine/Decoify/add-server-decoys.php +++ b/Engine/Decoify/add-server-decoys.php @@ -26,7 +26,7 @@ function showFiles() return $event; } - elsee + else{ while($row = $result->fetch_array()) { $event[] = $row;