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.149.24.49
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 /
guk_old /
[ 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
certificates
[ DIR ]
drwxrwxrwx
css
[ DIR ]
drwxr-xr-x
custom_js
[ DIR ]
drwxr-xr-x
custom_src
[ DIR ]
drwxr-xr-x
docs
[ DIR ]
drwxr-xr-x
docverify
[ DIR ]
drwxr-xr-x
easy_zip
[ DIR ]
drwxr-xr-x
grid
[ DIR ]
drwxr-xr-x
grid_display_files
[ DIR ]
drwxr-xr-x
gridsrch
[ DIR ]
drwxr-xr-x
halltickets
[ DIR ]
drwxrwxrwx
html_modules
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
jqGrid4
[ DIR ]
drwxr-xr-x
jqgridn3.5
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
libgd-gd-2.2.3
[ DIR ]
drwxr-xr-x
libs
[ DIR ]
drwxr-xr-x
maya-pdf
[ DIR ]
drwxr-xr-x
popups
[ DIR ]
drwxr-xr-x
results
[ DIR ]
drwxr-xr-x
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.64
KB
-rwxr-xr-x
MainPagepopup.html
7.05
KB
-rwxr-xr-x
SubjectDetailsPopup.js
14.04
KB
-rwxr-xr-x
Thumbs.db
464
KB
-rwxr-xr-x
app.php
416
B
-rwxr-xr-x
candidate_list.html
7.42
KB
-rwxr-xr-x
candidate_list.js
33.92
KB
-rwxr-xr-x
cconfig.php
1.06
KB
-rwxr-xr-x
collegeInfoPopup.html
3.75
KB
-rwxr-xr-x
freeze_module_at_admin_college...
9.74
KB
-rwxr-xr-x
homepage.html
3.05
KB
-rwxr-xr-x
index.html
7.34
KB
-rwxr-xr-x
indexlogin.html
5.76
KB
-rwxr-xr-x
load_mannual_js_files.js
23.28
KB
-rwxr-xr-x
mcverifydet.php
14.83
KB
-rwxr-xr-x
mregistry.php
71.66
KB
-rwxr-xr-x
mverifytranscript.php
14.62
KB
-rwxr-xr-x
report_attendance_summary.php
9.4
KB
-rwxr-xr-x
report_ra_invigilator_dairy.ph...
15.77
KB
-rwxr-xr-x
results.php
28.47
KB
-rwxr-xr-x
room_allotment.php
15.46
KB
-rwxr-xr-x
roomwise_register_nos_list.php
16.81
KB
-rwxr-xr-x
student.php
54.12
KB
-rwxr-xr-x
tarka-safari.css
5.95
KB
-rwxr-xr-x
verification.php
2.68
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : freeze_module_at_admin_college_subject.php
<?php function getFmacasSubjectDetails($aobj_context) { session_start(); $college_code = $_SESSION['collcode']; $user_type = $_SESSION['user_type']; $userid = $_SESSION['user_id']; $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $degree = trim($aobj_context->mobj_data["degree"]); $exam_no = trim($aobj_context->mobj_data["exam_no"]); $query="Select FUNIVCODE,FUNIVNAME,pdf_logo_path,DATE_FORMAT(NOW(),'%d/%m/%Y') as date from control"; $rst = $aobj_context->mobj_db->GetRow($query); $univcode = $rst[FUNIVCODE]; $select_category_cond="select * from markentrycodition"; $cat_cond=''; $lobj_select_category_cond = $aobj_context->mobj_db->GetRow($select_category_cond); if($lobj_select_category_cond['Value']!='0' || $lobj_select_category_cond['Value']!=0) $cat_cond=" and ".$lobj_select_category_cond['Value']; $freezcnd = "and (IFNULL(subject.FINTASS,'F') = 'T' or IFNULL(subject.FSUBSIDARY,'F') = 'T')"; if($univcode == '018' ) $freezcnd = "and ((IFNULL(subject.FINTASS,'F') = 'T' OR IFNULL(subject.FTHEORY,'F') <> 'T') or IFNULL(subject.FSUBSIDARY,'F') = 'T')"; if(strtoupper($_SESSION['usr']) =='ADMIN' || strtoupper($_SESSION['usr']) =='SUPER') { $ltable = 'and 1=1'; } else { $ltable = "inner join usersub us on collia.fdegree = us.fdegree and instr(us.fsubcode,collia.fsubcode) > 0 and collia.fcollcode = us.fcollegecode and us.fuser = '{$userid}'"; } $query = "select subject.FCSUBCODE,concat(subject.fsubname,', ',subject.fssubname) as fsubname,ifnull(ffreezed,'') as ffreezed from subject inner join collia on subject.FDEGREE = collia.fdegree and subject.FEXAMNO = collia.fexamno and subject.FCSUBCODE = collia.fsubcode and collia.fcollcode = '{$college_code}' {$ltable} where subject.fdegree = '{$degree}' and subject.fexamno='{$exam_no}' {$freezcnd}"; $obj_get_details = $aobj_context->mobj_db->GetAll($query); for($m=0;$m<count($obj_get_details);$m++) { $FSUBCODE=$obj_get_details[$m]['FCSUBCODE']; $FSUBNAME=$obj_get_details[$m]['fsubname']; $pos = $obj_get_details[$m]['ffreezed']; $disablefreeze = ''; $disablestatus = ''; $message = ''; $query = "select sum(if(fmarks = -1,1,0)) as markspending, count(marks.fregno) as total_count from marks, student where marks.fcollcode = student.fcollcode AND marks.fdegree = student.fdegree AND marks.fregno = student.fregno and marks.fcollcode='{$college_code}' and marks.fdegree = '{$degree}' and marks.FEXAMNO ='{$exam_no}' and marks.FSUBCODE='{$FSUBCODE}'"; //var_dump($query); $rst = $aobj_context->mobj_db->GetRow($query); //var_dump($rst[markspending].'---'.$rst[total_count]); if($rst['markspending'] == $rst['total_count']) { $disablefreeze = 'disabled'; $disablestatus = 'pending'; $disableAllck = 'disabled=true'; } if($pos == 'T') { $start_val = ''; $end_val = ''; $exam_removed_subject_code =$start_val.$end_val; $fc_checked = "checked disabled=true;"; if(strtolower($user_type)=='superuser') { if($disablefreeze !='') { $fc_checked = 'checked disabled=true'; } else $fc_checked=" checked"; } } else { if($disablefreeze !='') $fc_checked = 'disabled'; else $fc_checked = ''; } if($k%2==0) { $class='tbl_row'; } else { $class='tbl_row1'; } $edy_data.="<tr class='ui-widget-content jqgrow'>"; $edy_data.="<td class='tbl_row_new' align='center' style='border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; padding:2px;' id='fmacas_FSUBCODE_{$m}'>{$FSUBCODE} </td>"; $edy_data.="<td class='tbl_row_new' align='left' style='border-right:1px solid #C5DBEC; padding:2px;' id='fmacas_FSUBNAME_{$m}'>{$FSUBNAME}</td>"; $edy_data.="<td class='tbl_row_new' align='center' style='border-right:1px solid #C5DBEC; padding:2px;'><input id='fmacas_FCSTATUS_check_{$m}' type=checkbox {$fc_checked} ><span style='color:red;'>{$disablestatus}</span></td>"; $edy_data.="<td class='tbl_row_new' align='center' style='border-right:1px solid #C5DBEC; padding:2px;display:none;'><input id='fmacas_FCSTATUS_checkH_{$m}' type=checkbox {$fc_checked} ></td>"; $edy_data.="</tr>"; $k++; } $check_all=""; if(strtolower($user_type)=='superuser') $check_all="<input type='checkbox' onclick='checkAllFamuFcSubjects(this.id);' {$disableAllck} id=Fmacas_fc_check> "; $e_data="<table width='90%' class='tr_ventor_row' align='center' cellspacing='0' cellpadding='0' border='0' >"; $e_data.="<th align='left' colspan='3' class='ui-jqgrid-titlebar ui-widget-header ui-corner-tl ui-corner-tr ui-helper' style='font-size:12px; padding-left:6px; height:22px;'>Subject Freeze Details </th>"; $e_data.="<tr class='ui-state-default ui-jqgrid-hdiv'>"; $e_data.="<td align=center style='padding:2px; width:24px; border-bottom:1px solid #C5DBEC; border-left:1px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Sub Code</td>"; $e_data.="<td align=center style='padding:2px; width:60px; border-bottom:1px solid #C5DBEC;border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Sub Name</td>"; $e_data.="<td align=center style='padding:2px; width:20px; border-bottom:1px solid #C5DBEC; border-left:0px solid #C5DBEC; border-right:1px solid #C5DBEC; border-bottom:1px solid #C5DBEC;'>Freeze{$check_all}</td>";// $e_data.="</tr>"; $arr['html_data']=$e_data.$edy_data; $arr['total_count']=$m; $arr['rem_sub']=trim($exam_removed_subject_code); if($obj_get_details) echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); else echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"Failure"); return; } function savefreezeModuleAtAdminCollegeSubject($aobj_context) { session_start(); $college_code = $_SESSION['collcode']; $realname = $_SESSION['realname']; $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $format_file= $aobj_context->main_src."/src/format.php"; include($format_file); $clientIp =''; if (!empty($_SERVER['HTTP_X_REAL_IP'])) $_SERVER['HTTP_X_REAL_IP']; else if (!empty($_SERVER['HTTP_CLIENT_IP'])) $clientIp = $_SERVER['HTTP_CLIENT_IP']; else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) $clientIp = $_SERVER['HTTP_X_FORWARDED_FOR']; else $clientIp = $_SERVER['REMOTE_ADDR']; $degree=trim($aobj_context->mobj_data["degree"]); $examno=trim($aobj_context->mobj_data["exam_no"]); $rem_sub=trim($aobj_context->mobj_data["rem_sub"]); $rem_unsub=trim($aobj_context->mobj_data["rem_unsub"]); $user_id = $_SESSION['user_id']; if($rem_unsub !='') { $unfzsub = $rem_unsub; $rem_unsub = "'".str_replace('*',"','",$rem_unsub); $rem_unsub = substr($rem_unsub,0,strlen($rem_unsub)-2); $update_fcstatus = "update collia set ffreezed = null, ffreezedate =now(), ffreezeuser = '{$user_id}', ffreezeip = '{$clientIp}', fmodifydate2 = if(ifnull(fmodifydate1,'')<>'',now(),fmodifydate1), fmodifyuser2 = if(ifnull(fmodifyuser1,'')<>'','{$realname}',fmodifyuser1), fmodifydate1 = if(ifnull(fcreatedate,'')<>'',now(),fmodifydate1), fmodifyuser1 = if(ifnull(fcreateuser,'')<>'','{$realname}',fmodifyuser1), fcreatedate = if(ifnull(fcreatedate,'')='',now(),fcreatedate), fcreateuser = if(ifnull(fcreateuser,'')='','{$realname}',fcreateuser) WHERE fcollcode='{$college_code}' and fdegree='{$degree}' and fexamno = '{$examno}' and fsubcode in ({$rem_unsub})"; $obj_update_fcstatus = $aobj_context->mobj_db->Execute($update_fcstatus); $query = "insert into userlog values('{$user_id}','{$realname}',now(),DATE_FORMAT(now(),'%H:%i:%s'),'{$college_code}*{$degree}*{$examno}*{$unfzsub}',null,'UFZ*IA')"; $rst = $aobj_context->mobj_db->Execute($query); } if($rem_sub !='') { $fzsub = $rem_sub; $rem_sub = "'".str_replace('*',"','",$rem_sub); $rem_sub = substr($rem_sub,0,strlen($rem_sub)-2); $validate = "select fsubcode, count(fregno) as total_count, sum(case when ifnull(fmarks,'') = '-1' then 1 else 0 end) as count1 from marks where fdegree = '{$degree}' and fexamno = '{$examno}' and fsubcode in ({$rem_sub}) group by fsubcode,fdegree,fexamno"; $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $valid_subjects = $aobj_context->mobj_db->GetAll($validate); $invalid_sub = ''; foreach($valid_subjects as $k=>$v) { if($v['total_count'] != $v['count1']) { $rem_sub = $v['fsubcode']; $update_fcstatus = "update collia set ffreezed = 'T', ffreezedate =now(), ffreezeuser = '{$user_id}', ffreezeip = '{$clientIp}', fmodifydate2 = if(ifnull(fmodifydate1,'')<>'',now(),fmodifydate1), fmodifyuser2 = if(ifnull(fmodifyuser1,'')<>'','{$realname}',fmodifyuser1), fmodifydate1 = if(ifnull(fcreatedate,'')<>'',now(),fmodifydate1), fmodifyuser1 = if(ifnull(fcreateuser,'')<>'','{$realname}',fmodifyuser1), fcreatedate = if(ifnull(fcreatedate,'')='',now(),fcreatedate), fcreateuser = if(ifnull(fcreateuser,'')='','{$realname}',fcreateuser) WHERE fcollcode='{$college_code}' and fdegree='{$degree}' and fexamno = '{$examno}' and fsubcode = '{$rem_sub}'"; $obj_update_fcstatus = $aobj_context->mobj_db->Execute($update_fcstatus); $query = "insert into userlog values('{$user_id}','{$realname}',now(),DATE_FORMAT(now(),'%H:%i:%s'),'{$college_code}*{$degree}*{$examno}*{$fzsub}',null,'FZ*IA')"; $rst = $aobj_context->mobj_db->Execute($query); } else { $invalid_sub .= ' '.$v['fsubcode']; } } } if($invalid_sub == '') { $arr='Updated Successfully'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,0,"success"); return; } else { $arr='Marks not entered for'.$invalid_sub.'and it cannot be freezed'; echo $aobj_context->mobj_output->ToJSONEnvelope($arr,-1,"Failure"); return; } } ?>
Close