Uname:Linux ip-11-115-0-196 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 10:54:48 UTC 2025 x86_64

403WebShell
403Webshell
Server IP : 13.126.101.145  /  Your IP : 216.73.217.50
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ip-11-115-0-196 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 10:54:48 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.3.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/rentals_updated/wp-content/themes/hello-elementor-child/custom/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/rentals_updated/wp-content/themes/hello-elementor-child/custom/sapapi.php
<?php
// Dynamic data
// Function to send data to another server
// Generated @ codebeautify.org
$ch = curl_init();
$data = array(
	"CustomerName" => $full_name,
	"CustomerPhone" => $lead_phone,
	"RmsCustomerId" => (string)$lastid,
	"Status" => array(new ArrayObject())
);
$enc = json_encode($data);	
curl_setopt($ch, CURLOPT_URL, 'https://13.127.42.162:442/igwj/odata/SAP/YRMS_CUSTOMER_STATUS_SRV/HeaderSet');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $enc);

$headers = array();
$headers[] = 'X-Csrf-Token: '.$token;
$headers[] = 'Content-Type: application/json';
$headers[] = 'Accept: application/json';
$headers[] = 'Authorization: Basic '. base64_encode("odata_gpq:GmmcoGPQ@123");

$headers[] = $cookies;
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
// Enable verbose output to help with debugging (optional)
curl_setopt($ch, CURLOPT_VERBOSE, true);
$verbose = fopen('php://temp', 'w+');
curl_setopt($ch, CURLOPT_STDERR, $verbose);
$response = curl_exec($ch);
if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
}
curl_close($ch);
header("Content-Type:application/json");
$data = file_get_contents('php://input');
$ecode = json_encode($response);
$exp = explode("HttpOnly",$response);
ltrim($exp[1],' ');
//print_r($exp[1]);
$decode = json_decode($exp[1],true);

Youez - 2016 - github.com/yon3zu
LinuXploit