{"id":13412170,"url":"https://github.com/s0md3v/Corsy","last_synced_at":"2025-03-14T18:30:20.415Z","repository":{"id":40523734,"uuid":"223767508","full_name":"s0md3v/Corsy","owner":"s0md3v","description":"CORS Misconfiguration Scanner","archived":false,"fork":false,"pushed_at":"2022-09-17T10:11:37.000Z","size":83,"stargazers_count":1394,"open_issues_count":10,"forks_count":181,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-06T19:44:28.986Z","etag":null,"topics":["cors","cors-misconfiguration-scanner","cors-scanner","vulnerability-scanner"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s0md3v.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-24T15:39:06.000Z","updated_at":"2025-03-05T18:12:17.000Z","dependencies_parsed_at":"2022-06-29T15:04:29.388Z","dependency_job_id":null,"html_url":"https://github.com/s0md3v/Corsy","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2FCorsy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2FCorsy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2FCorsy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0md3v%2FCorsy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s0md3v","download_url":"https://codeload.github.com/s0md3v/Corsy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243004068,"owners_count":20220237,"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":["cors","cors-misconfiguration-scanner","cors-scanner","vulnerability-scanner"],"created_at":"2024-07-30T20:01:21.745Z","updated_at":"2025-03-14T18:30:20.387Z","avatar_url":"https://github.com/s0md3v.png","language":"Python","funding_links":[],"categories":["Python","Exploitation","Weapons","vulnerability-scanner"],"sub_categories":["CORS Misconfiguration","Tools"],"readme":"\n\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://github.com/s0md3v/Corsy\"\u003e\u003cimg src=\"https://i.ibb.co/K0Z7X99/corsy.png\" alt=\"Corsy\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  Corsy\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eCORS Misconfiguration Scanner\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/s0md3v/Corsy/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/release/s0md3v/Corsy.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/s0md3v/Corsy/issues?q=is%3Aissue+is%3Aclosed\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/issues-closed-raw/s0md3v/Corsy.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n### Introduction\nCorsy is a lightweight program that scans for all known misconfigurations in CORS implementations.\n\n![demo](https://i.ibb.co/Jc1HtmW/corsy.png)\n\n### Requirements\nCorsy only works with `Python 3` and has just one dependency:\n\n- `requests`\n\nTo install this dependency, navigate to Corsy directory and execute `pip3 install requests`\n\n### Usage\nUsing Corsy is pretty simple\n\n`python3 corsy.py -u https://example.com`\n\n##### Scan URLs from a file\n`python3 corsy.py -i /path/urls.txt`\n\n##### Scan URLs from stdin\n`cat urls.txt | python3 corsy.py`\n\n##### Number of threads\n`python3 corsy.py -u https://example.com -t 20`\n\n##### Delay between requests\n`python3 corsy.py -u https://example.com -d 2`\n\n##### Export results to JSON\n`python3 corsy.py -i /path/urls.txt -o /path/output.json`\n\n##### Custom HTTP headers\n`python3 corsy.py -u https://example.com --headers \"User-Agent: GoogleBot\\nCookie: SESSION=Hacked\"`\n\n##### Skip printing tips\n`-q` can be used to skip printing of `description`, `severity`, `exploitation` fields in the output.\n\n### Tests implemented\n- Pre-domain bypass\n- Post-domain bypass\n- Backtick bypass\n- Null origin bypass\n- Unescaped dot bypass\n- Underscore bypass\n- Invalid value\n- Wild card value\n- Origin reflection test\n- Third party allowance test\n- HTTP allowance test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0md3v%2FCorsy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs0md3v%2FCorsy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0md3v%2FCorsy/lists"}