PATH:
home
/
centosnipponia
/
public_html
/
wh
<?php //ayto mporeis na to trexeis gia na steileis kapoio epeigon //$to = 'ediwarehouse@molcargo.com, info@trade-traffic.com, vtzimpl@yahoo.gr, vgorgolis@nipponia.com'; $to = 'vtzimpl@yahoo.gr'; $from = 'wh@trade-traffic.com'; $fromName = 'Trade and Traffic'; $subject = 'Automated mail extra deliveries not sent with the deliveries until '.$today_midnight_mysql; $file = '2022_01_17_14503.csv'; //edo xera to arxeio $htmlContent = ' <h3>Trade and Traffic deliveries</h3> <p>If something needs clarification please contact Trade and Traffic at info@trade-traffic.com.</p> <h2>Do not reply to this mail</h2> '; // Header for sender info $headers = "From: $fromName"." <".$from.">"; // Boundary $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; // Headers for attachment $headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\""; // Multipart boundary $message = "--{$mime_boundary}\n" . "Content-Type: text/html; charset=\"UTF-8\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $htmlContent . "\n\n"; // Preparing attachment if(!empty($file) > 0){ if(is_file($file)){ $message .= "--{$mime_boundary}\n"; $fp = @fopen($file,"rb"); $data = @fread($fp,filesize($file)); @fclose($fp); $data = chunk_split(base64_encode($data)); $message .= "Content-Type: application/octet-stream; name=\"".basename($file)."\"\n" . "Content-Description: ".basename($file)."\n" . "Content-Disposition: attachment;\n" . " filename=\"".basename($file)."\"; size=".filesize($file).";\n" . "Content-Transfer-Encoding: base64\n\n" . $data . "\n\n"; } } $message .= "--{$mime_boundary}--"; $returnpath = "-f" . $from; // Send email $mail = @mail($to, $subject, $message, $headers, $returnpath); // Email sending status //echo $mail?"<h1>Email Sent Successfully!</h1>":"<h1>Email sending failed.</h1>"; ?>
[+]
..
[+]
ediwarehousebot
[+]
2
[-] style.css
[edit]
[-] config.php
[edit]
[-] test1.php
[edit]
[-] t1.php
[edit]
[-] header.php
[edit]
[-] ml.php-an theloume na to steiloyme mono toy
[edit]
[+]
vendor
[-] headerpending.php
[edit]
[-] error_log
[edit]
[-] pending.php
[edit]
[-] delivered.php
[edit]
[-] 2.php
[edit]
[-] script.js
[edit]
[-] headerdelivered.php
[edit]
[-] 3.php
[edit]
[+]
old
[+]
cgi-bin
[+]
.well-known
[+]
E3
[+]
drage
[+]
f7
[+]
eviball
[+]
capetown
[+]
eurostock
[+]
2fast
[+]
biq
[+]
cite
[+]
ilark
[+]
pride
[+]
dragb
[+]
itank
[-] sql_command_import_capetown.php
[edit]
[+]
itango
[+]
sales_rd
[+]
rd
[+]
one
[-] jSignature-master.zip
[edit]
[+]
jsi
[+]
nce
[-] sales_rd.zip
[edit]
[+]
RrVFn0it5f
[-] wap.php
[edit]
[-] index.php
[edit]
[-] products.php
[edit]
[-] detail.php
[edit]
[-] .htaccess.disabled
[edit]
[-] 1.php.quarantine
[edit]