mirror of
https://github.com/anotherhadi/iknowyou.git
synced 2026-05-20 09:12:34 +02:00
Improve docs, responsive, add Material Icons
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user