nikto-mcp
Version:
A secure MCP (Model Context Protocol) server that enables AI agents to interact with Nikto web server scanner
46 lines • 1.13 kB
TypeScript
export interface ScanOptions {
target: string;
port?: number | undefined;
ssl?: boolean | undefined;
nossl?: boolean | undefined;
nolookup?: boolean | undefined;
timeout?: number | undefined;
vhost?: string | undefined;
outputFormat?: 'json' | 'text' | undefined;
dryRun?: boolean | undefined;
}
export interface ScanResult {
scanId: string;
status: ScanStatus;
target: string;
startTime: Date;
endTime?: Date;
findings?: NiktoFinding[];
error?: string;
}
export declare enum ScanStatus {
PENDING = "pending",
RUNNING = "running",
COMPLETED = "completed",
FAILED = "failed",
CANCELLED = "cancelled"
}
export interface NiktoFinding {
id: string;
osvdbId?: string;
method: string;
uri: string;
description: string;
severity: 'info' | 'low' | 'medium' | 'high' | 'critical';
reference?: string;
}
export interface ActiveScan {
scanId: string;
options: ScanOptions;
status: ScanStatus;
startTime: Date;
pid?: number;
output: string[];
error?: string;
}
//# sourceMappingURL=scan.types.d.ts.map