{"id":15901629,"url":"https://github.com/shiftinv/xssproxy","last_synced_at":"2025-04-02T19:42:49.690Z","repository":{"id":106986371,"uuid":"341598664","full_name":"shiftinv/xssproxy","owner":"shiftinv","description":"Pseudo HTTP proxy for sending requests through a hooked web browser","archived":false,"fork":false,"pushed_at":"2021-02-23T21:28:47.000Z","size":42,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T10:26:35.509Z","etag":null,"topics":["ctf","proxy","websocket","xss"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shiftinv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02-23T15:25:20.000Z","updated_at":"2024-03-15T17:06:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7e65356-41c1-47b3-afd2-3fd48b96d259","html_url":"https://github.com/shiftinv/xssproxy","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"9cf67416d31fec7df58a3cfb7ee2c09ed28c3a69"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftinv%2Fxssproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftinv%2Fxssproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftinv%2Fxssproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shiftinv%2Fxssproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shiftinv","download_url":"https://codeload.github.com/shiftinv/xssproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246883458,"owners_count":20849490,"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":["ctf","proxy","websocket","xss"],"created_at":"2024-10-06T11:05:15.274Z","updated_at":"2025-04-02T19:42:49.673Z","avatar_url":"https://github.com/shiftinv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xssproxy\nPseudo HTTP proxy for sending requests through a hooked web browser, using a cross-site-scripting/XSS vulnerability\n\n---\n\n## Install\n```\npip install git+https://github.com/shiftinv/xssproxy\n```\n\n\n## Usage\n1. Start `xssproxy`\n2. Use an XSS vulnerability to make the targeted browser load `http://\u003clocal ip\u003e:8000/hook.js`\n3. Send requests through the proxy on `127.0.0.1:4141` (e.g. `curl -v --proxy http://127.0.0.1:4141 http://example.com`)\n\n```\nusage: xssproxy [-h] [-wh WEB_HOST] [-wp WEB_PORT] [-ph PROXY_HOST]\n                [-pp PROXY_PORT] [-d] [-t TIMEOUT] [-f HEADER]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -wh WEB_HOST, --web_host WEB_HOST\n                        webserver listen address (default: 0.0.0.0)\n  -wp WEB_PORT, --web_port WEB_PORT\n                        webserver listen port (default: 8000)\n  -ph PROXY_HOST, --proxy_host PROXY_HOST\n                        proxy listen address (default: 127.0.0.1)\n  -pp PROXY_PORT, --proxy_port PROXY_PORT\n                        proxy listen port (default: 4141)\n  -d, --debug           set logging level to debug (default: False)\n  -t TIMEOUT, --timeout TIMEOUT\n                        proxy request timeout (set to 0 to disable) (default: 0)\n  -f HEADER, --forward_header HEADER\n                        names of request headers that will be forwarded by the\n                        proxy (in addition to \"Content-Type\") (default: [])\n```\n\n\n## Notes\n- By default only the `Content-Type` header gets forwarded (see `-f` parameter); most headers can't be set on `XMLHttpRequest`s anyway, notably `Host` and `Cookie` (exhaustive list [here][1])\n- CORS will likely be an issue in most cases (which is technically a good thing from a security perspective, not so much for tools like this one though)\n\n\n## Credits\nInspired by\n- [BeEF](https://github.com/beefproject/beef)'s tunneling proxy\n- [raz-varren/xsshell](https://github.com/raz-varren/xsshell)\n\n\n\n[1]: https://developer.mozilla.org/en-US/docs/Glossary/Forbidden_header_name\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiftinv%2Fxssproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshiftinv%2Fxssproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiftinv%2Fxssproxy/lists"}