{"id":24929652,"url":"https://github.com/toowan0x1/corser","last_synced_at":"2025-03-28T13:17:25.848Z","repository":{"id":274514682,"uuid":"923163736","full_name":"Toowan0x1/CORSer","owner":"Toowan0x1","description":"A simple web tool designed to test and analyze APIs and web applications for CORS vulnerabilities locally, providing detailed insights into preflight responses, headers, and potential issues.","archived":false,"fork":false,"pushed_at":"2025-02-23T05:06:17.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T05:27:06.617Z","etag":null,"topics":["cors","cross-origin-resource-sharing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Toowan0x1.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":"2025-01-27T18:44:51.000Z","updated_at":"2025-02-23T05:06:20.000Z","dependencies_parsed_at":"2025-01-27T19:49:52.879Z","dependency_job_id":null,"html_url":"https://github.com/Toowan0x1/CORSer","commit_stats":null,"previous_names":["toowan0x1/corser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toowan0x1%2FCORSer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toowan0x1%2FCORSer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toowan0x1%2FCORSer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Toowan0x1%2FCORSer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Toowan0x1","download_url":"https://codeload.github.com/Toowan0x1/CORSer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246034312,"owners_count":20712857,"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","cross-origin-resource-sharing"],"created_at":"2025-02-02T13:44:14.143Z","updated_at":"2025-03-28T13:17:25.842Z","avatar_url":"https://github.com/Toowan0x1.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CORSer\nA powerful and user-friendly web application for testing CORS (Cross-Origin Resource Sharing) configurations and API endpoints. This tool helps developers validate CORS settings, test API responses, and debug cross-origin issues with ease.\n\n![Tool Image](https://raw.githubusercontent.com/Toowan0x1/CORSer/refs/heads/master/project/media/Screenshot%20from%202025-02-27%2005-31-29.png)\n\n## Installation and Usage\n\n### Option 1: Local Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Toowan0x1/CORSer\n   cd CORSer\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Start the development server:\n   ```bash\n   npm run dev\n   ```\n\n4. Open your browser and navigate to:\n   ```\n   http://localhost:5173\n   ```\n\n### Option 2: Docker Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Toowan0x1/CORSer\n   cd CORSer\n   ```\n\n2. Build the Docker image:\n   ```bash\n   docker build -t CORSer .\n   ```\n\n3. Run the container:\n   ```bash\n   docker run -p 5173:5173 CORSer\n   ```\n\n4. Access the tool:\n   ```\n   http://localhost:5173\n   ```\n\n## Usage Guide\n\n### Making a Request\n\n1. Enter the target URL in the URL input field\n2. Select the HTTP method (GET, POST, PUT, DELETE)\n3. Add any required headers using the \"Add Header\" button\n4. Click \"Send Request\" to make the API call\n\n### Understanding the Response\n\nThe response section displays:\n- Response time with performance indicators\n- CORS configuration status\n- HTTP status code\n- Response headers with copy functionality\n- Formatted response body with copy functionality\n\n## Features Implemented\n\n##### 🔹 Request Customization\n- Custom Headers: Add headers like Authorization, Content-Type, etc.\n- HTTP Method Selection: Choose from GET, POST, PUT, DELETE, and more.\n- Query Parameters Support: Append dynamic query parameters to requests.\n\n##### 🔹 CORS Analysis \u0026 Debugging\n- CORS Header Inspection: Analyze Access-Control-Allow-Origin, Access-Control-Allow-Methods, and Access-Control-Allow-Headers.\n- Preflight Request Testing: Simulate OPTIONS requests to check preflight responses.\n- Error Explanation: Provide insights into common CORS issues (e.g., missing headers, mismatched origins).\n\n##### 🔹 Response Handling\n- Response Display: View response headers, status codes, and body in a structured format.\n- History Log: Save recent tests for quick re-testing and reference.\n\n##### 🔹 User Interface\n- Clean \u0026 Intuitive Design: Easy-to-use interface for testing API requests.\n- Flexible Layout Options:\n  - Horizontal View: Side-by-side request and response display.\n  - Vertical View: Stacked layout with request on top and response below.\n\n\n\n\n\n\n\n\n![Tool Image](https://raw.githubusercontent.com/Toowan0x1/CORSer/refs/heads/master/project/media/Screenshot%20from%202025-02-27%2005-30-21.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoowan0x1%2Fcorser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoowan0x1%2Fcorser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoowan0x1%2Fcorser/lists"}