Added session list key to tmux, added recon alias for bgp streaming, and more. New packages added to setup

This commit is contained in:
Dionysus 2024-02-09 15:31:16 -05:00
parent 5b643c2e7a
commit cd8b338991
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
4 changed files with 12 additions and 4 deletions

View File

@ -41,6 +41,7 @@ alias torch='curl -s https://check.torproject.org | grep "Congratulations"'
alias up="sudo apt-get update && sudo apt-get upgrade && sudo apt autoremove"
alias y2m='youtube-dl --extract-audio --audio-format mp3 --audio-quality 0 -o "%(title)s.%(ext)s" --no-cache-dir --no-call-home'
alias wh='curl wttr.in'
alias up='sudo xbps install -Su && sudo xbps-install -u xbps && sudo xbps-remove -O'
# fun (asciiquarium, tty-solitaire)
alias ansi='python3 ~/.scripts/irc2ansi.py ~/dev/git/ircart/ircart/ircart/ansi'
@ -49,6 +50,7 @@ alias busy="cat /dev/urandom | hexdump -C | grep 'ca fe'"
alias donut="curl ascii.live/donut"
alias cmatrix='cmatrix -ab -u 1 -C magenta -s'
alias lavat='lavat -c magenta -s 10 -r 1 -R 1 -k cyan -b 20'
alias mapscii='telnet mapscii.me'
alias rmatrix='cmatrix -ab -u 1 -C red'
alias pokemon='curl pkmn.li'
alias starwars='telnet towel.blinkenlights.nl'

View File

@ -42,6 +42,10 @@ bgplookup() {
fi
}
bgpstream() {
curl -s "https://ris-live.ripe.net/v1/stream/?format=json&client=hacktheplnet" # FOR COWBOYS ONLY
}
crtsh() {
curl -s "https://crt.sh/?q=$1&output=json" | jq -r '.[].name_value' | sort | uniq
}

7
setup
View File

@ -39,8 +39,8 @@ setup_root() {
xbps-install -y gcc vscode
fi
xbps-install -y bandwhich bind-utils btop curl earlyoom exa git gitui gnupg2-scdaemon mlocate net-tools ncdu oath-toolkit progress rsync socklog-void tmate tmux tor tree unzip weechat zip
xbps-install -y asciiquarium cointop cmatrix no-more-secrets tty-solitaire
xbps-install -y bandwhich bat bind-utils btop curl earlyoom exa git glow gnupg2-scdaemon lazygit mlocate net-tools ncdu oath-toolkit progress ripgrep rsync socklog-void tmate tmux tor tree unzip weechat zip
xbps-install -y asciiquarium cmatrix no-more-secrets tty-solitaire
xbps-install -y kismet masscan nmap termshark wireshark
updatedb
@ -71,11 +71,11 @@ setup_root() {
printf "\nnohook resolv.conf\n" >> /etc/dhcpcd.conf
printf "\nipv4only\nnodhcp6\n" >> /etc/dhcpcd.conf # For fixing "dhcpcd: ipv6nd_sendadvertisement: Operation not permitted" error
echo "proc /proc proc defaults,hidepid=2 0 0" >> /etc/fstab
printf "Defaults lecture = always\nDefaults lecture_file = /etc/sudoers.d/sudoers.lecture\nroot ALL=(ALL) ALL\n%%wheel ALL=(ALL) ALL\n" > /etc/sudoers
printf "\n\033[1m \033[32m\"Bee\" careful \033[34m__\n \033[32mwith sudo! \033[34m// \ \n \\\\\\_/ \033[33m//\n \033[35m''-.._.-''-.._.. \033[33m-(||)(')\n '''\033[0m\n" > /etc/sudoers.d/sudoers.lecture
printf "#\!/bin/sh\nclear && (printf \"\" && printf \" E N T E R T H E V O I D\" && printf \"\") | nms -af red\n" > /etc/profile.d/motd.sh
printf "\nhsts=0\n" >> /etc/wgetrc
printf "\nmax-jobs=10\n" > /etc/xbps.d/10-parallel-downloads.conf
}
@ -107,6 +107,7 @@ setup_configs() {
wget -O $HOME/.scripts/$SCRIPT $GIT_URL/scripts/$SCRIPT && chmod +x $HOME/.scripts/$SCRIPT
done
wget -O $HOME/.scripts/irc2ansi.py https://github.com/internet-relay-chat/archive/blob/master/art/irc2ansi.py
wget -O $HOME/.scripts/pipes https://raw.githubusercontent.com/pipeseroni/pipes.sh/master/pipes.sh && chmod +x $HOME/.scripts/pipes
mkdir -p $HOME/.local/share/fonts && wget -O $HOME/.local/share/fonts/BlockZone.ttf $GIT_URL/font/BlockZone.ttf
}

View File

@ -3,6 +3,7 @@ bind -n C-n new-window
bind -n C-t command-prompt -p "New title:" "rename-window '%%'"
bind -n C-M-t command-prompt -p "New session name:" "rename-session '%%'"
bind -n C-M-s choose-tree -Z
bind -n C-M-Left switch-client -n
bind -n C-M-Right switch-client -p
@ -28,4 +29,4 @@ setw -g window-status-current-style fg=cyan,bg=default
setw -g window-status-activity-style fg=yellow,bg=default
setw -g window-status-style fg=grey,bg=black
setw -g window-status-format "#I: #W"
setw -g window-status-current-format "#[bold]#I: #W"
setw -g window-status-current-format "#[bold]#I: #W"