From ee53c4c306c677c1bb06a8f8e4cdc3942bf7d42b Mon Sep 17 00:00:00 2001 From: Yan Date: Thu, 10 Apr 2025 22:52:09 +0800 Subject: [PATCH] empty-conf is added for future use --- empty-conf/javamail.properties | 6 ++++++ empty-conf/json/expected-result.json | 1 + empty-conf/logback.xml | 12 ++++++++++++ empty-conf/springboot.yml | 25 +++++++++++++++++++++++++ script/run.sh | 5 +++++ 5 files changed, 49 insertions(+) create mode 100644 empty-conf/javamail.properties create mode 100644 empty-conf/json/expected-result.json create mode 100644 empty-conf/logback.xml create mode 100644 empty-conf/springboot.yml create mode 100644 script/run.sh diff --git a/empty-conf/javamail.properties b/empty-conf/javamail.properties new file mode 100644 index 0000000..b7790a5 --- /dev/null +++ b/empty-conf/javamail.properties @@ -0,0 +1,6 @@ +mail.debug=true +mail.smtp.auth=true +mail.smtp.host= +mail.smtp.port=587 +mail.smtp.starttls.enable=true +mail.smtp.ssl.trust=* diff --git a/empty-conf/json/expected-result.json b/empty-conf/json/expected-result.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/empty-conf/json/expected-result.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/empty-conf/logback.xml b/empty-conf/logback.xml new file mode 100644 index 0000000..d4c5c14 --- /dev/null +++ b/empty-conf/logback.xml @@ -0,0 +1,12 @@ + + + + + %-5level %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %logger{36} - %msg%n + + + + + + diff --git a/empty-conf/springboot.yml b/empty-conf/springboot.yml new file mode 100644 index 0000000..1fc3e6b --- /dev/null +++ b/empty-conf/springboot.yml @@ -0,0 +1,25 @@ +app: + main: + email-sender: "" + email-recipient: "" + email-password: "" + alert-subject: "" + javamail-config: "" + expected-result-file-path: "" + htmlunit: + username: "" + password": "" + login-url: "" + login-wait-millis: 5000 + login-btn-selector: "" + user-page-url: "" + logout-url: "" + selector1: "" + selector2: "" + selector3: "" + vip-pages: + - + name: "" + url: "" + + diff --git a/script/run.sh b/script/run.sh new file mode 100644 index 0000000..675b7ce --- /dev/null +++ b/script/run.sh @@ -0,0 +1,5 @@ +#!/bin/bash +cd /home/yanng/guerrilla +rm -rf logs/* +/opt/jdk-17.0.6/bin/java -jar guerrilla.jar conf +