⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
psa
/
admin
/
sbin
/
modules
/
git
/
View File Name :
git-helper
#!/bin/bash # Copyright 1999-2023. Plesk International GmbH. All rights reserved. PN=$(basename $0) die () { echo "$@" 1>&2; exit 1 } usage() { cat << EOT Usage: $PN
[
...] Execute git command with user rights in selected working directory EOT } if [ "$#" -le 3 ]; then usage exit 1 fi username="$1" if ! id "$username" >/dev/null 2>&1; then die "Unknown user $username" fi shift workdir="$1" shift git_cmd=$(command -v git) if [ "$?" != "0" ]; then die "Command git does not found" fi export PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin" export GIT_SSH="/usr/local/psa/admin/sbin/modules/git/git_ssh" export GIT_SSH_VARIANT=ssh export PRESERVE_ENV="GIT_SSH,GIT_ASKPASS,GIT_PASS" HOME=$(eval echo ~"$username") export HOME umask 022 /usr/local/psa/admin/sbin/filemng "$username" exec "$workdir" "$git_cmd" "$@"