Adding the project for code injection and XSS vulnerability testing
This project is designed to help developers understand and mitigate code injection and XSS vulnerabilities. It includes a backend API and a frontend interface for testing various attack vectors in a controlled environment.
This commit is contained in:
10
frontend/src/interfaces/auth.ts
Normal file
10
frontend/src/interfaces/auth.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export interface LoginRequest {
|
||||
username: string;
|
||||
password: string;
|
||||
}
|
||||
|
||||
export interface LoginResponse {
|
||||
success: boolean;
|
||||
message?: string;
|
||||
token?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user