bashrc & zshrc & warnings: Don't use nping as ping.

This commit is contained in:
Mika Suomalainen 2012-07-31 14:57:46 +03:00
parent db0f18e0f4
commit 4e64c3043a
3 changed files with 0 additions and 5 deletions

2
bashrc
View File

@ -217,8 +217,6 @@ alias nmap-regular="nmap "
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 "
# Little "safer" scan as connecting to only HTTP and HTTPS ports doesn't look so attacking. Copy-paste to .bash_custom and remove " -p 80,443" if you want to scan all ports which nmap scans by default.
alias nmap-osscan="sudo nmap -p 80,443 -O -v --osscan-guess --fuzzy "
alias ping="nping "
alias ping6="nping -6"
alias netcat="ncat "
# Tor (The Onion Router) specific.

View File

@ -4,7 +4,6 @@ command -v \htop >/dev/null 2>&1 || { echo >&2 "WARNING: htop isn't installed! Y
unalias youtube-dl
command -v \youtube-dl >/dev/null 2>&1 || { echo >&2 "WARNING: youtube-dl isn't installed! You should install it, because it's used as youtube-dl. What am I writing? Install it for fun"; } # Expect this to be removed in near future.
alias youtube-dl="youtube-dl -t"
command -v \nping >/dev/null 2>&1 || { echo >&2 "WARNING: nping isn't installed! You should install it, because it's used as ping."; }
command -v \aptitude >/dev/null 2>&1 || { echo >&2 "WARNING: aptitude isn't installed! You should install it, because it's used as apt-get"; }
command -v \gpg2 >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg2 isn't installed! You should install it, because it's used as gpg."; }
command -v \lynx >/dev/null 2>&1 || { echo >&2 "WARNING: lynx isn't installed! You should install it, because it's used by many functions."; }

2
zshrc
View File

@ -141,8 +141,6 @@ alias nmap-regular="nmap "
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 "
# Little "safer" scan as connecting to only HTTP and HTTPS ports doesn't look so attacking. Copy-paste to .zsh_custom and remove " -p 80,443" if you want to scan all ports which nmap scans by default.
alias nmap-osscan="sudo nmap -p 80,443 -O -v --osscan-guess --fuzzy "
alias ping="nping "
alias ping6="nping -6"
alias netcat="ncat "
# Tor (The Onion Router) specific.