
zaproxy에서 호스트 헤더 오류 수정
ZAP/zap-hoster.py 스크립트를 httpsender 탭에 추가하고 app.py를 실행하세요.
$ sudo pip3 install flask requests
$ python3 app.py
GET https://knassar702.github.io/ HTTP/1.1
Host: knassar702.github.io
User-agent: Firefox test
For Change host header
---
GET https://knassar702.github.io/
Host: knassar702.github.io
User-agent: Firefox test
ZAP-HOST: localhost
ZAP-HOST will be removed and the host header will be change to his value
GET https://knassar702.github.io/ HTTP/1.1
Host: localhost
User-agent: Firefox test
----
follow redirects with ZAP-REDIRECT header
GET https://knassar702.github.io/
Host: knassar702.github.io
User-agent: Firefox test
ZAP-HOST: localhost
ZAP-REDIRECT: anything
