Skip to content

Commit

Permalink
Add security tools repository to install masscan on OpenSUSE
Browse files Browse the repository at this point in the history
  • Loading branch information
moozzi committed Feb 23, 2025
1 parent 15b0b49 commit 248789f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ronin-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,14 @@ function auto_install_masscan()
{
if ! command -v masscan >/dev/null; then
log "Installing masscan ..."
log $os_platform
log $(( -f /etc/SuSE-release ))
if [[ "$os_platform" == "Linux" ]] && [[ -f /etc/SuSE-release ]]; then
log $os_platform
$sudo zypper addrepo https://download.opensuse.org/repositories/security/openSUSE_Tumbleweed/security.repo || return $?
$sudo zypper refresh || return $?
fi

install_packages masscan || \
warn "Failed to install masscan. Proceeding anyways ..."
fi
Expand Down

0 comments on commit 248789f

Please sign in to comment.