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.113.24
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 /
gsc /
[ HOME SHELL ]
Name
Size
Permission
Action
ExcelWriterXML
[ DIR ]
drwxr-xr-x
Excel_Writer
[ DIR ]
drwxr-xr-x
Excel_reader
[ DIR ]
drwxr-xr-x
JQGrid3.5
[ DIR ]
drwxr-xr-x
Report_details
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
custom_js
[ DIR ]
drwxr-xr-x
custom_src
[ DIR ]
drwxr-xr-x
easy_zip
[ DIR ]
drwxr-xr-x
grid_display_files
[ DIR ]
drwxr-xr-x
halltickets
[ DIR ]
drwxrwxrwx
html_modules
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
imported_files
[ DIR ]
drwxrwxrwx
js
[ DIR ]
drwxr-xr-x
libs
[ DIR ]
drwxr-xr-x
maya-pdf
[ DIR ]
drwxr-xr-x
misc_files
[ DIR ]
drwxrwxrwx
schema
[ DIR ]
drwxr-xr-x
src
[ DIR ]
drwxr-xr-x
student_photos
[ DIR ]
drwxrwxrwx
tarka_pdf
[ DIR ]
drwxr-xr-x
tarka_pdf_latest
[ DIR ]
drwxr-xr-x
tcpdf
[ DIR ]
drwxr-xr-x
teacher_photos
[ DIR ]
drwxrwxrwx
tmpphotos
[ DIR ]
drwxrwxrwx
MainPage.html
11.53
KB
-rwxr-xr-x
MainPagepopup.html
7.05
KB
-rwxr-xr-x
app.php
416
B
-rwxr-xr-x
cconfig.php
938
B
-rwxr-xr-x
cconfig_old.php
1.13
KB
-rwxr-xr-x
collegeInfoPopup.html
3.75
KB
-rwxr-xr-x
home_admin.html
7.32
KB
-rwxr-xr-x
homepage.html
3.05
KB
-rwxr-xr-x
index.php
80
B
-rwxr-xr-x
index_stop.html
6.93
KB
-rwxr-xr-x
indexlogin.html
5.72
KB
-rwxr-xr-x
postoffice.php
4.35
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : postoffice.php
<?php ini_set('max_execution_time', 600); $servername = "logisys.cluster-cv9maxyrxjgg.ap-south-1.rds.amazonaws.com"; $username = "admin"; $password = "Logisys2104"; $dbname = "logisys3_gsc"; /*$servername = "localhost"; $username = "root"; $password = ""; $dbname = "resultsg_kus";*/ $conn = new mysqli($servername, $username, $password, $dbname); $fappno = $_GET['fappno']; $query = "select ac.appno, ac.fregno, ac.FPAYMENTSTATUS, ac.FPAYGATEWAY, FPAYMENTYPE as fname, ac.FDATE, ac.fcollcode, ac.fdegree from appcandsum ac where ac.appno = '{$fappno}'"; //var_dump($query); die(); $resultm = $conn->query($query); if (mysqli_num_rows($resultm) > 0) { while($row = mysqli_fetch_assoc($resultm)) { $FPAYMENTSTATUS = $row['FPAYMENTSTATUS']; $productinfo = $row['appno']; $regno = $row['fregno']; $paytm = $row['FPAYGATEWAY']; $degree = $row['fdegree']; $collcode = $row['fcollcode']; $fname = $row['fname']; //$firstname = "paytm"; if($FPAYMENTSTATUS == 'success') { echo $regno." - Updated successfully"; die(); } $update="update appcandsum set FPAYMENTREMARKS='{$productinfo}',FPAYMENTSTATUS='success', FPAYMENTCONFIRM='success',FACKDATE=now(),FACKUSER='{$fname}',FPAYGATEWAY = '{$fname}' where APPNO='{$productinfo}'"; $result = $conn->query($update); $update_cand_sum = "UPDATE appcandsum a,candsum c SET c.FEXAMFEEA=if(ifnull(c.FEXAMFEEA,0) <=0,ifnull(a.FEXAMFEEA,0),ifnull(c.FEXAMFEEA,0)), c.FEXAMFEEB=if(ifnull(c.FEXAMFEEB,0) <=0,ifnull(a.FEXAMFEEB,0),ifnull(c.FEXAMFEEB,0)), c.FEXAMFEEC=if(ifnull(c.FEXAMFEEC,0) <=0,ifnull(a.FEXAMFEEC,0),ifnull(c.FEXAMFEEC,0)), c.FEXAMFEED=if(ifnull(c.FEXAMFEED,0) <=0,ifnull(a.FEXAMFEED,0),ifnull(c.FEXAMFEED,0)), c.FEXAMFEEE=if(ifnull(c.FEXAMFEEE,0) <=0,ifnull(a.FEXAMFEEE,0),ifnull(c.FEXAMFEEE,0)), c.FEXAMFEEF=if(ifnull(c.FEXAMFEEF,0) <=0,ifnull(a.FEXAMFEEF,0),ifnull(c.FEXAMFEEF,0)), c.FEXAMFEEG=if(ifnull(c.FEXAMFEEG,0) <=0,ifnull(a.FEXAMFEEG,0),ifnull(c.FEXAMFEEG,0)), c.FEXAMFEEH=if(ifnull(c.FEXAMFEEH,0) <=0,ifnull(a.FEXAMFEEH,0),ifnull(c.FEXAMFEEH,0)), c.FEXAMFEEI=if(ifnull(c.FEXAMFEEI,0) <=0,ifnull(a.FEXAMFEEI,0),ifnull(c.FEXAMFEEI,0)), c.FEXAMFEEJ=if(ifnull(c.FEXAMFEEJ,0) <=0,ifnull(a.FEXAMFEEJ,0),ifnull(c.FEXAMFEEJ,0)), c.FTOTALFEE=a.FTOTALFEE, c.frecptdate = date(now()) WHERE a.fregno=c.FREGNO AND a.APPNO='{$productinfo}' and a.FCOLLCODE='{$collcode}'"; $result = $conn->query($update_cand_sum); $update_cand_appCand = "update canddet c, appcanddet t set c.finserted = t.finserted, c.fpresent = t.fpresent where c.fdegree = t.fdegree and c.fexamno = t.fexamno and c.fregno = t.fregno and c.fsubcode = t.fsubcode and c.fdegree = '{$degree}' and c.fregno = '{$regno}' and t.APPNO='{$productinfo}' and ifnull(c.fpresent,'') <> 'P'"; $result = $conn->query($update_cand_appCand); $insert_canddet ="insert into canddet(fdegree,FEXAMNO, FCOLLCODE, FREGNO, FSUBCODE, FINSERTED, FPRESENT, FYEAR, FEXAMTYPE) select fdegree, FEXAMNO, FCOLLCODE,FREGNO, FSUBCODE,FINSERTED, FPRESENT, FYEAR,FEXAMTYPE from appcanddet where fregno = '{$regno}' and appno ='{$productinfo}' and CONCAT(fdegree,fexamno,fregno,fsubcode) not in(select CONCAT(fdegree,fexamno,fregno,fsubcode) from canddet where fregno = '{$regno}') "; //$lobj_insert_canddet = $aobj_context->mobj_db->Execute($insert_canddet); $result = $conn->query($insert_canddet); $update_studfee = "update studfee s, appstudfee a set s.famount = a.famount, s.flogdate = a.flogdate where s.fdegree = a.fdegree and s.fexamno = a.fexamno and s.fregno = a.fregno and s.ffeecode = a.ffeecode and s.fregno = '{$regno}' and a.appno ='{$productinfo}'"; $result = $conn->query($update_studfee); $insert_studfee = "insert into studfee(fdegree,fexamno,fcollcode,fregno,ffeecode,famount,flogdate) select fdegree,fexamno,fcollcode,fregno,ffeecode,famount,flogdate from appstudfee where fregno = '{$regno}' and appno ='{$productinfo}' and CONCAT(fdegree,fexamno,fregno,ffeecode) not in(select CONCAT(fdegree,fexamno,fregno,ffeecode) from studfee where fdegree = '{$degree}' and fregno = '{$regno}')"; //var_dump($insert_studfee); echo $regno." - Updated successfully"; echo "<br/>"; $result = $conn->query($insert_studfee); } }else { echo "Invalid Application No."; } ?>
Close