fixed oniux shit proper and finished checksum for windowz

This commit is contained in:
2026-08-10 21:12:56 -06:00
parent 3425139b1f
commit 29ee569bfe
+43 -49
View File
@@ -12,7 +12,6 @@ tmpDir='/tmp/generalssss'
tmp_customscripts_dir="$tmpDir/customscripts" tmp_customscripts_dir="$tmpDir/customscripts"
finalDir='/usr/share/customscripts' finalDir='/usr/share/customscripts'
packages="7zip apache2 argon2 avahi-daemon btop build-essential byobu cargo cifs-utils clamav cmake cowsay cracklib-runtime detox docker.io exiftool fdupes ffuf gcc-arm-none-eabi grc gzip iotop iptraf-ng jq kpartx libnss-mdns libnewlib-arm-none-eabi librust-git2+openssl-probe-dev libstdc++-arm-none-eabi-newlib locales lynx net-tools nginx openssl php polygen polygen-data procps python3 python3-scapy resolvconf restic ripgrep samba screen seclists snapd thefuck unzip wget xrdp xxd xz-utils zip kali-linux-default" packages="7zip apache2 argon2 avahi-daemon btop build-essential byobu cargo cifs-utils clamav cmake cowsay cracklib-runtime detox docker.io exiftool fdupes ffuf gcc-arm-none-eabi grc gzip iotop iptraf-ng jq kpartx libnss-mdns libnewlib-arm-none-eabi librust-git2+openssl-probe-dev libstdc++-arm-none-eabi-newlib locales lynx net-tools nginx openssl php polygen polygen-data procps python3 python3-scapy resolvconf restic ripgrep samba screen seclists snapd thefuck unzip wget xrdp xxd xz-utils zip kali-linux-default"
# packages="grc kpartx openssl cracklib-runtime argon2 jq polygen polygen-data apache2 seclists cmake locales python3 build-essential gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib librust-git2+openssl-probe-dev cargo nginx build-essential cowsay iotop iptraf-ng btop screen byobu thefuck wget lynx zip unzip 7zip xz-utils gzip net-tools clamav php restic cifs-utils detox fdupes ripgrep avahi-daemon libnss-mdns xxd xrdp libimage-exiftool-perl kali-tools-hardware kali-tools-crypto-stego kali-tools-fuzzing kali-tools-bluetooth kali-tools-rfid kali-tools-sdr kali-tools-voip kali-tools-802-11 kali-tools-forensics samba procps snapd"
echo -e "\nSTARTING!\n\tUsing Shell $SHELL\n" echo -e "\nSTARTING!\n\tUsing Shell $SHELL\n"
@@ -73,42 +72,41 @@ if [ ! -z "$1" ]; then
# echo -e "\nhaveibeenpwned-downloader installed, skipping install\n" # echo -e "\nhaveibeenpwned-downloader installed, skipping install\n"
# fi # fi
# homebrew # homebrew
# if [ ! $(which brew) ]; then if [ ! $(which brew) ]; then
# ## install homebrew ## install homebrew
# echo -e "\nlinuxbrew not found, installing\n" echo -e "\nlinuxbrew not found, installing\n"
# bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# ### add to rcfile ### add to rcfile
# if ! grep -q 'linuxbrew' $rcfile; then if ! grep -q 'linuxbrew' $rcfile; then
# # echo "adding linuxbrew to $rcfile" echo "adding linuxbrew to $rcfile"
# # echo "# linuxbrew (homebrew/brew)" >> $rcfile echo "# linuxbrew (homebrew/brew)" >> $rcfile
# # echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $rcfile echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $rcfile
# else else
# echo "linuxbrew already in $rcfile skipping" echo "linuxbrew already in $rcfile skipping"
# fi fi
#
# # source $rcfile else
# else echo -e "\nlinuxbrew installed, skipping install\n"
# echo -e "\nlinuxbrew installed, skipping install\n" fi
# # source $rcfile ### install ponysay
# fi if [ ! $(which ponysay) ]; then
# ### install ponysay echo -e "\nponysay not fonud, installiing\n"
# if [ ! $(which ponysay) ]; then brew install ponysay
# echo -e "\nponysay not fonud, installiing\n" if ! grep 'ponysay fix' $rcfile; then
# brew install ponysay echo "adding ponysay fix to $rcfile"
# if ! grep 'ponysay fix' $rcfile; then echo -e "# ponysay fix\nexport PYTHONWARNINGS=ignore::SyntaxWarning" >> $rcfile
# # echo "adding ponysay fix to $rcfile" source $rcfile
# # echo -e "# ponysay fix\nexport PYTHONWARNINGS=ignore::SyntaxWarning" >> $rcfile else
# # source $rcfile echo "ponysay fix already in $rcfile skipping"
# else source $rcfile
# # echo "ponysay fix already in $rcfile skipping" fi
# # source $rcfile else
# fi echo -e "\nponysay already installed, skipping\n"
# else fi
# echo -e "\nponysay already installed, skipping\n"
# fi
# cargo # cargo
## oniux ## oniux
echo -e "\nINSTALLIN TOR ONIUX\n" echo -e "\nINSTALLIN TOR ONIUX\n"
if [ -f /usr/local/bin/oniux ]; then if [ -f /usr/local/bin/oniux ]; then
@@ -160,7 +158,7 @@ git clone $gitRepo $tmpDir --single-branch --depth 1
# donut # donut
echo -e "\nCompiling donut\n" echo -e "\nCompiling donut\n"
gcc -o "$tmp_customscripts_dir/donut" "$tmp_customscripts_dir/donut.c" -lm # 2>/dev/null gcc -o "$tmp_customscripts_dir/donut" "$tmp_customscripts_dir/donut.c" -lm 2>/dev/null
# put the customscripts dir into place # put the customscripts dir into place
echo -e "\nPlacing in $finalDir\n" echo -e "\nPlacing in $finalDir\n"
@@ -181,10 +179,10 @@ pathgrep=$?
if [ $pathgrep -eq 0 ]; then if [ $pathgrep -eq 0 ]; then
echo -e "\n$finalDir Already in \$PATH Skipping Append\n" echo -e "\n$finalDir Already in \$PATH Skipping Append\n"
fi fi
# else else
# echo -e "\nAdding $finalDir to $username's \$PATH by Appending to $rcfile\n" # echo -e "\nAdding $finalDir to $username's \$PATH by Appending to $rcfile\n"
# echo -e "\n\n# automatically added by customscripts installer\nexport PATH=\"\$PATH:$finalDir\"" >> "$rcfile" # echo -e "\n\n# automatically added by customscripts installer\nexport PATH=\"\$PATH:$finalDir\"" >> "$rcfile"
# fi fi
# install pishrink if not there # install pishrink if not there
if [ ! -f /usr/local/bin/pishrink ]; then if [ ! -f /usr/local/bin/pishrink ]; then
@@ -204,15 +202,11 @@ if [ ! -d $userhome/.local/share/blesh ]; then
cd /tmp cd /tmp
git clone --recursive --depth 1 --shallow-submodules --single-branch -b master https://github.com/akinomyoga/ble.sh.git git clone --recursive --depth 1 --shallow-submodules --single-branch -b master https://github.com/akinomyoga/ble.sh.git
make -C ble.sh install PREFIX=~/.local make -C ble.sh install PREFIX=~/.local
# echo '# ble.sh' >> $rcfile echo '# ble.sh' >> $rcfile
# echo "source -- ~/.local/share/blesh/ble.sh" >> $rcfile echo "source -- ~/.local/share/blesh/ble.sh" >> $rcfile
# source $rcfile else
# exec "$SHELL" echo -e "\nble.sh already installed, skippping\n"
fi fi
# else
# echo -e "\nble.sh already installed, skippping\n"
# source $rcfile
# fi
$SHELL -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" $SHELL -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)"' >> "$rcfile" echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)"' >> "$rcfile"