mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Update aliases
This commit is contained in:
parent
5d25d5444f
commit
e9a67fe4b5
|
@ -104,7 +104,6 @@ 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