diff --git a/kms.php b/kms.php index b741dba..ab2dcd6 100755 --- a/kms.php +++ b/kms.php @@ -1,6 +1,8 @@ #!/usr/bin/env php8 "; - echo (vlmcsCheck($host, $port) ? 'available': 'connect failed') . PHP_EOL; + echo "KMS Server: \033[33m$host\033[0m\033[36m:$port\033[0m ->"; + echo (vlmcsCheck($host, $port) ? "\033[32m available\033[0m": "\033[31m connect failed\033[0m") . PHP_EOL; }