403Webshell
Server IP : www.new.bangkokfinder.com  /  Your IP : 162.158.106.112
Web Server : nginx/1.20.1
System : Linux new 4.15.0-159-generic #167-Ubuntu SMP Tue Sep 21 08:55:05 UTC 2021 x86_64
User : bangkokfinder ( 1000)
PHP Version : 7.4.33
Disable Function : 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,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  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/datadog-signing-keys.postinst
#!/bin/sh
# Unless explicitly stated otherwise all files in this repository are licensed
# under the Apache License Version 2.0.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2021-present Datadog, Inc.

# We don't want the package to own this file, as the file it should stay on
# the system even if the user (accidentally) removes the package, e.g. during
# a switch from datadog-agent to datadog-iot-agent.
# NOTE: it's important that the name of this file stays the same across this
# package and all installation methods. This ensures that installing this
# package always overwrites the file instead of dropping another file
# in the same dir.
KEYRING_FILE_NAME=datadog-archive-keyring.gpg
TRUSTED_GPG_D_KEYRING=/etc/apt/trusted.gpg.d/${KEYRING_FILE_NAME}
USR_SHARE_KEYRING=/usr/share/keyrings/${KEYRING_FILE_NAME}
DEBSIG_KEYRINGS=/usr/share/debsig/keyrings

KNOWN_DISTRIBUTION="(Debian|Ubuntu)"
DISTRIBUTION=$(lsb_release -d 2>/dev/null | grep -Eo $KNOWN_DISTRIBUTION  || grep -Eo $KNOWN_DISTRIBUTION /etc/issue 2>/dev/null || grep -m1 -Eo $KNOWN_DISTRIBUTION /etc/os-release 2>/dev/null || uname -s)

USE_TRUSTED_GPG_D=true
DISTRIBUTION_VERSION=$(. /etc/os-release && echo "${VERSION_ID}" | tr "." " " | awk '{ print $1 }')

if { [ "${DISTRIBUTION}" = "Debian" ] && [ "${DISTRIBUTION_VERSION}" -ge "9" ]; } || { [ "${DISTRIBUTION}" = "Ubuntu" ] && [ "${DISTRIBUTION_VERSION}" -ge "16" ]; } ; then
    USE_TRUSTED_GPG_D=false
fi

# Always create our keyring at /usr/share/keyring, because the sources list
# will always point there, even on systems that don't recognize it - and
# things would break if the system got updated to a version that does
# recognize it.
if [ ! -f ${USR_SHARE_KEYRING} ]; then
    touch ${USR_SHARE_KEYRING}
fi
chmod a+r ${USR_SHARE_KEYRING}

# We don't carry the keyring as a complete file; if users added different keys
# to a keyring (perhaps newly rotated keys), we don't want to overwrite these.
for key in 33EE313BAD9589B7 4B4593018387EEAF; do
    cat "${DEBSIG_KEYRINGS}/${key}/debsig.gpg" | gpg -q --no-default-keyring --keyring ${USR_SHARE_KEYRING} --import --batch
done

if [ "${USE_TRUSTED_GPG_D}" = "true" ] ; then
    cp -a ${USR_SHARE_KEYRING} ${TRUSTED_GPG_D_KEYRING}
fi

exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit