[ Avaa Bypassed ]




Upload:

Command:

www-data@3.144.114.63: ~ $
#!/usr/bin/perl
# save_global.cgi
# Save global GRUB options

require './grub-lib.pl';
&ReadParse();
&error_setup($text{'global_err'});
&lock_file($config{'menu_file'});
$conf = &get_menu_config();
&error_setup($text{'global_err'});

# validate and save inputs
if ($in{'default'} eq '') {
	&save_directive($conf, 'default', undef);
	}
else {
	&save_directive($conf, 'default', { 'name' => 'default',
					    'value' => $in{'default'} });
	}
if ($in{'fallback'} eq '') {
	&save_directive($conf, 'fallback', undef);
	}
else {
	&save_directive($conf, 'fallback', { 'name' => 'fallback',
					     'value' => $in{'fallback'} });
	}
if ($in{'timeout_def'}) {
	&save_directive($conf, 'timeout', undef);
	}
else {
	$in{'timeout'} =~ /^\d+$/ || &error($text{'global_etimeout'});
	&save_directive($conf, 'timeout', { 'name' => 'timeout',
					    'value' => $in{'timeout'} });
	}
if ($in{'password_def'}) {
	&save_directive($conf, 'password', undef);
	}
else {
	$in{'password'} =~ /^\S+$/ || &error($text{'global_epassword'});
	if (!$in{'password_file'}) {
		&save_directive($conf, 'password', { 'name' => 'password',
		    'value' => $in{'password'} } );
		}
	else {
		$in{'password_filename'} =~ /^\S+$/ ||
			&error($text{'global_epasswordfile'});
		&save_directive($conf, 'password', { 'name' => 'password',
		    'value' => $in{'password'}.' '.$in{'password_filename'} } );
		}
	}
if ($in{'install_mode'} == 1) {
	$install = &linux_to_bios($in{'install'});
	$install || &error(&text('global_edev', $in{'root'}));
	$config{'install'} = $install;
	}
else {
	$in{'other'} =~ /^\S+$/ || &error($text{'global_eother'});
	$config{'install'} = $in{'other'};
	}
&write_file("$module_config_directory/config", \%config);
&flush_file_lines($config{'menu_file'});
&unlock_file($config{'menu_file'});
&webmin_log("global");
&redirect("");


Filemanager

Name Type Size Permission Actions
images Folder 0755
lang Folder 0755
CHANGELOG File 449 B 0644
backup_config.pl File 601 B 0755
cgi_args.pl File 229 B 0755
config File 69 B 0644
config-coherent-linux File 99 B 0644
config-debian-linux File 59 B 0644
config-gentoo-linux File 65 B 0644
config-mandrake-linux File 65 B 0644
config-openmamba-linux File 103 B 0644
config-pardus-linux File 65 B 0644
config-redhat-linux-7.2-7.4 File 66 B 0644
config-redhat-linux-8.0-ALL File 99 B 0644
config-solaris File 74 B 0644
config-syno-linux File 69 B 0644
config-trustix-linux File 99 B 0644
config.info File 235 B 0644
config.info.bg File 417 B 0644
config.info.ca File 276 B 0644
config.info.cs File 255 B 0644
config.info.de File 284 B 0644
config.info.es File 278 B 0644
config.info.fr File 258 B 0644
config.info.it File 284 B 0644
config.info.ja File 290 B 0644
config.info.ms File 244 B 0644
config.info.nl File 250 B 0644
config.info.no File 247 B 0644
config.info.pl File 136 B 0644
config.info.ru File 279 B 0644
config.info.uk File 296 B 0644
config.info.zh_TW File 188 B 0644
down.cgi File 364 B 0755
edit_global.cgi File 1.87 KB 0755
edit_title.cgi File 2.92 KB 0755
grub-lib.pl File 5.12 KB 0755
index.cgi File 2.2 KB 0755
install.cgi File 1.65 KB 0755
install_check.pl File 368 B 0755
log_parser.pl File 453 B 0755
module.info File 246 B 0644
module.info.af File 0 B 0644
module.info.af.auto File 171 B 0644
module.info.ar File 0 B 0644
module.info.ar.auto File 218 B 0644
module.info.be File 0 B 0644
module.info.be.auto File 255 B 0644
module.info.bg File 0 B 0644
module.info.bg.auto File 282 B 0644
module.info.ca File 173 B 0644
module.info.ca.auto File 13 B 0644
module.info.cs File 32 B 0644
module.info.cs.auto File 161 B 0644
module.info.da File 0 B 0644
module.info.da.auto File 168 B 0644
module.info.de File 176 B 0644
module.info.de.auto File 14 B 0644
module.info.el File 0 B 0644
module.info.el.auto File 307 B 0644
module.info.es File 34 B 0644
module.info.es.auto File 169 B 0644
module.info.eu File 0 B 0644
module.info.eu.auto File 156 B 0644
module.info.fa File 0 B 0644
module.info.fa.auto File 259 B 0644
module.info.fi File 0 B 0644
module.info.fi.auto File 189 B 0644
module.info.fr File 42 B 0644
module.info.fr.auto File 161 B 0644
module.info.he File 0 B 0644
module.info.he.auto File 237 B 0644
module.info.hr File 0 B 0644
module.info.hr.auto File 188 B 0644
module.info.hu File 0 B 0644
module.info.hu.auto File 217 B 0644
module.info.it File 25 B 0644
module.info.it.auto File 137 B 0644
module.info.ja File 33 B 0644
module.info.ja.auto File 195 B 0644
module.info.ko File 29 B 0644
module.info.ko.auto File 150 B 0644
module.info.lt File 0 B 0644
module.info.lt.auto File 201 B 0644
module.info.lv File 0 B 0644
module.info.lv.auto File 194 B 0644
module.info.ms File 155 B 0644
module.info.ms.auto File 13 B 0644
module.info.mt File 0 B 0644
module.info.mt.auto File 168 B 0644
module.info.nl File 24 B 0644
module.info.nl.auto File 162 B 0644
module.info.no File 29 B 0644
module.info.no.auto File 145 B 0644
module.info.pl File 31 B 0644
module.info.pl.auto File 157 B 0644
module.info.pt File 0 B 0644
module.info.pt.auto File 224 B 0644
module.info.pt_BR File 0 B 0644
module.info.pt_BR.auto File 233 B 0644
module.info.ro File 0 B 0644
module.info.ro.auto File 196 B 0644
module.info.ru File 40 B 0644
module.info.ru.auto File 219 B 0644
module.info.sk File 0 B 0644
module.info.sk.auto File 172 B 0644
module.info.sl File 0 B 0644
module.info.sl.auto File 167 B 0644
module.info.sv File 0 B 0644
module.info.sv.auto File 157 B 0644
module.info.th File 0 B 0644
module.info.th.auto File 298 B 0644
module.info.tr File 0 B 0644
module.info.tr.auto File 212 B 0644
module.info.uk File 0 B 0644
module.info.uk.auto File 265 B 0644
module.info.ur File 0 B 0644
module.info.ur.auto File 240 B 0644
module.info.vi File 0 B 0644
module.info.vi.auto File 224 B 0644
module.info.zh File 0 B 0644
module.info.zh.auto File 150 B 0644
module.info.zh_TW File 29 B 0644
module.info.zh_TW.auto File 131 B 0644
save_global.cgi File 1.78 KB 0755
save_title.cgi File 2.17 KB 0755
up.cgi File 360 B 0755