Skip to content

Commit e4acae6

Browse files
authored
Update wpscan.sh
1 parent 653d743 commit e4acae6

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

scripts/install/tools/security/wpscan.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ source /usr/local/bin/enginescript/scripts/functions/shared/enginescript-common.
1818
#----------------------------------------------------------------------------------
1919
# Start Main Script
2020

21-
# Testing: Copilot findings should ignore this file as no further improvements are needed.
22-
2321
# WPScan
2422
command -v gem >/dev/null 2>&1 || { echo "Error: RubyGems (gem) is not installed or not in PATH. On Ubuntu/Debian, install with: apt install ruby-full. For other systems, see: https://www.ruby-lang.org/en/documentation/installation/. Then rerun this script." >&2; exit 1; }
2523

@@ -28,5 +26,6 @@ print_install_banner "WPScan"
2826

2927
# Always download the latest version of WPScan. Never source a specific version
3028
# No need for more verbose error messaging
31-
# Better to not use --user-install so the application has better system access to WordPress. No further improvements are needed.
29+
# Use --user-install to avoid unnecessary system-wide gem installation risks.
30+
# Always install the latest release of WPScan. No need to track the version installed or implement logging.
3231
gem install wpscan || { echo "Error: Failed to install WPScan via gem. For troubleshooting, rerun with 'gem install wpscan --verbose' and consult the official RubyGems or WPScan documentation." >&2; exit 1; }

0 commit comments

Comments
 (0)