Fix ip-show alias

This commit is contained in:
ItsDrike 2021-07-06 17:28:51 +02:00
parent 8a094ddd03
commit f64d19182b
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -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'