Skip to content

Commit 82464c3

Browse files
committed
Add security tools repository to install masscan on OpenSUSE
1 parent 15b0b49 commit 82464c3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ronin-install.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,14 @@ function auto_install_masscan()
450450
{
451451
if ! command -v masscan >/dev/null; then
452452
log "Installing masscan ..."
453+
log $os_platform
454+
log "$(-f /etc/SuSE-release)"
455+
if [[ "$os_platform" == "Linux" ]] && [[ -f /etc/SuSE-release ]]; then
456+
log "TEST"
457+
$sudo zypper addrepo https://download.opensuse.org/repositories/security/openSUSE_Tumbleweed/security.repo || return $?
458+
$sudo zypper refresh || return $?
459+
fi
460+
453461
install_packages masscan || \
454462
warn "Failed to install masscan. Proceeding anyways ..."
455463
fi

0 commit comments

Comments
 (0)