activecm / rita

Real Intelligence Threat Analytics (RITA) is a framework for detecting command and control communication through network traffic analysis.
https://www.activecountermeasures.com/free-tools/rita/
GNU General Public License v3.0
189 stars 22 forks source link

Installer script fixes for unsupported operating systems. #3

Closed william-stearns closed 3 months ago

william-stearns commented 3 months ago

The fixes in this PR are for secondary/unsupported operating systems. They should not affect the operation or install of our supported operating systems. As a side note, these fix issues with installing rita on localhost as we need to install ansible to get these working.

william-stearns commented 3 months ago

BTW, the PR checks seem to be failing on a filename issue unrelated to the PR:

            Error Trace:    /home/runner/work/rita/rita/cmd/import_test.go:188
                                        /home/runner/go/pkg/mod/github.com/stretchr/testify@v1.9.0/suite/suite.go:115
            Error:          elements differ

                            extra elements in list A:
                            ([]interface {}) (len=1) {
                             (string) (len=64) "/home/runner/work/rita/rita/test_data/valid_tsv/open_http.log.gz"
                            }

                            extra elements in list B:
                            ([]interface {}) (len=1) {
                             (string) (len=61) "/home/runner/work/rita/rita/test_data/valid_tsv/open_http.log"
                            }