diff --git a/hackshell.sh b/hackshell.sh index 7642321..fba35c2 100755 --- a/hackshell.sh +++ b/hackshell.sh @@ -1356,7 +1356,7 @@ lootlight() { local str ls -al "${ROOTFS}"/tmp/ssh-* &>/dev/null && { echo -e "${CB}SSH_AUTH_SOCK${CDY}${CF}" - find "${ROOFS}"/tmp -name 'agent.*' 2>/dev/null | while read -r fn; do + find "${ROOTFS}"/tmp -name 'agent.*' 2>/dev/null | while read -r fn; do unset str command -v lsof >/dev/null && lsof -n "$fn" &>/dev/null && str="[ACTIVE]" echo "$(ls -al "$fn")"$'\t'"${str}"