From 40c1db5bbea3daf8b55065755375a7d6426e80c7 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 19 Dec 2023 22:11:17 -0500 Subject: [PATCH] Update Dockerfile Adding code to remove Evilginx3 "easter eggs" that have built-in IoC's such as adding a header of the hostname of the server within all requests. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6a647c8..7ce4525 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,9 @@ ENV EVILGINX_BIN="/bin/evilginx" RUN mkdir -p ${GOPATH}/src/github.com/${GITHUB_USER} \ && apk add --no-cache ${INSTALL_PACKAGES} \ && git -C ${GOPATH}/src/github.com/${GITHUB_USER} clone https://github.com/${GITHUB_USER}/evilginx2 - + +RUN sed -i '180d;412d;609d;1657d;1658d;1659d' ${PROJECT_DIR}/core/http_proxy.go + RUN set -ex \ && cd ${PROJECT_DIR}/ && go get ./... && make \ && cp ${PROJECT_DIR}/build/evilginx ${EVILGINX_BIN} \