From d2febd48e87e460429b85a1ff375fe3e3f59d71a Mon Sep 17 00:00:00 2001 From: Hardwolf Date: Mon, 8 Jun 2020 18:53:43 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20fix=20CSRF=20trap=20redir?= =?UTF-8?q?ect=20form=20to=20suit=20for=20localhost?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 - Trap/DetailCSRF.gtpl | 2 +- Trap/PasswdCSRF.gtpl | 2 +- runenv/docker-compose.yml | 39 --------------------------------------- 4 files changed, 2 insertions(+), 42 deletions(-) delete mode 100644 runenv/docker-compose.yml diff --git a/README.md b/README.md index 8d4a469..38f7785 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ So, Use for educational or research purposes only ## Image -loginPage ## How to Run diff --git a/Trap/DetailCSRF.gtpl b/Trap/DetailCSRF.gtpl index bb6d2f9..ec9810b 100644 --- a/Trap/DetailCSRF.gtpl +++ b/Trap/DetailCSRF.gtpl @@ -7,7 +7,7 @@

aaaaa

-
+ diff --git a/Trap/PasswdCSRF.gtpl b/Trap/PasswdCSRF.gtpl index 196821b..c22656b 100644 --- a/Trap/PasswdCSRF.gtpl +++ b/Trap/PasswdCSRF.gtpl @@ -7,7 +7,7 @@

aaaaa

- + diff --git a/runenv/docker-compose.yml b/runenv/docker-compose.yml deleted file mode 100644 index 63eadfc..0000000 --- a/runenv/docker-compose.yml +++ /dev/null @@ -1,39 +0,0 @@ -version: "2" -services: - - mysql: - image: mysql:5.6 - command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci - restart: always - environment: - MYSQL_ROOT_PASSWORD: rootwolf - MYSQL_PORT: 3306 - ports: - - 3306:3306 - volumes: - - /Vulnerability-goapp/runenv/mysql:/etc/mysql - - ./mysql-data/init.sql:/docker-entrypoint-initdb.d/grant.sql:rw - container_name: vulnapp-mysql - - goapp: - image: golang:1.13-alpine3.10 - ports: - - 80:80 - volumes: - - /Vulnerability-goapp:/goapp - working_dir: /goapp - command: sh -c "apk add git mysql-client && go get github.com/go-sql-driver/mysql && go get golang.org/x/xerrors && go build -o vulnapp && ./vulnapp -p 80" - depends_on: - - mysql - container_name: vulnapp-goapp - - csrftrap: - image: golang:1.13-alpine3.10 - ports: - - 3030:3030 - volumes: - - /Vulnerability-goapp:/goapp - working_dir: /goapp/Trap - command: sh -c "apk add git && go get github.com/go-sql-driver/mysql && go get golang.org/x/xerrors && go build -o trapapp && ./trapapp" - container_name: vulnapp-csrftrap -