-
Notifications
You must be signed in to change notification settings - Fork 619
Configuration Reference
This page is the complete configuration reference for Cameradar. It covers all CLI flags and their matching environment variables.
This variable is required. It specifies the target that Cameradar scans and attempts to access.
Examples:
172.16.100.0/24192.168.1.1localhost192.168.1.140-255192.168.2-3.0-255
This variable is optional and allows you to specify the ports to scan.
Default value: 554,5554,8554
Change these only if you are sure cameras stream over different ports. Most cameras use these defaults.
This option is optional. It replaces the default routes dictionary used for the dictionary attack.
If unset, Cameradar uses the built-in routes dictionary.
This option is optional. It replaces the default credentials dictionary used for the dictionary attack.
If unset, Cameradar uses the built-in credentials dictionary.
This optional variable sets the discovery backend.
-
nmapincludes service discovery and is generally more reliable when you want to specifically identify RTSP services. -
masscanis generally more efficient for large-scale discovery, but it does not identify services and therefore can be less specific for RTSP.
Supported values: nmap, masscan
Default value: nmap
This optional variable sets nmap discovery presets for speed or accuracy. Lower it on slow networks and raise it on fast networks. See nmap timing templates.
This option is ignored when --scanner masscan is used.
Default value: 4
This optional flag skips network discovery and assumes every target and port pair is an RTSP stream.
Use it when you already know the RTSP endpoints or when discovery is blocked. For best results, specify only RTSP ports.
Default value: false
This optional variable sets a delay between attacks. Increase it for networks that may block brute-force attempts. Default: no delay.
Default value: 0ms
This optional variable sets the timeout for requests sent to the cameras. Increase it for slow networks and decrease it for fast networks.
Default value: 2000ms
This optional variable enables more verbose output.
It outputs discovery results (nmap or masscan), cURL requests, and more.
Default: false
This option selects the UI mode.
-
autoselectstuiif your terminal is interactive,plainotherwise -
tuishows a fullscreen interface with a progress bar and shows the results in a table -
plainlogs the steps taken by cameradar as plain text and is meant to be used by non-interactive terminals
Supported values: auto, tui, plain
Default: auto
This optional variable writes an M3U playlist of the discovered streams to the given file path.
Example: /tmp/cameradar.m3u