mirror of
https://github.com/hackerschoice/thc-tips-tricks-hacks-cheat-sheet.git
synced 2026-02-12 13:22:48 +00:00
update: cat /proc/net/arp when arp bin is not available
This commit is contained in:
@@ -396,7 +396,7 @@ else
|
||||
netstat -in 2>/dev/null
|
||||
}
|
||||
echo -e "${CB}>>>>> ARP table${CN}"
|
||||
command -v arp >/dev/null && arp -an 2>/dev/null | COL
|
||||
{ command -v arp >/dev/null && arp -an 2>/dev/null || cat /proc/net/arp; } | COL
|
||||
fi
|
||||
|
||||
command -v netstat >/dev/null && {
|
||||
|
||||
Reference in New Issue
Block a user