mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 13:14:35 +00:00
Update aliases
This commit is contained in:
parent
760acec4f0
commit
9110615621
|
@ -104,6 +104,7 @@ alias iptlistfw='iptables -L FORWARD -n -v --line-numbers' # FORWARD rules
|
||||||
alias ip-show='curl https://ipinfo.io/ip' # Show public IP address
|
alias ip-show='curl https://ipinfo.io/ip' # Show public IP address
|
||||||
alias ip-info='curl https://ipinfo.io/json' # Show public IP info (IP,region,country,timezone,...)
|
alias ip-info='curl https://ipinfo.io/json' # Show public IP info (IP,region,country,timezone,...)
|
||||||
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 mac="ip link show | grep_mac"
|
||||||
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'
|
||||||
alias ports='netstat -tulanp'
|
alias ports='netstat -tulanp'
|
||||||
|
|
Loading…
Reference in a new issue