Installation instructions for Codename SCNR on Linux x86 64bit.
To install run the following command in a terminal of your choice:
bash -c "$(curl -sSL https://get.ecsypno.com/scnr)"
You can now run Codename SCNR by using the executables under the bin/
directory.
- For a CLI scan you can run
bin/scnr URL
. - You can use Codename SCNR Pro by running
bin/scnr_pro
- Setting up PostgreSQL is recommended for production workloads.
For more information please consult the documentation.
For a more reliable Codename SCNR Pro experience, it's best to configure it to use PostgreSQL.
Please exchange secret
with a secure password in the role creation commands.
$ sudo -u postgres psql
postgres=# CREATE USER "scnr-pro" WITH PASSWORD 'secret';
postgres=# ALTER USER "scnr-pro" superuser;
# Backup SQLite config.
mv ~/.scnr/pro/config/database.yml ~/.scnr/pro/config/database.yml.bak
# Set to use PostgreSQL config.
cp ~/.scnr/pro/config/database.postgres.yml ~/.scnr/pro/config/database.yml
Now edit ~/.scnr/pro/config/database.yml
to change the password from secret
.
From the Codename SCNR package directory:
bin/scnr_pro_task db:create db:migrate db:seed
- Download the latest package.
- Extract.
- Run
bin/scnr_activate KEY
to activate your installation -- if you haven't already done so for a previous release.- Acquire a license activation key -- if you haven't already done so for a previous release.
You can now run Codename SCNR by using the executables under the bin/
directory.
For a CLI scan you can run bin/scnr URL
.
For more information please consult the documentation.
You can run Codename SCNR Pro by running bin/scnr_pro
.
If you'd like to use the Codename SCNR WebUI, its database will need to be prepared.
Out of the box, the WebUI comes configured with SQLite, however, for better results and performance please switch to PostgreSQL.
Please exchange secret
with a secure password in the role creation commands.
$ sudo -u postgres psql
postgres=# CREATE USER "scnr-pro" WITH PASSWORD 'secret';
postgres=# ALTER USER "scnr-pro" superuser;
From the package root directory:
# Backup SQLite config.
mv .system/scnr-ui-pro/config/database.yml .system/scnr-ui-pro/config/database.yml.bak
# Set to use PostgreSQL config.
cp .system/scnr-ui-pro/config/database.postgres.yml .system/scnr-ui-pro/config/database.yml
Now edit .system/scnr-ui-pro/config/database.yml
to change the password from secret
.
If this is a fresh installation, you can setup a DB with:
./bin/scnr_pro_task db:create db:migrate db:seed
If you'd like to update an existing installation you can do it with:
./bin/scnr_pro_task db:migrate
For minimal environments such as headless servers or the Windows Subsystem for Linux, please first run:
sudo apt-get update
sudo apt-get install libgconf-2-4 libatk1.0-0 libatk-bridge2.0-0 libgdk-pixbuf2.0-0 libgtk-3-0 libgbm-dev libnss3-dev libxss-dev libasound2
Copyright 2023 Ecsypno Single Member P.C..
All rights reserved.