diff --git a/Dockerfile b/Dockerfile index 735b793..036224a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,4 @@ RUN go get github.com/fatih/color RUN go install -ENTRYPOINT /go/bin/cameraccess +ENTRYPOINT ["/go/bin/cameraccess"] \ No newline at end of file diff --git a/cameraccess/main.go b/cameraccess/main.go index 3362ce0..a444888 100644 --- a/cameraccess/main.go +++ b/cameraccess/main.go @@ -26,8 +26,8 @@ type options struct { Target string `short:"t" long:"target" description:"The target on which to scan for open RTSP streams - required" required:"true"` Ports string `short:"p" long:"ports" description:"The ports on which to search for RTSP streams" default:"554,8554"` OutputFile string `short:"o" long:"nmap-output" description:"The path where nmap will create its XML result file" default:"/tmp/cameradar_scan.xml"` - Routes string `short:"r" long:"custom-routes" description:"The path on which to load a custom routes dictionary" default:"./dictionaries/routes"` - Credentials string `short:"c" long:"custom-credentials" description:"The path on which to load a custom credentials JSON dictionary" default:"./dictionaries/credentials.json"` + Routes string `short:"r" long:"custom-routes" description:"The path on which to load a custom routes dictionary" default:"../dictionaries/routes"` + Credentials string `short:"c" long:"custom-credentials" description:"The path on which to load a custom credentials JSON dictionary" default:"../dictionaries/credentials.json"` Speed int `short:"s" long:"speed" description:"The nmap speed preset to use" default:"4"` Timeout int `short:"T" long:"timeout" description:"The timeout in miliseconds to use for attack attempts" default:"1000"` EnableLogs bool `short:"l" long:"log" description:"Enable the logs for nmap's output to stdout"`