Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nikto install fix #398

Merged
merged 1 commit into from
Nov 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions helpers/helpers_emba_dependency_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,13 @@ check_emulation_port() {
fi
}

setup_nikto() {
if [[ "$IN_DOCKER" -eq 1 ]] && [[ -d "$EXT_DIR"/var_lib_nikto ]]; then
mkdir -p /var/lib/nikto
cp "$EXT_DIR"/var_lib_nikto/* /var/lib/nikto/
fi
}

setup_unblob() {
TOOL_NAME="${1:-}"

Expand Down Expand Up @@ -376,6 +383,7 @@ dependency_check()
export MPLCONFIGDIR="$TMP_DIR"

setup_unblob "unblob"
setup_nikto

# jtr
check_dep_tool "john"
Expand Down
5 changes: 5 additions & 0 deletions installer/IL15_emulated_checks_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ IL15_emulated_checks_init() {
sed -i 's/routersploit\.log/\/tmp\/routersploit\.log/' ./rsf.py
fi

# we need to safe /var/lib/nikto now
if [[ -d /var/lib/nikto ]]; then
cp -pri /var/lib/nikto external/var_lib_nikto
fi

cd "$HOME_PATH" || ( echo "Could not install EMBA component routersploit" && exit 1 )

;;
Expand Down