Skip to content

Commit

Permalink
support netstat and nmap
Browse files Browse the repository at this point in the history
  • Loading branch information
jessp01 committed Jul 25, 2023
1 parent 87d5e0b commit e4f55ef
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion utils/functions.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e4f55ef

Please sign in to comment.