ROOTPLOIT
Server: nginx/1.18.0
System: Linux snslocalproxy 6.8.0-149-generic #149~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 28 20:58:45 UTC x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //snap/docker/3613/bin/system-detection
#!/bin/bash -u
# Detect if nvidia support enabled, and available, for a system type #

. "${SNAP}/usr/share/nvidia-container-toolkit/lib"

# Just exit if NVIDIA support is disabled #
if nvidia_support_disabled; then
    exit_inf "NVIDIA support disabled by user"
fi

if nvidia_support_classic; then
    echo "Running on Classic system"
elif nvidia_support_core; then
    echo "Running on Ubuntu Core system"
else
    exit_inf "No NVIDIA support detected. For NVIDIA support, please refer to https://github.com/canonical/docker-snap"
fi

## Running gpu-2404 wrapper for Core systems only ##

# Classic does not require this wrapper #
if nvidia_support_classic; then
    exec "$@"
fi

if nvidia_support_core; then
    if snapctl is-connected gpu-2404; then
        exec "${SNAP}/gpu-2404/bin/gpu-2404-provider-wrapper" "$@"
    fi

    # Core 22 does not require this wrapper #
    if snapctl is-connected graphics-core22  ; then
        exec "$@"
    fi

    exit_inf "GPU user-space content provider not connected."
fi