From 7d2e8b4e05feca09fa4c6681f36ff406939d92f2 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 31 May 2022 22:40:25 +0200 Subject: [PATCH] Added description value into configuration file --- configurations/services/http-80.yaml | 3 ++- configurations/services/http-8080.yaml | 1 + configurations/services/ssh-22.yaml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configurations/services/http-80.yaml b/configurations/services/http-80.yaml index bc7ffeb..6cdf8e2 100644 --- a/configurations/services/http-80.yaml +++ b/configurations/services/http-80.yaml @@ -1,6 +1,7 @@ apiVersion: "v1" protocol: "http" address: ":80" +description: "Wordpress 6.0" commands: - regex: "index.php" handler: "test – Just another WordPress site
" @@ -9,7 +10,7 @@ commands: - "Server: Apache/2.4.53 (Debian)" - "X-Powered-By: PHP/7.4.29" statusCode: 200 - - regex: "wp-login.php" + - regex: "^(wp-login.php|/wp-admin)$" handler: "Log In ‹ test — WordPress

Powered by WordPress

Lost your password?

← Go to test

" headers: - "Content-Type: text/html" diff --git a/configurations/services/http-8080.yaml b/configurations/services/http-8080.yaml index 53178a7..fe2b6f4 100644 --- a/configurations/services/http-8080.yaml +++ b/configurations/services/http-8080.yaml @@ -1,6 +1,7 @@ apiVersion: "v1" protocol: "http" address: ":8080" +description: "Wordpress 4.0" commands: - regex: "wp-admin" handler: "Unauthorized" diff --git a/configurations/services/ssh-22.yaml b/configurations/services/ssh-22.yaml index 3425fe1..3f2e953 100644 --- a/configurations/services/ssh-22.yaml +++ b/configurations/services/ssh-22.yaml @@ -1,6 +1,7 @@ apiVersion: "v1" protocol: "ssh" address: ":22" +description: "SSH interactive" commands: - regex: "^ls$" handler: "Documents Images Desktop Downloads .m2 .kube .ssh .docker"