Improve docs, responsive, add Material Icons

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-04-12 16:42:19 +02:00
parent 72c382bb07
commit 302166c87d
37 changed files with 176 additions and 110 deletions
+4 -4
View File
@@ -16,13 +16,13 @@ import (
// ansiRe strips all ANSI/VT100 escape sequences (CSI, OSC, etc.).
// RunWithPTY only strips OSC sequences; CSI colour codes need this.
var ansiRe = regexp.MustCompile(`\x1b[\x5b-\x5f][0-9;]*[A-Za-z]|\x1b[^[\x5b-\x5f]`)
var ansiRe = regexp.MustCompile(`\x1b[\x5b-\x5f][0-9;]*[A-Za-z]|\x1b[^\x5b-\x5f]`)
type EnumerateHandler struct {
demo bool
}
func NewEnumerateHandler(_ string, demo bool) *EnumerateHandler {
func NewEnumerateHandler(demo bool) *EnumerateHandler {
return &EnumerateHandler{demo: demo}
}
@@ -186,7 +186,7 @@ type checkEmailResponse struct {
// userScannerCheck runs user-scanner via PTY (required for output).
// flag is either "-e" (email) or "-u" (username).
// Office365 is excluded — it's a known false positive.
// Office365 is excluded (known false positive).
// quick=true uses a shorter timeout for a faster but incomplete scan.
func userScannerCheck(ctx context.Context, flag, target string, quick bool) (status, reason string, sites []string) {
defer func() {
@@ -223,7 +223,7 @@ func userScannerCheck(ctx context.Context, flag, target string, quick bool) (sta
if !strings.Contains(line, "[✔]") {
continue
}
// Office365 is a known false positive skip it.
// Office365 is a known false positive, skip it.
if strings.Contains(line, "Office365") {
continue
}
+1 -1
View File
@@ -29,7 +29,7 @@ func NewRouter(
searchHandler := handler.NewSearchHandler(manager, demo)
toolsHandler := handler.NewToolsHandler(factories)
configHandler := handler.NewConfigHandler(configPath, factories, demo)
enumerateHandler := handler.NewEnumerateHandler(configPath, demo)
enumerateHandler := handler.NewEnumerateHandler(demo)
searchLimiter := ikymiddleware.New(rate.Every(10*time.Second), 3)