├── .gitignore ├── LICENSE ├── README.md ├── backend ├── .env ├── package-lock.json ├── package.json ├── src │ ├── controllers │ │ ├── combinedController.ts │ │ ├── ssrfController.ts │ │ └── xssController.ts │ ├── index.ts │ ├── middleware │ │ └── auth.ts │ ├── models │ │ ├── Attack.ts │ │ └── User.ts │ ├── routes │ │ └── attackRoutes.ts │ ├── services │ │ ├── monitoringService.ts │ │ └── storageService.ts │ └── utils │ │ └── securityUtils.ts └── tsconfig.json ├── docs └── images │ ├── combined-attack.png │ ├── home.png │ ├── ssrf-attack.png │ └── xss-attack.png ├── frontend ├── package-lock.json ├── package.json ├── public │ ├── index.html │ └── manifest.json ├── src │ ├── App.css │ ├── App.tsx │ ├── components │ │ └── Navigation.tsx │ ├── index.css │ ├── index.tsx │ ├── layouts │ │ └── MainLayout.tsx │ ├── pages │ │ ├── CombinedAttack.tsx │ │ ├── CombinedProtection.tsx │ │ ├── Dashboard.tsx │ │ ├── SSRFAttack.tsx │ │ ├── SSRFProtection.tsx │ │ ├── XSSAttack.tsx │ │ └── XSSProtection.tsx │ ├── services │ │ ├── api.ts │ │ └── socket.ts │ └── types │ │ └── attack.ts └── tsconfig.json └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/README.md -------------------------------------------------------------------------------- /backend/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/.env -------------------------------------------------------------------------------- /backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/package-lock.json -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/src/controllers/combinedController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/src/controllers/combinedController.ts -------------------------------------------------------------------------------- /backend/src/controllers/ssrfController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/src/controllers/ssrfController.ts -------------------------------------------------------------------------------- /backend/src/controllers/xssController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/src/controllers/xssController.ts -------------------------------------------------------------------------------- /backend/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/src/index.ts -------------------------------------------------------------------------------- /backend/src/middleware/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/src/middleware/auth.ts -------------------------------------------------------------------------------- /backend/src/models/Attack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/src/models/Attack.ts -------------------------------------------------------------------------------- /backend/src/models/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/src/models/User.ts -------------------------------------------------------------------------------- /backend/src/routes/attackRoutes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/src/routes/attackRoutes.ts -------------------------------------------------------------------------------- /backend/src/services/monitoringService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/src/services/monitoringService.ts -------------------------------------------------------------------------------- /backend/src/services/storageService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/src/services/storageService.ts -------------------------------------------------------------------------------- /backend/src/utils/securityUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/src/utils/securityUtils.ts -------------------------------------------------------------------------------- /backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/backend/tsconfig.json -------------------------------------------------------------------------------- /docs/images/combined-attack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/docs/images/combined-attack.png -------------------------------------------------------------------------------- /docs/images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/docs/images/home.png -------------------------------------------------------------------------------- /docs/images/ssrf-attack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/docs/images/ssrf-attack.png -------------------------------------------------------------------------------- /docs/images/xss-attack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/docs/images/xss-attack.png -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/public/index.html -------------------------------------------------------------------------------- /frontend/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/public/manifest.json -------------------------------------------------------------------------------- /frontend/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/App.css -------------------------------------------------------------------------------- /frontend/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/App.tsx -------------------------------------------------------------------------------- /frontend/src/components/Navigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/components/Navigation.tsx -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/index.tsx -------------------------------------------------------------------------------- /frontend/src/layouts/MainLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/layouts/MainLayout.tsx -------------------------------------------------------------------------------- /frontend/src/pages/CombinedAttack.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/pages/CombinedAttack.tsx -------------------------------------------------------------------------------- /frontend/src/pages/CombinedProtection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/pages/CombinedProtection.tsx -------------------------------------------------------------------------------- /frontend/src/pages/Dashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/pages/Dashboard.tsx -------------------------------------------------------------------------------- /frontend/src/pages/SSRFAttack.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/pages/SSRFAttack.tsx -------------------------------------------------------------------------------- /frontend/src/pages/SSRFProtection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/pages/SSRFProtection.tsx -------------------------------------------------------------------------------- /frontend/src/pages/XSSAttack.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/pages/XSSAttack.tsx -------------------------------------------------------------------------------- /frontend/src/pages/XSSProtection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/pages/XSSProtection.tsx -------------------------------------------------------------------------------- /frontend/src/services/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/services/api.ts -------------------------------------------------------------------------------- /frontend/src/services/socket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/services/socket.ts -------------------------------------------------------------------------------- /frontend/src/types/attack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/src/types/attack.ts -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MilesSG/XSS_SSRF_Attack_Prevention/HEAD/package.json --------------------------------------------------------------------------------