2011-08-25 18:52:00 +02:00
# This file contains aliases which my bashrc uses. You might need to edit something (for example: if you use vi or don't have nmap).
2011-08-13 12:02:01 +02:00
# Moving between directories:
2011-08-12 22:15:14 +02:00
alias ..= "cd .."
alias .= "cd ."
2011-08-13 12:02:01 +02:00
# As you can see, I don't use/like Vi(m) :)
2011-08-12 22:15:14 +02:00
alias editor = "nano"
2011-08-13 12:02:01 +02:00
alias vi = "nano"
alias vim = "nano"
# Use htop instead of top, it's better. Requires htop.
alias top = "htop"
2011-08-14 18:11:11 +02:00
# Automaticly adds title to Youtube-dl when downloading videos with it. Requires youtube-dl.
2011-08-13 12:02:01 +02:00
alias youtube-dl= "youtube-dl -t"
2011-08-14 17:11:55 +02:00
# git specific. This is the command which I use when git asks me to commit something and says that I have modified files, even when I haven't.
alias gdrop = "git stash && git stash drop"
2011-08-14 18:11:11 +02:00
alias gitk = "gitg" # Requires gitg . I just think that it looks nicer than gitk.
2011-08-14 18:05:48 +02:00
# Usually when I run "time", I want to know the current time.
alias time = "date"
2011-08-16 12:24:54 +02:00
# If I run nautilus, I want it to open in folder where I am.
alias nautilus = "nautilus ./"
2011-08-19 20:50:11 +02:00
2011-08-19 20:53:06 +02:00
# Why I must write "weechat-curses" to start it?
alias weechat = "weechat-curses"
2011-08-20 13:57:33 +02:00
2011-08-20 19:04:47 +02:00
#NMAP specific. All nmap things should be run as root, so it's probably best to copy these aliases to root's .bashrc. Things which don't run without root ask for sudo password.
2011-08-20 13:57:33 +02:00
alias nmap-intense= "nmap -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 "
2011-08-20 18:57:25 +02:00
alias nmap-intense-udp= "sudo nmap -sS -sU -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 "
2011-08-20 13:57:33 +02:00
alias nmap-intense-all-tcp= "nmap -p 1-65535 -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 "
alias nmap-intense-no-ping= "nmap -T4 -A -v -PN "
alias nmap-ping= "nmap -sP -PE -PA21,23,80,3389 "
alias nmap-quick= "nmap -T4 -F "
2011-08-20 18:57:25 +02:00
alias nmap-quick-plus= "sudo nmap -sV -T4 -O -F --version-light "
alias nmap-traceroute= "sudo nmap -sP -PE -PS22,25,80 -PA21,23,80,3389 -PU -PO --traceroute "
2011-08-20 13:57:33 +02:00
alias nmap-regular= "nmap "
2011-08-20 18:57:25 +02:00
alias nmap-comprehensive= "sudo nmap -sS -sU -T4 -A -v -PE -PP -PS21,22,23,25,80,113,31339 -PA80,113,443,10042 -PO --script all "
2011-08-25 19:11:07 +02:00
alias ping = "nping "
alias netcat = "ncat "
# More nmap specific things, but these also require proxychains. WANTED: better abreviation (than pc) for proxyc.
alias proxyc-nmap-intense= "proxychains nmap -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 "
alias proxyc-nmap-intense-udp= "sudo proxychains nmap -sS -sU -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 "
alias proxyc-nmap-intense-all-tcp= "proxychains nmap -p 1-65535 -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 "
alias proxyc-nmap-intense-no-ping= "proxychains nmap -T4 -A -v -PN "
alias proxyc-nmap-ping= "proxychains nmap -sP -PE -PA21,23,80,3389 "
alias proxyc-nmap-quick= "proxychains nmap -T4 -F "
alias proxyc-nmap-quick-plus= "sudo proxychains nmap -sV -T4 -O -F --version-light "
alias proxyc-nmap-traceroute= "sudo proxychains nmap -sP -PE -PS22,25,80 -PA21,23,80,3389 -PU -PO --traceroute "
alias proxyc-nmap-regular= "proxychains nmap "
alias proxyc-nmap-comprehensive= "sudo proxychains nmap -sS -sU -T4 -A -v -PE -PP -PS21,22,23,25,80,113,31339 -PA80,113,443,10042 -PO --script all "
alias proxyc-nmap= "proxychains nmap"
alias proxyc-nmapfe= "proxychains nmapfe"
alias proxyc-ping= "nmap nping "
alias proxyc-netcat= "nmap ncat "
2011-08-27 17:08:47 +02:00
# TOR (The Onion Router) specific.
alias usewithtor = "proxychains "
alias torsocks = "proxychains "
2011-09-02 16:41:23 +02:00
# Because I have so many proxyc aliasses and some people want to access proxychains quickly.
alias proxyc = "proxychains "