@hashangit/breachhound
Version:
An efficient OSINT tool for uncovering digital footprints associated with a username. TypeScript port of GoSearch.
61 lines (60 loc) • 1.41 kB
TypeScript
export interface CookieConfig {
}
export interface WebsiteConfig {
name: string;
base_url: string;
errorType?: string;
errorText?: string;
successText?: string;
}
export interface ConfigData {
websites: WebsiteConfig[];
}
export interface HudsonRockApiResponse {
stealers?: any[];
}
export interface BreachEntry {
email?: string;
password?: string;
sha1?: string;
hash?: string;
sources?: string;
}
export interface BreachDirectoryConfig {
apiKey: string;
}
export interface BreachDirectoryResponse {
found: number;
result?: BreachEntry[];
}
export interface ProxyNovaApiResponse {
found: number;
}
export interface CheckResult {
siteName: string;
profileUrl: string;
status: 'found' | 'uncertain' | 'not_found' | 'error';
error?: string;
}
export interface ApiCheckResult {
service: string;
status: 'checked' | 'skipped' | 'error';
found: boolean;
details?: any;
error?: string;
}
export interface BreachHoundResults {
websiteResults: CheckResult[];
hudsonRockResult: ApiCheckResult;
breachDirectoryResult: ApiCheckResult;
proxyNovaResult: ApiCheckResult;
domainCheckResult: ApiCheckResult;
summary: {
profilesFound: number;
durationSeconds: number;
};
}
export interface BreachHoundConfig {
breachDirectoryApiKey?: string;
hudsonRockApiKey?: string;
}