Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading