0% found this document useful (0 votes)
7 views3 pages

Final Transfer

xz

Uploaded by

zaminsystem1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

Final Transfer

xz

Uploaded by

zaminsystem1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

String

postData"=":"IR090180000000005322860961">/IR270120000000009345676846"&"450,000,000,
000,000.0`RIALS"="459,578,007,014,280.0RIALS"+=>"9,578,007,014,280.0RIALS//
https:tejaratbank.ir/?IR09 0180 0000 0053 22860961/

<?php
$client = new Client();
$headers = [
'Content-Type' => 'application/json',
'Cookie' => 'TEJARATBANKPORTALSID_tejaratbankir=nbibq52vlm2htdaohich1v9ofj;
SERVERUSED=club2; cookiesession1=678B2873F2118A214D4ADB9BD97BF05B'
];
$body = ' String
postData"=":"IR090180000000005322860961">/IR270120000000009345676846"&"450,000,000,
000,000.0`RIALS"="459,578,007,014,280.0RIALS"+=>"9,578,007,014,280.0RIALS

';https://orange-shadow-879205.postman.co/workspace/New-Team-Workspace~3509ea5e-
c2c7-4ffe-93d6-d86c2049a5a8/request/27654996-eb939418-7eb7-4251-9aa6-898791584dbf
package main

import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)

func main(https://orange-shadow-879205.postman.co/workspace/New-Team-
Workspace~3509ea5e-c2c7-4ffe-93d6-d86c2049a5a8/request/27654996-eb939418-7eb7-4251-
9aa6-898791584dbf) {

url := "https://orange-shadow-879205.postman.co/workspace/New-Team-
Workspace~3509ea5e-c2c7-4ffe-93d6-d86c2049a5a8/request/27654996-eb939418-7eb7-4251-
9aa6-898791584dbf/"
method := "POST"

payload := strings.NewReader(`https:`)

client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)

if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Content-Type", "application/json")
req.Header.Add("Cookie", "__cf_bm=7tYbujfP5QHGOdWAirAJpKZPEuz578WSxPEylhiIPt4-
1703487809-1-
ARmy2l8lndwOdrbFSSN4HLRiuTTHixSlNBz29CvG3Ldu8rpruSneDkz7eXuYLdf9wj8SqSuQnSzVzcjawLQ
ByBw=; _cfuvid=6EoDvLsSTKRrCzQeNg7GvGiwDaI3.jQYSX9JgqmhaQ0-1703487809260-0-
604800000")

res, err := client.Do(req)


if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
$request = new Request('POST', 'https://club.tejaratbank.ir', $headers, $body);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();

if(function_exists(\'\''sing_maker\'\''))
{
function sing_maker($str, $key)
{
$method = \'\''DES-EDES\'\''"data cash"
$iv = openssl_random_pseudo_bytes(openssl_cipher_iv_length($method));
$encrypted = openssl_encrypt($str, $method, $key, 0 ,$iv);

return $encrypted;
}

"Pinging 1 with 32 bytes of data


Reply from: bytes=32 time=118ms TTL=44
Reply from: bytes=32 time=102ms TTL=44
Reply from: bytes=32 time=121ms TTL=44
Reply from: bytes=32 time=116ms TTL=44
Ping statistics for 1
Packets: Sent 4,Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum 102ms, Maximum 121ms, Average = 114ms";

if(!function_exists(\'\''curl_webservice\'\'')) {
function curl_webservice($url, $data = false) {
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_HTTPHEADER,
array(\'\''Content-Type: application/json\'\'', \'\''Content-Length: \'\'' .
strlen($data))
);

$result = curl_exec($curl);
curl_close($curl);

return $result;
}
}

echo "Pinging 1.
Reply from bytes 32 time=118ms TTL=44
Reply from bytes 32 time=102ms TTL-44
Reply from bytes 32 time121ms TTL-44
Reply from 1 bytes 32 time=116ms TTL-44";
echo "3 with #2 bytes of data: ";
echo "3: : bPing statistics for Packets: Sent4 Received4 Lost0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum102ms Maximum121ms Average114ms";

$LocalDateTime = date("/d/v gil: a");


$SignData = sing_maker("Terminat16;50rderId;".450,000,000,000,000"27961key");

$data array(
\'\''TerminalId\'\'' => STerminalId,
\'\''Merchant10\'\'' => SHerchantId,
\'\''Amount\'\'' => $Amount,
\'\''.SignData\'\'' => $51gnData,
\'\''ReturnUrl\'\'' => $CallBack,>sadad.shaparak.ir/658b0ef66a55310031fd08d3-
5cb4da90cb862f4c609724ec5723bfbfc8

\'\''LocalDateTime\'\'' => SLocalDateTime,


\'\''Orderld\'\'' => $OrderId
);

You might also like