mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 21:24:34 +00:00
Fix ip-show alias
This commit is contained in:
parent
8a094ddd03
commit
f64d19182b
|
@ -109,7 +109,7 @@ alias grep_mac='grep -E `reg_mac`'
|
||||||
alias massgrep='grep -RHIni'
|
alias massgrep='grep -RHIni'
|
||||||
|
|
||||||
# Network
|
# Network
|
||||||
alias ip-info='curl https://ipinfo.io/json' # Show public IP info (IP,region,country,timezone,...)
|
alias ip-show='curl https://api.ipify.org' # Get global IP address
|
||||||
alias ips="ifconfig -a | grep -oE \"inet6? (addr:)?s?\`reg_ip\`\" | awk '{ sub(/inet6? (addr:)? ?/, \"\"); print }'"
|
alias ips="ifconfig -a | grep -oE \"inet6? (addr:)?s?\`reg_ip\`\" | awk '{ sub(/inet6? (addr:)? ?/, \"\"); print }'"
|
||||||
alias lan-device-scan='nmap -T5 -sP 192.168.0.0-255'
|
alias lan-device-scan='nmap -T5 -sP 192.168.0.0-255'
|
||||||
alias lan-vuln-scan='nmap -sT -O --script vuln 192.168.0.0-255'
|
alias lan-vuln-scan='nmap -sT -O --script vuln 192.168.0.0-255'
|
||||||
|
|
Loading…
Reference in a new issue