mirror of
https://github.com/anotherhadi/iknowyou.git
synced 2026-05-20 17:22:33 +02:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c53d4532bf | |||
| ea5c3484d9 | |||
| c1a50103b9 |
@@ -3,6 +3,7 @@ package gravatarrecon
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"github.com/anotherhadi/iknowyou/internal/tools"
|
"github.com/anotherhadi/iknowyou/internal/tools"
|
||||||
)
|
)
|
||||||
@@ -46,8 +47,10 @@ func (r *Runner) Run(ctx context.Context, target string, _ tools.InputType, out
|
|||||||
if err != nil && ctx.Err() != nil {
|
if err != nil && ctx.Err() != nil {
|
||||||
out <- tools.Event{Tool: name, Type: tools.EventTypeError, Payload: "scan cancelled"}
|
out <- tools.Event{Tool: name, Type: tools.EventTypeError, Payload: "scan cancelled"}
|
||||||
} else if output != "" {
|
} else if output != "" {
|
||||||
out <- tools.Event{Tool: name, Type: tools.EventTypeOutput, Payload: output}
|
if !strings.Contains(output, "status 404") {
|
||||||
count = 1
|
out <- tools.Event{Tool: name, Type: tools.EventTypeOutput, Payload: output}
|
||||||
|
count = 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
out <- tools.Event{Tool: name, Type: tools.EventTypeCount, Payload: count}
|
out <- tools.Event{Tool: name, Type: tools.EventTypeCount, Payload: count}
|
||||||
out <- tools.Event{Tool: name, Type: tools.EventTypeDone}
|
out <- tools.Event{Tool: name, Type: tools.EventTypeDone}
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@
|
|||||||
"@lucide/svelte": "^1.7.0",
|
"@lucide/svelte": "^1.7.0",
|
||||||
"@tailwindcss/vite": "^4.2.1",
|
"@tailwindcss/vite": "^4.2.1",
|
||||||
"ansi_up": "^6.0.6",
|
"ansi_up": "^6.0.6",
|
||||||
"astro": "6.1.2",
|
"astro": "6.1.10",
|
||||||
"dompurify": "^3.3.3",
|
"dompurify": "^3.3.3",
|
||||||
"js-yaml": "^4.1.1",
|
"js-yaml": "^4.1.1",
|
||||||
"remark-github-blockquote-alert": "^2.1.0",
|
"remark-github-blockquote-alert": "^2.1.0",
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ in {
|
|||||||
IKY_FRONT_DIR = "${cfg.package}/share/iky/frontend";
|
IKY_FRONT_DIR = "${cfg.package}/share/iky/frontend";
|
||||||
IKY_SEARCH_TTL = cfg.searchTTL;
|
IKY_SEARCH_TTL = cfg.searchTTL;
|
||||||
IKY_CLEANUP_INTERVAL = cfg.cleanupInterval;
|
IKY_CLEANUP_INTERVAL = cfg.cleanupInterval;
|
||||||
|
HOME = "%S/iky";
|
||||||
};
|
};
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
|||||||
Reference in New Issue
Block a user