Last active
August 9, 2020 15:55
-
-
Save 0xbug/26e162f9ff266958ac59efec9f7dbe7c to your computer and use it in GitHub Desktop.
Revisions
-
0xbug revised this gist
Apr 22, 2019 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,4 +46,5 @@ docker build -t awvs:latest -f Dockerfile . ``` docker run -ti -p 443:13443 -d awvs ``` 打开浏览器访问 [https://127.0.0.1](https://127.0.0.1) -
0xbug revised this gist
Apr 22, 2019 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -37,9 +37,13 @@ USER acunetix CMD ["/bin/bash", "start.sh"] ``` 创建镜像 ``` docker build -t awvs:latest -f Dockerfile . ``` 启动镜像 ``` docker run -ti -p 443:13443 -d awvs ``` -
0xbug revised this gist
Apr 22, 2019 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,10 @@ 宿主机 ``` docker run -ti --name=awvs -v /tmp/awvs:/tmp/awvs ubuntu ``` 将 `acunetix_trial.sh` 和 `patch_awvs` 放到宿主机 `/tmp/awvs` 目录下 进入容器内 ``` apt-get install sudo libxdamage1 libgtk-3-0 libasound2 libnss3 libxss1 libx11-xcb-dev -y @@ -40,3 +41,5 @@ CMD ["/bin/bash", "start.sh"] ``` docker build -t awvs:latest -f Dockerfile . ``` -
0xbug renamed this gist
Apr 22, 2019 . 1 changed file with 28 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,11 @@ 宿主机 ``` docker pull ubuntu docker run -ti --name=awvs -v /tmp/awvs:/tmp/awvs ubuntu ``` 进入容器内 ``` apt-get install sudo libxdamage1 libgtk-3-0 libasound2 libnss3 libxss1 libx11-xcb-dev -y bash /tmp/awvs/acunetix_trial.sh cp /tmp/awvs/patch_awvs /home/acunetix/.acunetix_trial/v_190325161/scanner/ @@ -12,4 +17,26 @@ exit exit cd /home/acunetix/.acunetix_trial/v_190325161/scanner/ chmod +x patch_awvs ./patch_awvs ``` 回到宿主机 ``` docker commit awvs awvs touch Dockerfile ``` Dockerfile 内容 ``` FROM awvs LABEL MAINTAINER=0xbug ENV TZ=Asia/Shanghai EXPOSE 13443 WORKDIR /home/acunetix/.acunetix_trial USER acunetix CMD ["/bin/bash", "start.sh"] ``` ``` docker build -t awvs:latest -f Dockerfile . ``` -
0xbug revised this gist
Apr 22, 2019 . 1 changed file with 12 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,15 @@ docker pull ubuntu docker run -ti --name=awvs -v /tmp/awvs:/tmp/awvs ubuntu apt-get install sudo libxdamage1 libgtk-3-0 libasound2 libnss3 libxss1 libx11-xcb-dev -y bash /tmp/awvs/acunetix_trial.sh cp /tmp/awvs/patch_awvs /home/acunetix/.acunetix_trial/v_190325161/scanner/ su -l acunetix bash cd /home/acunetix/.acunetix_trial sh start.sh exit exit cd /home/acunetix/.acunetix_trial/v_190325161/scanner/ chmod +x patch_awvs ./patch_awvs -
0xbug created this gist
Apr 22, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ docker pull ubuntu docker run -ti --name=awvs -v /tmp/awvs:/tmp/awvs ubuntu apt-get install sudo libxdamage1 libgtk-3-0 libasound2 libnss3 libxss1 libx11-xcb-dev -y bash /tmp/awvs/acunetix_trial.sh