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.188.245.152
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 /
bnu /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
PrinChallan.php
732
B
-rwxr-xr-x
Thumbs.db
19
KB
-rwxr-xr-x
applicationFormReport.php
11.72
KB
-rwxr-xr-x
applicationFormReportNEFT.php
10.86
KB
-rwxr-xr-x
applicationFormReportPOSTOFFIC...
21.21
KB
-rwxr-xr-x
applicationFormReportSBM.php
29.41
KB
-rwxr-xr-x
applicationFormReport_05082019...
11.49
KB
-rwxr-xr-x
applicationFormReport_12090307...
11.12
KB
-rwxr-xr-x
cappcontext.php
2.64
KB
-rwxr-xr-x
cappdu.php
4.09
KB
-rwxr-xr-x
code128.php
14.86
KB
-rwxr-xr-x
code39.php
6.38
KB
-rwxr-xr-x
coutput.php
1.96
KB
-rwxr-xr-x
crequestbroker.php
2.49
KB
-rwxr-xr-x
csessions.php
516
B
-rwxr-xr-x
cuser.php
3.41
KB
-rwxr-xr-x
customappcontext.php
2.34
KB
-rwxr-xr-x
getnumword.php
7.15
KB
-rwxr-xr-x
json.php
33.72
KB
-rwxr-xr-x
json_wait.php
33.22
KB
-rwxr-xr-x
mregistry.php
1.71
KB
-rwxr-xr-x
process_payment.php
3.64
KB
-rwxr-xr-x
results.php
36.52
KB
-rwxr-xr-x
results_bnu.php
36.58
KB
-rwxr-xr-x
revaluation.php
30.43
KB
-rwxr-xr-x
revaluation11.php
26.33
KB
-rwxr-xr-x
revaluation_07032019.php
28.71
KB
-rwxr-xr-x
rotation.php
596
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : applicationFormReport_05082019.php
<?php $main_src=substr($_SERVER['SCRIPT_FILENAME'],0,strlen($_SERVER['SCRIPT_FILENAME'])-7); $pdf_writer_class =$main_src."/tarka_pdf/fpdf.php"; require_once($pdf_writer_class); class applicationFormReport extends FPDF { function DefaultConstructor($aobj_context) { $this->aobj_context=$aobj_context; $this->pdf= new FPDF(); $this->pdf=$this; $this->app_no=trim($this->aobj_context->mobj_data["app_no"]); $this->ip=$_SERVER["REMOTE_ADDR"]; $get_date="select date_add(date_add(now(),INTERVAL 13 hour),interval 30 minute) as now_date"; $obj=$this->aobj_context->mobj_db->GetRow($get_date); $this->current_date=$obj[now_date]; $this->call_type="Regular"; } function DefaultConstructorOther($aobj_context) { $this->aobj_context=$aobj_context; $this->app_no=trim($this->aobj_context->mobj_data["app_no"]); $this->ip=$_SERVER["REMOTE_ADDR"]; $get_date="select date_add(date_add(now(),INTERVAL 13 hour),interval 30 minute) as now_date"; $obj=$this->aobj_context->mobj_db->GetRow($get_date); $this->current_date=$obj[now_date]; $this->call_type="Other"; } function Header() { } function Footer() { $this->SetY(-15); $this->pdf->SetFont('Times','B',8); //$this->Cell(140,6,'Entered : IP Address : '.$this->ip_address." Date ".$this->created_date,'0',0,'L'); $this->Cell(140,6,'Printed : IP Address : '.$this->ip." Date ".$this->current_date,'0',0,'L'); $this->Cell(50,6,'Page '.$this->PageNo().' of {nb}',0,1,'R'); } function FooterManual() { $this->pdf->SetY(-30); $this->pdf->SetFont('Times','B',8); //$this->Cell(140,6,'Entered : IP Address : '.$this->ip_address." Date ".$this->created_date,'0',0,'L'); $this->pdf->Cell(140,6,'Printed : IP Address : '.$this->ip." Date ".$this->current_date,'0',0,'L'); $this->pdf->Cell(50,6,'Page 1 of 1',0,1,'R'); } function formcolldata() { $get_coll_name="select FUNIVNAME as 'college_name', FUNIVADD1 as 'state', pdf_logo_path From control"; $lobj_get_coll_name=$this->aobj_context->mobj_db->GetRow($get_coll_name); $this->college_name=$lobj_get_coll_name['college_name']; $this->s_state=$lobj_get_coll_name['state']; $this->f_year=$lobj_get_coll_name['f_year']; $this->pdf_logo_path=$lobj_get_coll_name['pdf_logo_path']; $get_app_no=" select FREGNO,FEXAMNO,fpaymenttype,FPAYMENTYPE from res_stud where APPNO='{$this->app_no}'"; $obj_get_app_no=$this->aobj_context->mobj_db->GetRow($get_app_no); $this->reg_no=$obj_get_app_no['FREGNO']; $this->exam=$obj_get_app_no['FEXAMNO']; $this->FPAYMENTYPE=$obj_get_app_no['FPAYMENTYPE']; $this->fpaymenttype=$obj_get_app_no['fpaymenttype']; $get_data="SELECT s.FDEGREE,d.FDESCPN, s.FEXAMNO,d.FEXAMNAME,s.FCOLLCODE, concat(c.FCOLLCODE, ' - ', c.FCOLLNAME,', ',c.FTOWN) AS FCOLLNAME,d.FRESEXAMDATE, s.FREGNO,s.FNAME,s.FAYEAR,d.FELIGREM01,d.FELIGREM02 FROM student s INNER JOIN college c ON c.FCOLLCODE=s.FCOLLCODE INNER JOIN degree d ON d.FDEGREE=s.FDEGREE where s.FREGNO='{$this->reg_no}' and d.fexamno = '{$this->exam}' "; $obj_student=$this->aobj_context->mobj_db->GetRow($get_data); $FEXAMNAME=$obj_student[FEXAMNAME]; $FDESCPN=$obj_student[FDESCPN]; $FEXAMDATE=$obj_student[FRESEXAMDATE]; $this->FDEGREE=$obj_student[FDEGREE]; $this->FCOLLNAME=$obj_student[FCOLLNAME]; $this->FNAME=$obj_student[FNAME]; $this->degree_details=" {$FEXAMNAME} {$FDESCPN} {$FEXAMDATE} Examinations"; } function formData() { $this->pdf->SetMargins(10,12,10); $this->pdf->AddPage("P"); $img_path=$this->aobj_context->main_src.$this->photo_path; if(!empty($this->photo_path) && file_exists($img_path)) { $this->pdf->Image($img_path,166,50,50); } if(!empty($this->pdf_logo_path)) { $img_logo_path=$this->aobj_context->main_src.$this->pdf_logo_path; //echo $img_logo_path; die(); $this->pdf->Image($img_logo_path,10,10,20); } if($this->call_type=="Other") $this->pdf->setY(15); $this->pdf->SetFont('Times','B',15); $this->pdf->cell(180,3,$this->college_name,"0",1,"C"); $this->pdf->SetFont('Times','B',8); $this->pdf->cell(180,7, $this->s_state,"0",1,"C"); $this->pdf->SetFont('Times','B',13); $this->pdf->cell(180,7, $this->degree_details,"0",1,"C"); $this->pdf->SetFont('Times','B',11); $this->pdf->Cell(180,7,"Application for RV / RT / Photocopy of Answer Scripts","0",1,"C"); $this->pdf->SetFont('Times','B',15); $this->pdf->Cell(180,7,"Application Number : {$this->app_no}","0",1,"C"); $this->pdf->Ln(2); $this->pdf->SetFont('Times','',13); //$this->SetDrawColor(109,187,195); $this->pdf->SetFillColor(63,55,55); $this->pdf->Cell(0,0.34,"","T",1,'C',true); $this->pdf->cell(30,7, "Register No : ","0",0,"L"); $this->pdf->cell(124,7,strtoupper($this->reg_no),"0",0,"L"); $this->pdf->cell(50,7,"Date : {$this->app_date}","0",1,"L"); $this->pdf->cell(30,7, "Name : ","0",0,"L"); $this->pdf->cell(130,7,$this->FNAME,"0",1,"L"); $this->pdf->cell(30,7, "College : ","0",0,"L"); $this->pdf->cell(130,7,$this->FCOLLNAME,"0",1,"L"); $this->pdf->Cell(0,0.34,"","T",1,'C',true); } function GetFullQry() { $get_already_applied="SELECT FEXAMNAME,mr.FREGNO, APPNO,DATE_FORMAT(FAPPDATE,'%d/%m/%Y') AS app_date,CONCAT(s.FSUBCODE,s.FSSUBCODE) as FSUBCODE, FTOTAL, concat( s.FSUBNAME ,' ',s.FSSUBNAME ) as FSUBNAME, FCORRTYPE,FAMOUNT,mr.internal_code, ifnull(d.frvappfee,0) as frvappfee, ifnull(d.fxrappfee,0) as fxrappfee, ifnull(d.frvappfine,0) as frvappfine FROM res_stud mr inner JOIN student st ON st.FREGNO=mr.FREGNO INNER JOIN degree d ON d.FDEGREE=mr.FDEGREE AND d.FEXAMNO=mr.FEXAMNO INNER join subject s on mr.FSUBCODE=CONCAT(s.FSUBCODE,s.FSSUBCODE) AND s.FDEGREE=d.FDEGREE AND s.FEXAMNO=mr.FEXAMNO WHERE mr.FDEGREE='{$this->FDEGREE}' AND mr.FREGNO='{$this->reg_no}' and mr.FEXAMNO ='{$this->exam}' AND s.FDEGREE=mr.FDEGREE AND s.FEXAMNO=mr.FEXAMNO and APPNO='{$this->app_no}' group by APPNO,mr.FREGNO,mr.FSUBCODE,FCORRTYPE order by mr.FREGNO,APPNO,mr.FSUBCODE "; //echo $get_already_applied; die(); $this->lobj_get_already_applied= $this->aobj_context->mobj_db->GetAll($get_already_applied); $this->app_date=$this->lobj_get_already_applied[0]['app_date']; $this->frvappfee=$this->lobj_get_already_applied[0]['frvappfee']; $this->fxrappfee=$this->lobj_get_already_applied[0]['fxrappfee']; $this->frvappfine=$this->lobj_get_already_applied[0]['frvappfine']; $this->distinct_types=array(); $this->txt_arr["RV"]="RV"; $this->txt_arr["RT"]="RT"; $this->txt_arr["XR"]="PC"; $this->txt_arr["CV"]="CV"; } function GetQry() { $i=0; $allready_applied_html_arr=array(); foreach($this->lobj_get_already_applied as $ak=>$av) { $this->app_date=$av['app_date']; $allready_applied_html_arr[$av['FSUBCODE']]['sub_name']=$av['FSUBNAME'] ; $allready_applied_html_arr[$av['FSUBCODE']]['row_tot']+=$av['FAMOUNT']; $allready_applied_html_arr[$av['FSUBCODE']]['details'][$av['FCORRTYPE']]=$av['FAMOUNT']; $i++; if(!in_array($av['FCORRTYPE'],$this->distinct_types)) array_push($this->distinct_types,$av['FCORRTYPE']); } $this->pdf->ln(6); $empty_cell_width=1; if(count($this->distinct_types)==1) { $empty_cell_width=20; } if(count($this->distinct_types)==2) { $empty_cell_width=15; } if(count($this->distinct_types)==3) { $empty_cell_width=10; } if(count($this->distinct_types)==4) { $empty_cell_width=5; } $rvappfee = false; $xrappfee = false; $this->pdf->SetFillColor(109,187,195); //$this->SetDrawColor(255,2,195); $this->pdf->SetFont('Times','B',10); $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->cell(15,7, "Sl. No.","1",0,"C",true); $this->pdf->cell(20,7, "Sub. Code","1",0,"C",true); $this->pdf->cell(80,7, "Subject Title","1",0,"C",true); foreach($this->distinct_types as $dk) { $this->pdf->cell(15,7, $this->txt_arr[$dk],"1",0,"C",true); if($this->txt_arr[$dk] == 'RV') $rvappfee = true; if($this->txt_arr[$dk] == 'PC') $xrappfee = true; } $this->pdf->cell(15,7, "Total Fee","1",1,"C",true); $sl_no=1; $grand_tot=0;$this->SetFillColor(0,0,0); foreach($allready_applied_html_arr as $ak=>$av) { $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $sub_code=$ak; $row_tot=$av['row_tot']; $grand_tot+=$row_tot; $sub_name=$av['sub_name']; $details=$av['details']; $get_sx1=$this->pdf->GetX(); $get_sy1=$this->pdf->GetY(); $this->pdf->SetXY($get_sx1+15+20,$get_sy1); $this->pdf->MultiCell(80,7, $sub_name,'1','L'); $get_sy2=$this->pdf->GetY(); $height=$get_sy2-$get_sy1; $this->pdf->SetXY($get_sx1,$get_sy1); $this->pdf->cell(15,$height,$sl_no,"1",0,"C"); $this->pdf->cell(20,$height,$sub_code,"1",0,"C"); $this->pdf->SetXY($get_sx1+15+20+80,$get_sy1); $cell_width=0; foreach($this->distinct_types as $dk) { $cell_val=" - "; if($details[$dk]>0) $cell_val=$details[$dk]; $this->pdf->cell(15,$height, $cell_val,"1",0,"C"); $cell_width+=15; } $this->pdf->cell(15,$height, $row_tot,"1",1,"C"); $sl_no++; } if(!$rvappfee) { $this->frvappfee = 0; } if(!$xrappfee) { $this->fxrappfee = 0; } $grand_tot +=$this->fxrappfee; $grand_tot +=$this->frvappfee; $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->cell(115,$height,"Application Fee","1",0,"L"); if($rvappfee) $this->pdf->cell(15,$height,$this->frvappfee,"1",0,"C"); if($xrappfee) $this->pdf->cell(15,$height,$this->fxrappfee,"1",0,"C"); $this->pdf->cell(15,$height,($this->fxrappfee+$this->frvappfee),"1",1,"C"); if($this->frvappfine > 0 && $this->frvappfine != '') { $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->cell(145,$height,"Fine","1",0,"L"); $this->pdf->cell(15,$height,$this->frvappfine,"1",1,"C"); $grand_tot +=$this->frvappfine; } $fi_w=115+$cell_width-15+$empty_cell_width; // $this->pdf->cell($empty_cell_width,7, ""," ",0,"C"); $this->pdf->cell($fi_w,7,"","0",0,"C"); //$this->MultiCell(80,7, $,'1','L'); $this->pdf->cell(15,7,"Total ","1",0,"C"); $this->pdf->cell(15,7,"{$grand_tot} ","1",1,"C"); $this->pdf->ln(3); if($this->FPAYMENTYPE=="POSTOFFICE") $this->pdf->cell(35,7,"Payment Mode : Through Post Office","0",0,"L"); else if($this->FPAYMENTYPE=="College Bank") $this->pdf->cell(35,7,"Payment Mode : College Bank","0",0,"L"); else $this->pdf->cell(35,7,"Payment Mode : {$this->fpaymenttype}","0",0,"L"); $this->pdf->ln(19); $this->pdf->cell(35,7,"Date : ","0",0,"L"); $this->pdf->ln(26); $this->pdf->cell(85,7,"Signature of the candidate","0",0,"L"); $this->pdf->cell(35,7,"","0",0,"L"); $this->pdf->cell(85,7,"Signature of the Principal with Seal","0",0,"L"); } function SendOutput() { $this->pdf->Output("application_letter_{$this->app_no}.pdf","D"); } } function PrintRevaluationApplicationForm($aobj_context) { $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $class_obj=new applicationFormReport(); $class_obj->AliasNbPages(); $class_obj->DefaultConstructor($aobj_context); $class_obj->formcolldata(); $class_obj->GetFullQry(); $class_obj->formData(); $class_obj->GetQry(); $class_obj->SendOutput(); } ?>
Close