1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-06-08 23:36:18 +02:00

fix wafw00f

This commit is contained in:
kev 2020-09-15 15:16:18 +08:00
parent b5bca160d1
commit 992cf9db8e
2 changed files with 9 additions and 2 deletions

View File

@ -6,7 +6,7 @@ FROM alpine:3
MAINTAINER EasyPi Software Foundation MAINTAINER EasyPi Software Foundation
RUN set -xe \ RUN set -xe \
&& apk add --no-cache python3 && apk add --no-cache python3 \
&& pip3 install wafw00f && pip3 install wafw00f
ENTRYPOINT ["wafw00f"] ENTRYPOINT ["wafw00f"]

View File

@ -4,9 +4,16 @@ wafw00f
[WAFW00F][1] allows one to identify and fingerprint Web Application Firewall [WAFW00F][1] allows one to identify and fingerprint Web Application Firewall
(WAF) products protecting a website. (WAF) products protecting a website.
``` ```bash
$ alias wafw00f='docker run --rm -it vimagick/wafw00f' $ alias wafw00f='docker run --rm -it vimagick/wafw00f'
$ wafw00f https://www.baidu.com $ wafw00f https://www.baidu.com
[*] Checking https://www.baidu.com
[+] Generic Detection results:
[*] The site https://www.baidu.com seems to be behind a WAF or some sort of security solution
[~] Reason: The server header is different when an attack is detected.
The server header for a normal response is "BWS/1.1", while the server header a response to an attack is "Apache",
[~] Number of requests: 7
``` ```
[1]: https://github.com/EnableSecurity/wafw00f [1]: https://github.com/EnableSecurity/wafw00f