{"id":21353715,"url":"https://github.com/mindpatch/zaphoster","last_synced_at":"2025-03-16T05:13:58.851Z","repository":{"id":112995181,"uuid":"329685667","full_name":"MindPatch/zaphoster","owner":"MindPatch","description":"Fix host header error in zaproxy","archived":false,"fork":false,"pushed_at":"2021-02-15T17:43:39.000Z","size":348,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T17:31:09.187Z","etag":null,"topics":["zaproxy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MindPatch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-14T17:23:11.000Z","updated_at":"2021-02-18T03:53:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7de323f-f365-4b78-92fc-3c26dac9ee82","html_url":"https://github.com/MindPatch/zaphoster","commit_stats":null,"previous_names":["mindpatch/zaphoster"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MindPatch%2Fzaphoster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MindPatch%2Fzaphoster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MindPatch%2Fzaphoster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MindPatch%2Fzaphoster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MindPatch","download_url":"https://codeload.github.com/MindPatch/zaphoster/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243826786,"owners_count":20354222,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["zaproxy"],"created_at":"2024-11-22T03:19:26.682Z","updated_at":"2025-03-16T05:13:58.789Z","avatar_url":"https://github.com/MindPatch.png","language":"Python","readme":"# zaphoster\n### [Fix host header forcing in zaproxy](https://github.com/zaproxy/zaproxy/issues/1318)\n\n\nadd ZAP/zap-hoster.py script to httpsender tab and run app.py\n\n```\n$ sudo pip3 install flask requests\n$ python3 app.py\n```\n\n```\nGET https://knassar702.github.io/ HTTP/1.1\nHost: knassar702.github.io\nUser-agent: Firefox test\n\n\nFor Change host header\n\n---\nGET https://knassar702.github.io/\nHost: knassar702.github.io\nUser-agent: Firefox test\nZAP-HOST: localhost\n\n\nZAP-HOST will be removed and the host header will be change to his value\n\n\nGET https://knassar702.github.io/ HTTP/1.1\nHost: localhost\nUser-agent: Firefox test\n----\nfollow redirects with  ZAP-REDIRECT header\nGET https://knassar702.github.io/\nHost: knassar702.github.io\nUser-agent: Firefox test\nZAP-HOST: localhost\nZAP-REDIRECT: anything\n\n\n```\n### [youtube](https://www.youtube.com/watch?v=1fgNkFwmcbE)\n\n![](zap.gif)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindpatch%2Fzaphoster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmindpatch%2Fzaphoster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindpatch%2Fzaphoster/lists"}