git-subtree-dir: vendor/ruvector git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
64 lines
2.1 KiB
TypeScript
64 lines
2.1 KiB
TypeScript
/**
|
|
* Vulnerability Testing Data Examples
|
|
*
|
|
* ⚠️ ETHICAL USE ONLY ⚠️
|
|
* These examples are for:
|
|
* - Authorized penetration testing
|
|
* - Security research in controlled environments
|
|
* - Defensive security training
|
|
* - Vulnerability scanner development
|
|
*
|
|
* NEVER use against systems without explicit authorization.
|
|
*/
|
|
/**
|
|
* SQL Injection Test Payloads
|
|
* For testing input validation and parameterized queries
|
|
*/
|
|
export declare function generateSQLInjectionPayloads(): Promise<any>;
|
|
/**
|
|
* XSS (Cross-Site Scripting) Test Vectors
|
|
* For testing output encoding and CSP effectiveness
|
|
*/
|
|
export declare function generateXSSVectors(): Promise<any>;
|
|
/**
|
|
* CSRF (Cross-Site Request Forgery) Test Scenarios
|
|
* For testing CSRF token validation and SameSite cookie protection
|
|
*/
|
|
export declare function generateCSRFScenarios(): Promise<any>;
|
|
/**
|
|
* Authentication Bypass Test Cases
|
|
* For testing authentication mechanisms and session management
|
|
*/
|
|
export declare function generateAuthBypassTests(): Promise<any>;
|
|
/**
|
|
* API Abuse and Rate Limiting Test Patterns
|
|
* For testing API security controls and abuse prevention
|
|
*/
|
|
export declare function generateAPIAbusePatterns(): Promise<any>;
|
|
/**
|
|
* OWASP Top 10 Comprehensive Test Suite
|
|
* Covers all OWASP Top 10 vulnerability categories
|
|
*/
|
|
export declare function generateOWASPTop10Tests(): Promise<any>;
|
|
/**
|
|
* Example Usage
|
|
*/
|
|
export declare function runVulnerabilityTests(): Promise<{
|
|
sqlPayloads: any;
|
|
xssVectors: any;
|
|
csrfScenarios: any;
|
|
authTests: any;
|
|
apiPatterns: any;
|
|
owaspTests: any;
|
|
}>;
|
|
declare const _default: {
|
|
generateSQLInjectionPayloads: typeof generateSQLInjectionPayloads;
|
|
generateXSSVectors: typeof generateXSSVectors;
|
|
generateCSRFScenarios: typeof generateCSRFScenarios;
|
|
generateAuthBypassTests: typeof generateAuthBypassTests;
|
|
generateAPIAbusePatterns: typeof generateAPIAbusePatterns;
|
|
generateOWASPTop10Tests: typeof generateOWASPTop10Tests;
|
|
runVulnerabilityTests: typeof runVulnerabilityTests;
|
|
};
|
|
export default _default;
|
|
//# sourceMappingURL=vulnerability-testing.d.ts.map
|