Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
zaphoster — Fix host header error in zaproxy | Kitploit
Tools/GitHubGitHub/mindpatch/zaphoster
Web Proxies & InterceptionScripting & AutomationWeb SecurityPenetration TestingUtilities & Frameworks
GitHubmindpatch/zaphoster

zaphoster

Fix host header error in zaproxy

View Repository
15 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

zaphoster

Fix host header forcing in zaproxy

add ZAP/zap-hoster.py script to httpsender tab and run app.py

root@kitploit:~
$ sudo pip3 install flask requests
$ python3 app.py
root@kitploit:~
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


youtube

Download Tool