403Webshell
Server IP : 172.67.156.203  /  Your IP : 216.73.216.44
Web Server : Apache
System : Linux gator4057.hostgator.com 5.14.0-687.17.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jun 22 07:21:26 EDT 2026 x86_64
User : badawi ( 1130)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/usr/libexec/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/usr/libexec//iscsi-mark-root-nodes
#!/usr/bin/bash

ISCSIADM=/usr/sbin/iscsiadm
start_iscsid=0
start_iscsiuio=0

while read t num p target flash; do
  # strip tag number from portal, keep "ip:port"
  portal=${p%,*}
  transport=${t%:}

  # use session number to find the iface name in use
  num=${num#[}; num=${num%]}
  iface=$(iscsiadm -m session -r $num | grep iface.iscsi_ifacename | cut -d= -f2)

  $ISCSIADM -m node -p $portal -T $target -I $iface -o update -n node.startup -v onboot

  start_iscsid=1

  if [ "$transport" = bnx2i ] || [ "$transport" = qedi ]; then
    start_iscsiuio=1
  fi
done < <( $ISCSIADM -m session )

# force iscsid and iscsiuio to start if needed for
# recovering sessions created in the initrd

if [ "$start_iscsid" -eq 1 ]; then
  systemctl --no-block start iscsid.service
fi
if [ "$start_iscsiuio" -eq 1 ]; then
  systemctl --no-block start iscsiuio.service
fi


Youez - 2016 - github.com/yon3zu
LinuXploit