From 4ae4fc5e078f72c55e0e8b6cff2cf3e5c96ad153 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Fri, 22 Aug 2025 03:43:50 +0200 Subject: [PATCH] Sanitarise input --- bin/ssh-proxy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ssh-proxy b/bin/ssh-proxy index 556eff3..ee5d0c2 100755 --- a/bin/ssh-proxy +++ b/bin/ssh-proxy @@ -29,7 +29,7 @@ case ${1} in exit 1 ;; esac -if [ "${2}" == "" ]; then +if [ "${2}" == "" ] || [[ "${2}" == */* ]]; then showHelp exit 1 fi