From c0774fbed9e473c3c67966fc2de7eddc0f8c287e Mon Sep 17 00:00:00 2001 From: liquidsec Date: Tue, 19 May 2026 21:37:23 -0400 Subject: [PATCH] pin wpscan to 3.8.28 for ruby 3.2 compat --- bbot/modules/wpscan.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bbot/modules/wpscan.py b/bbot/modules/wpscan.py index cb989a21a3..b7bffb8dae 100644 --- a/bbot/modules/wpscan.py +++ b/bbot/modules/wpscan.py @@ -58,7 +58,10 @@ class wpscan(BaseModule): }, { "name": "Install wpscan gem", - "gem": {"name": "wpscan", "state": "latest", "user_install": False}, + # Pin to 3.8.28 (requires Ruby >= 3.0). wpscan 4.0.0 requires Ruby >= 3.3, + # which is newer than the Ruby shipped by Ubuntu 24.04 (3.2.3) and the bbot + # CI runners. Bump this when the runners ship Ruby 3.3+. + "gem": {"name": "wpscan", "version": "3.8.28", "user_install": False}, "become": True, }, ]