!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/local/wp/utils/   drwxr-xr-x
Free 712.39 GB of 879.6 GB (80.99%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     auto-composer-update.sh (980 B)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/bash

###
# Runs composer update, commits changes to a new branch,
# and creates a pull request.
#
# Requires git, composer, and hub
###

date

if [ -z "$WP_CLI_DIR" ]; then
	echo 'Please set $WP_CLI_DIR'
	exit 1
fi

set -ex

cd $WP_CLI_DIR

# Reset WP-CLI directory to baseline
git checkout -f master
git pull origin master
composer install
# Run composer update and capture to untracked log file
composer update --no-progress --no-interaction |& tee vendor/update.log
UPDATE=$(cat vendor/update.log | col -b)

# We only care to proceed when there are changes
if [ -z "$(git status -s)" ]; then
	echo 'No updates available'
	exit 0;
fi

# Create a dated branch and commit the changes
DATE=$(date +%Y-%m-%d)
BRANCH="update-deps-$DATE"
git branch -f $BRANCH master
git checkout $BRANCH
git add .
MESSAGE="Update Composer dependencies ($DATE)

\`\`\`
$UPDATE
\`\`\`"
git commit -n -m "$MESSAGE"

# Push and pull request
git push origin $BRANCH
hub pull-request -m "$MESSAGE"

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.025 ]--