From b533775857aea94141b12413014b91c965eebc46 Mon Sep 17 00:00:00 2001 From: alexrf45 Date: Wed, 22 May 2024 23:35:59 -0400 Subject: [PATCH] firefox testing, aliases fix --- resources/zsh/.zshrc | 24 ++++++++++++++++++++++++ resources/zsh/aliases | 23 ----------------------- sources/0-base.sh | 2 +- sources/4-home.sh | 4 +--- 4 files changed, 26 insertions(+), 27 deletions(-) delete mode 100644 resources/zsh/aliases diff --git a/resources/zsh/.zshrc b/resources/zsh/.zshrc index f51210a..d1e4209 100644 --- a/resources/zsh/.zshrc +++ b/resources/zsh/.zshrc @@ -48,3 +48,27 @@ echo " #persistant ssh agent eval $(ssh-agent) &> /dev/null + +#daily use +alias t='tmux new -f ~/.tmux.conf -s $1' +alias update='sudo apt get update' +alias upgrade='sudo apt get upgrade' +alias i='sudo apt get install -y' +alias :q='exit' +alias c='clear' +alias :r='. ~/.zshrc' +alias home='cd ~' +alias cme='nxc' +alias port-scan='sudo nmap -sC -sV -p- $IP > scan.txt' +alias udp-scan='sudo nmap -sU --top-ports 10 $IP -v > udp.scan.txt' +alias stealth-scan='sudo nmap --data-length 6 -T3 -A -ttl 64 -p- $IP > stealth-scan.txt' +alias public='curl wtfismyip.com/text' +alias proxy='proxychains' +alias serve='sudo python3 -m http.server 80' +alias webserver="miniserve -p 8001" +#python3 +alias py-virt='python3 -m venv .venv && source .venv/bin/activate' +alias freeze='pip freeze > requirements.txt' +alias py-install='pip install -r requirements.txt' +alias py-list='pipx list | grep package' + diff --git a/resources/zsh/aliases b/resources/zsh/aliases deleted file mode 100644 index e39d055..0000000 --- a/resources/zsh/aliases +++ /dev/null @@ -1,23 +0,0 @@ -#daily use -alias t='tmux new -f ~/.tmux.conf -s $1' -alias update='sudo apt get update' -alias upgrade='sudo apt get upgrade' -alias i='sudo apt get install -y' -alias :q='exit' -alias c='clear' -alias :r='. ~/.zshrc' -alias home='cd ~' -alias cme='nxc' -alias port-scan='sudo nmap -sC -sV -p- $IP > scan.txt' -alias udp-scan='sudo nmap -sU --top-ports 10 $IP -v > udp.scan.txt' -alias stealth-scan='sudo nmap --data-length 6 -T3 -A -ttl 64 -p- $IP > stealth-scan.txt' -alias public='curl wtfismyip.com/text' -alias proxy='proxychains' -alias serve='sudo python3 -m http.server 80' -alias webserver="miniserve -p 8001" -#python3 -alias py-virt='python3 -m venv .venv && source .venv/bin/activate' -alias freeze='pip freeze > requirements.txt' -alias py-install='pip install -r requirements.txt' -alias py-list='pipx list | grep package' - diff --git a/sources/0-base.sh b/sources/0-base.sh index eba1ba4..77661e2 100644 --- a/sources/0-base.sh +++ b/sources/0-base.sh @@ -10,7 +10,7 @@ base() { python3-virtualenv libpcap-dev \ jq xpdf pipx man-db exploitdb \ rpcbind nfs-common feh cmake \ - ntp ntpdate bash-completion zsh + ntp ntpdate bash-completion zsh firefox } # home_brew() { diff --git a/sources/4-home.sh b/sources/4-home.sh index cd778db..8ff1065 100644 --- a/sources/4-home.sh +++ b/sources/4-home.sh @@ -8,9 +8,7 @@ mkdir -p $HOME/.config && cp /home/kali/resources/tmux.conf /home/kali/.tmux.con cp /home/kali/resources/bash/history /home/kali/.history && cp -r /home/kali/resources/ffuf /home/kali/.config/. && cp -r /home/kali/resources/.Burpsuite /home/kali/. && - cp -r /home/kali/resources/zsh/aliases /home/kali/.zsh/aliases - -git clone https://github.com/tmux-plugins/tpm $HOME/.tmux/plugins/tpm + git clone https://github.com/tmux-plugins/tpm $HOME/.tmux/plugins/tpm sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended