- ScanSerper() durchsucht Google via Serper.dev nach geleakten API-Keys - Exakte Phrase-Suche pro KeyPattern, bis zu 100 Ergebnisse pro Query - Keys aus Snippets und Titles via Regex extrahiert - Source-Feld (github/serper/gist/pastebin) in ScannedKeyRecord + DB-Migration - RunScan() kombiniert GitHub + Serper mit Deduplizierung - Service startet auch wenn nur SerperApiKey konfiguriert ist - Frontend: Source-Icons und verkürzte URLs für Nicht-GitHub-Quellen - Config: SerperApiKey in appsettings.json
23 lines
443 B
JSON
Executable File
23 lines
443 B
JSON
Executable File
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Port": 19000,
|
|
"MaxIterations": 100,
|
|
"MaxHistory": 120,
|
|
"ReminderInterval": 30,
|
|
"ExecuteTimeout": 180,
|
|
"PayloadLogging": false,
|
|
"PayloadLoggingGzip": false,
|
|
"KreaToken": "",
|
|
"KreaApiKey": "",
|
|
"GeminiApiKey": "",
|
|
"GitHubToken": "",
|
|
"SerperApiKey": "",
|
|
"ScanIntervalHours": 0
|
|
}
|