mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-01 15:59:22 +01:00
bashrc & zshrc & warnings: Don't use nping as ping.
This commit is contained in:
parent
db0f18e0f4
commit
4e64c3043a
2
bashrc
2
bashrc
@ -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 "
|
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.
|
# 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 nmap-osscan="sudo nmap -p 80,443 -O -v --osscan-guess --fuzzy "
|
||||||
alias ping="nping "
|
|
||||||
alias ping6="nping -6"
|
|
||||||
alias netcat="ncat "
|
alias netcat="ncat "
|
||||||
|
|
||||||
# Tor (The Onion Router) specific.
|
# Tor (The Onion Router) specific.
|
||||||
|
1
warnings
1
warnings
@ -4,7 +4,6 @@ command -v \htop >/dev/null 2>&1 || { echo >&2 "WARNING: htop isn't installed! Y
|
|||||||
unalias youtube-dl
|
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.
|
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"
|
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 \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 \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."; }
|
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
2
zshrc
@ -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 "
|
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.
|
# 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 nmap-osscan="sudo nmap -p 80,443 -O -v --osscan-guess --fuzzy "
|
||||||
alias ping="nping "
|
|
||||||
alias ping6="nping -6"
|
|
||||||
alias netcat="ncat "
|
alias netcat="ncat "
|
||||||
|
|
||||||
# Tor (The Onion Router) specific.
|
# Tor (The Onion Router) specific.
|
||||||
|
Loading…
Reference in New Issue
Block a user