Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.144.110.198
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
nehu /
hdfc /
[ HOME SHELL ]
Name
Size
Permission
Action
Crypto.php
1.99
KB
-rwxr-xr-x
HDFCAPI.php
2.42
KB
-rw-r--r--
Status_API_NEW.php
16.35
KB
-rw-r--r--
ccavRequestHandler.php
6.35
KB
-rwxr-xr-x
ccavRequestHandler.php~
978
B
-rwxr-xr-x
ccavRequestHandler_bf_exam_200...
3.51
KB
-rwxr-xr-x
ccavResponseHandler.php
19.83
KB
-rwxr-xr-x
ccavResponseHandler.php~
1.41
KB
-rwxr-xr-x
ccavResponseHandler_bf_exam_20...
9.82
KB
-rwxr-xr-x
ccavResponseHandler_new.php
1.46
KB
-rwxr-xr-x
ccavStatusAPI.php
221
B
-rw-r--r--
dataFrom.htm
19.25
KB
-rwxr-xr-x
dataFrom.htm~
19.01
KB
-rwxr-xr-x
exam_hdfc_order_api.php
22.84
KB
-rwxr-xr-x
exam_hdfc_order_api2.php
12.95
KB
-rw-r--r--
from.html
644
B
-rwxr-xr-x
hdfc_order_api.php
2.77
KB
-rwxr-xr-x
hdfc_req.php
3.38
KB
-rwxr-xr-x
jquery-1.7.2.min.js
92.62
KB
-rwxr-xr-x
json.js
3.27
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : HDFCAPI.php
<?php function getAPIRes($working_key,$access_code,$order) { $merchant_data=''; $url = "https://api.ccavenue.com/apis/servlet/DoWebTrans?"; $orderid = json_encode(array("order_no"=>$order)); $encrypted_data=encrypt($orderid,$working_key); $merchant_json_data = array( 'order_no' => $order ); $merchant_data = json_encode($merchant_json_data); $encrypted_data = encrypt($merchant_data, $working_key); $body ="enc_request={$encrypted_data}&access_code={$access_code}&command=orderStatusTracker&request_type=JSON&response_type=JSON&version=1.2"; $ch = curl_init(); curl_setopt( $ch,CURLOPT_URL, $url); curl_setopt( $ch,CURLOPT_POST, true ); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt( $ch,CURLOPT_POSTFIELDS, $body ); $result = curl_exec($ch); curl_close($ch); $status = []; $information = explode('&', trim($result)); $dataSize = sizeof($information); for ($i = 0; $i < $dataSize; $i++) { $info_value = explode('=', trim($information[$i])); if ($info_value[0] == 'enc_response') { $status = decrypt(trim($info_value[1]), $working_key); } } return trim($status); } function encrypt($plainText,$key) { $key = hextobin(md5($key)); $initVector = pack("C*", 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f); $openMode = openssl_encrypt($plainText, 'AES-128-CBC', $key, OPENSSL_RAW_DATA, $initVector); $encryptedText = bin2hex($openMode); return $encryptedText; } function decrypt($encryptedText,$key) { $key = hextobin(md5($key)); $initVector = pack("C*", 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f); $encryptedText = hextobin($encryptedText); $decryptedText = openssl_decrypt($encryptedText, 'AES-128-CBC', $key, OPENSSL_RAW_DATA, $initVector); return $decryptedText; } //********** Hexadecimal to Binary function for php 4.0 version ******** function hextobin($hexString) { $length = strlen($hexString); $binString=""; $count=0; while($count<$length) { $subString =substr($hexString,$count,2); $packedString = pack("H*",$subString); if ($count==0) { $binString=$packedString; } else { $binString.=$packedString; } $count+=2; } return $binString; } ?>
Close