pentoo-overlay/net-analyzer/cameradar/files/5.0.4-path.patch
Anton Bolshakov 9d69f16c44
cameradar
2025-07-14 10:02:04 +08:00

13 lines
1.4 KiB
Diff

--- a/cmd/cameradar/cameradar.go.orig 2025-07-14 03:18:36.000000000 +0800
+++ b/cmd/cameradar/cameradar.go 2025-07-14 09:57:01.957822836 +0800
@@ -20,8 +20,8 @@
pflag.StringSliceP("targets", "t", []string{}, "The targets on which to scan for open RTSP streams - required (ex: 172.16.100.0/24)")
pflag.StringSliceP("ports", "p", []string{"554", "5554", "8554"}, "The ports on which to search for RTSP streams")
- pflag.StringP("custom-routes", "r", "${GOPATH}/src/github.com/Ullaakut/cameradar/dictionaries/routes", "The path on which to load a custom routes dictionary")
- pflag.StringP("custom-credentials", "c", "${GOPATH}/src/github.com/Ullaakut/cameradar/dictionaries/credentials.json", "The path on which to load a custom credentials JSON dictionary")
+ pflag.StringP("custom-routes", "r", "/usr/share/cameradar/dictionaries/routes", "The path on which to load a custom routes dictionary")
+ pflag.StringP("custom-credentials", "c", "/usr/share/cameradar/dictionaries/credentials.json", "The path on which to load a custom credentials JSON dictionary")
pflag.StringP("output-file", "o", "", "Output scan results as a JSON file. If not specified, results are not written to a file.")
pflag.IntP("scan-speed", "s", 4, "The nmap speed preset to use for scanning (lower is stealthier)")
pflag.DurationP("attack-interval", "I", 0, "The interval between each attack (i.e: 2000ms, higher is stealthier)")