From 9e90572446adf2742eeb55c43fb2ddfd54bea007 Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 27 Oct 2024 09:40:41 -0400 Subject: [PATCH] test things --- .github/workflows/distro_tests.yml | 2 +- bbot/core/helpers/depsinstaller/installer.py | 10 +++++++++- bbot/modules/wpscan.py | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/distro_tests.yml b/.github/workflows/distro_tests.yml index 201f9a79ac..1286256548 100644 --- a/.github/workflows/distro_tests.yml +++ b/.github/workflows/distro_tests.yml @@ -33,7 +33,7 @@ jobs: dnf install -y curl git bash gcc make openssl-devel bzip2-devel libffi-devel zlib-devel xz-devel tk-devel gdbm-devel readline-devel sqlite-devel elif [ "$ID" = "gentoo" ]; then emerge-webrsync - emerge --update --newuse dev-vcs/git curl bash + emerge --update --newuse dev-vcs/git media-libs/mesa curl bash fi fi diff --git a/bbot/core/helpers/depsinstaller/installer.py b/bbot/core/helpers/depsinstaller/installer.py index 8df5f05cf0..80ded37a6f 100644 --- a/bbot/core/helpers/depsinstaller/installer.py +++ b/bbot/core/helpers/depsinstaller/installer.py @@ -342,7 +342,15 @@ def install_core_deps(self): # ensure tldextract data is cached self.parent_helper.tldextract("evilcorp.co.uk") # command: package_name - core_deps = {"unzip": "unzip", "curl": "curl"} + core_deps = { + "unzip": "unzip", + "zipinfo": "unzip", + "curl": "curl", + "git": "git", + "make": "make", + "gcc": "gcc", + "bash": "bash", + } for command, package_name in core_deps.items(): if not self.parent_helper.which(command): to_install.add(package_name) diff --git a/bbot/modules/wpscan.py b/bbot/modules/wpscan.py index d9c43905e4..4c1dce4948 100644 --- a/bbot/modules/wpscan.py +++ b/bbot/modules/wpscan.py @@ -48,7 +48,7 @@ class wpscan(BaseModule): "name": "Install Ruby Deps (Fedora)", "package": {"name": ["rubygems", "ruby-devel"], "state": "present"}, "become": True, - "when": "ansible_facts['os_family'] == 'Fedora'", + "when": "ansible_facts['os_family'] == 'RedHat'", }, { "name": "Install wpscan gem",