Update redeye.sh
This commit is contained in:
20
redeye.sh
20
redeye.sh
@@ -5,7 +5,7 @@ set -euo pipefail
|
||||
function main() {
|
||||
default_system_pass="kali"
|
||||
default_go_version="1.26.3"
|
||||
default_password="redeye6"
|
||||
#default_password="redeye6"
|
||||
|
||||
printf "\n"
|
||||
cprint "------------------------------------------------------------"
|
||||
@@ -13,10 +13,10 @@ function main() {
|
||||
cprint "------------------------------------------------------------"
|
||||
|
||||
read "update_toggle?do you want to preform a full-upgrade? (y/n): "
|
||||
read -s "custom_password?do you want to update your password? (default: $default_password): "
|
||||
if [[ -n "$custom_password" ]]; then
|
||||
default_password="$custom_password"
|
||||
fi
|
||||
#read -s "custom_password?do you want to update your password? (default: $default_password): "
|
||||
#if [[ -n "$custom_password" ]]; then
|
||||
# default_password="$custom_password"
|
||||
#fi
|
||||
printf "\n"
|
||||
read "custom_go_version?what go version should be installed? (default: $default_go_version): "
|
||||
printf "\n"
|
||||
@@ -34,7 +34,7 @@ function main() {
|
||||
installGo "$default_go_version"
|
||||
installTools
|
||||
|
||||
echo -n "kali:$default_password" | sudo chpasswd
|
||||
#echo -n "kali:$default_password" | sudo chpasswd
|
||||
|
||||
cprint "done"
|
||||
}
|
||||
@@ -52,10 +52,10 @@ function installGo() {
|
||||
}
|
||||
|
||||
function installTools() {
|
||||
cprint "installing credslayer"
|
||||
pipx install credslayer
|
||||
cprint "installing ffuf"
|
||||
go install github.com/ffuf/ffuf/v2@latest
|
||||
#cprint "installing credslayer"
|
||||
#pipx install credslayer
|
||||
#cprint "installing ffuf"
|
||||
#go install github.com/ffuf/ffuf/v2@latest
|
||||
|
||||
cprint "installing sublime text"
|
||||
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo tee /etc/apt/keyrings/sublimehq-pub.asc > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user