ports
' . $host . ':' . $port . ' ' .
'(' . getservbyport($port, 'tcp') . ') is open.' . '', FILE_APPEND | LOCK_EX);
fclose($connection);
}
}
function toggle_plugin() {
$wordpress_path = '/';
$plugin_path = $wordpress_path.'wp-content/plugins/';
$my_plugin = $plugin_path.'scanner/scanner.php';
if(is_plugin_active($my_plugin)) {
deactivate_plugins($my_plugin);
}
}
header("Location: ../wp-content/plugins/scanner/" . $filename);
die();
?>