From 7193c02b5b55bdb099c21ca66d944c864fb294a4 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Wed, 17 Dec 2025 04:10:16 -0700 Subject: [PATCH] updooted packages --- Windows-Scripts/FIND_THE_FUCKING_PI.ps1 | 3 +++ customscripts/install_script.sh | 19 +++++++++++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 Windows-Scripts/FIND_THE_FUCKING_PI.ps1 diff --git a/Windows-Scripts/FIND_THE_FUCKING_PI.ps1 b/Windows-Scripts/FIND_THE_FUCKING_PI.ps1 new file mode 100644 index 0000000..61ddc47 --- /dev/null +++ b/Windows-Scripts/FIND_THE_FUCKING_PI.ps1 @@ -0,0 +1,3 @@ +while($True) { + nmap -p22 -sV --open 10.0.0.0/24 -oG - +} \ No newline at end of file diff --git a/customscripts/install_script.sh b/customscripts/install_script.sh index 7aec6e9..e7b9d93 100644 --- a/customscripts/install_script.sh +++ b/customscripts/install_script.sh @@ -79,9 +79,15 @@ if [ ! -z "$1" ]; then 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 - # echo "# linuxbrew (homebrew/brew)" >> $rcfile - # echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $rcfile - # source $rcfile + if ! grep -q 'linuxbrew' $rcfile; then + echo "adding linuxbrew to $rcfile" + echo "# linuxbrew (homebrew/brew)" >> $rcfile + echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $rcfile + else + echo "linuxbrew already in $rcfile skipping" + fi + + source $rcfile else echo -e "\nlinuxbrew installed, skipping install\n" fi @@ -89,7 +95,12 @@ if [ ! -z "$1" ]; then if [ ! $(which ponysay) ]; then echo -e "\nponysay not fonud, installiing\n" brew install ponysay - # echo -e "# ponysay fix\nexport PYTHONWARNINGS=ignore::SyntaxWarning" >> $rcfile + if ! grep 'ponysay fix' $rcfile; then + echo "adding ponysay fix to $rcfile" + echo -e "# ponysay fix\nexport PYTHONWARNINGS=ignore::SyntaxWarning" >> $rcfile + else + echo "ponysay fix already in $rcfile skipping" + fi else echo -e "\nponysay already installed, skipping\n" fi