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

Edit for Kali cloud #65

Merged
merged 1 commit into from
Sep 5, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ packages=(

sec_packages=(
"bloodhound"
"box64"
"chisel"
"dnscat2"
"hurl"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{{- if and (eq .chezmoi.os "linux") (eq .chezmoi.arch "arm64") -}}
#!/usr/bin/env bash
set -eufo pipefail

# if shell is interactive, prompt for sudo
if [[ $- == *i* ]]; then
sudo -v
fi

# Keep-alive: update existing `sudo` time stamp until linux installs have finished
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &

sudo apt update

arm64_packages=(
"box64"
)

# Loop through the array and install each package
for arm64_package in "${arm64_packages[@]}"; do
echo "Installing $arm64_package..."
sudo apt install -y $arm64_package
done

{{- end -}}
Loading