This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Config, add µLogger Credentials and the relative Path to µLogger | |
*/ | |
define('USER', 'UloggerUsername'); | |
define('PASSWORD', 'UloggerPassword'); | |
define('ULOGGER_PATH', 'ulogger'); | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Try to block Clients and Bots on host Packages without Access to the Server functions | |
* | |
* | |
* SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | |
* START TRANSACTION; | |
* SET time_zone = "+00:00"; | |
* CREATE TABLE `f2b_connections` ( | |
* `id` int(255) UNSIGNED ZEROFILL NOT NULL, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [[ $UID != 0 ]]; | |
then | |
echo "Please run this script with sudo or as root:" | |
echo | |
echo "sudo $0 $*" | |
exit 1 || return 1 | |
fi |