Installation
... or how to install secator and it's dependencies on different platforms.
Installing secator
pipx install secatorpip install secatorwget -O - https://raw.githubusercontent.com/freelabz/secator/main/scripts/install.sh | shdocker run -it --rm --net=host -v ~/.secator:/root/.secator freelabz/secator --helpYou can alias this command to run it easier:
alias secator="docker run -it --rm --net=host -v ~/.secator:/root/.secator freelabz/secator"Now you can run secator like if it was installed on baremetal:
secator --helpgit clone https://github.com/freelabz/secator
cd secator
docker-compose up -d
docker-compose exec secator secator --helpIf you chose the Bash, Docker, or Docker Compose installation methods, you can jump straight to CLI Usage.
Installing languages (optional)
secator uses external tools, so you might need to install languages used by those tools assuming they are not already installed on your system.
We provide a subcommand to install required languages if you don't manage them externally:
secator install langs go # install Go
secator install langs ruby # install RubyInstalling tools (optional)
secator can install tools automatically at runtime (provided security.auto_install_commands is enabled, which is the default), but you can also do it manually.
We provide a subcommand to install or update each supported tool which should work on all systems supporting apt:
secator install tools httpx # install httpx
secator install tools # install all supported toolsInstalling addons (optional)
secator comes installed with the minimum amount of dependencies.
We provide a subcommand to install additional addons which are required for various features:
Add support for Celery (see Distributed runs with Celery).
secator install addons workerAdd support for Google Drive exporter (see Exporters).
secator install addons googleAdd support for MongoDB driver (see MongoDB driver).
secator install addons mongodbAdd support for Celery Redis broker / backend.
secator install addons redisAdd development tools like coverage and flake8 required for running tests.
secator install addons devAdd tracing tools like memray and pyinstrument required for tracing functions.
secator install addons traceChecking installation health
To figure out which languages or tools are installed on your system (along with their version):
secator health
Last updated
Was this helpful?