mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-04-24 13:34:56 +00:00
Fix potential command injection in test script
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
@@ -14,12 +14,12 @@ if command -v busybox >/dev/null 2>&1; then
|
||||
echo ""
|
||||
echo "BusyBox location:"
|
||||
which busybox
|
||||
ls -lh $(which busybox)
|
||||
ls -lh "$(which busybox)"
|
||||
echo ""
|
||||
echo "Shell (/bin/sh) is BusyBox:"
|
||||
ls -lh /bin/sh
|
||||
if [ -L /bin/sh ]; then
|
||||
echo " → /bin/sh is a symlink to: $(readlink /bin/sh)"
|
||||
echo " → /bin/sh is a symlink to: \"$(readlink /bin/sh)\""
|
||||
fi
|
||||
echo ""
|
||||
echo "Available BusyBox applets (sample):"
|
||||
|
||||
Reference in New Issue
Block a user