mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 20:54:34 +00:00
Use ifconfig.me instead of ifconfig.co for ip obtaining
This commit is contained in:
parent
8767fdf367
commit
681427ad9a
|
@ -125,7 +125,7 @@ alias grep_mac='grep -E `reg_mac`'
|
||||||
alias massgrep='grep -RHIni'
|
alias massgrep='grep -RHIni'
|
||||||
|
|
||||||
# Network
|
# Network
|
||||||
alias ip-show='curl https://ifconfig.co' # Get global IP address
|
alias ip-show='curl https://ifconfig.me' # 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