From e4f55efc5d07ae1c81611ffb5746e5946f0bedbc Mon Sep 17 00:00:00 2001 From: Jesse Portnoy Date: Tue, 25 Jul 2023 18:33:21 +0100 Subject: [PATCH] support netstat and nmap --- utils/functions.rc | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/utils/functions.rc b/utils/functions.rc index 008f30f..df75e15 100644 --- a/utils/functions.rc +++ b/utils/functions.rc @@ -59,7 +59,25 @@ if which zaje > /dev/null 2>&1 ;then traceroute() { BIN="traceroute" - $(which $BIN) "$@" | zaje -l $BIN - + $(which $BIN) "$@" | zaje -l $BIN + } + + nmap() + { + BIN="nmap" + $(which $BIN) "$@" | zaje -l $BIN + } + + netstat() + { + BIN="netstat" + $(which $BIN) "$@" | zaje -l $BIN + } + + ss() + { + BIN="ss" + $(which $BIN) "$@" | zaje } df()