[ Avaa Bypassed ]




Upload:

Command:

www-data@3.22.208.84: ~ $
#!/usr/bin/perl

require "./inittab-lib.pl";
&ReadParse();

if ($in{'new'}) {
	# Creating a new one
	$init = { };
	}
else {
	# Find existing config
	@inittab = &parse_inittab();
	($init) = grep { $_->{'id'} eq $in{'id'} } @inittab;
	}

&ui_print_header(undef,  &text('edit_inittab_title', $in{'id'}), "");

print &ui_form_start("save_inittab.cgi");
print &ui_hidden("oldid", $init->{'id'});
print &ui_hidden("new", $in{'new'});
print &ui_table_start($text{'edit_inittab_details'}, "width=100%", 2);

# ID number
print &ui_table_row(&hlink($text{'inittab_id'}, "id" ),
	&ui_textbox("id", $init->{'id'}, $config{'inittab_size'}));

# Active or not?
print &ui_table_row(&hlink($text{ 'inittab_active' },"active"),
	&ui_radio("comment", $init->{'comment'} ? 1 : 0,
		  [ [ 0, $text{'yes'} ], [ 1, $text{'no'} ] ]));

# Levels to run in 
print &ui_table_row(&hlink($text{'inittab_runlevels'}, "runlevels"),
	join(" ", map { &ui_checkbox($_, 1, $_, &indexof($_, @{$init->{'levels'}}) >= 0) } &list_runlevels()));

# Action
$init->{'action'} = "kbdrequest" if ($init->{'action'} eq "kbrequest");
print &ui_table_row(&hlink($text{'inittab_action'}, "action"),
	&ui_select("action", $init->{'action'}, [ &list_actions() ],
		   1, 0, 1));

# Command to run
print &ui_table_row(&hlink($text{'inittab_process'}, "process"),
	&ui_textbox("process", $init->{'process'}, 60));

print &ui_table_end();
if ($in{'new'}) {
	print &ui_form_end([ [ "button", $text{'create'} ] ]);
	}
else {
	print &ui_form_end([ [ "button", $text{'save'} ],
			     [ "button", $text{'edit_inittab_del'} ] ]);
	}

&ui_print_footer( "", $text{ 'inittab_return' } );


Filemanager

Name Type Size Permission Actions
help Folder 0755
images Folder 0755
lang Folder 0755
CHANGELOG File 294 B 0644
apply.cgi File 260 B 0755
backup_config.pl File 685 B 0755
config File 42 B 0644
config-solaris File 47 B 0644
config-syno-linux File 42 B 0644
config.info File 100 B 0644
config.info.ca File 110 B 0644
config.info.cs File 105 B 0644
config.info.de File 111 B 0644
config.info.es File 109 B 0644
config.info.fr File 121 B 0644
config.info.hu File 0 B 0644
config.info.ko File 95 B 0644
config.info.ms File 110 B 0644
config.info.nl File 109 B 0644
config.info.pl File 42 B 0644
config.info.ru File 93 B 0644
config.info.sv File 41 B 0644
config.info.tr File 104 B 0644
config.info.uk File 95 B 0644
config.info.zh File 39 B 0644
config.info.zh_TW File 49 B 0644
delete.cgi File 510 B 0755
edit_inittab.cgi File 1.59 KB 0755
index.cgi File 1.92 KB 0755
inittab-lib.pl File 2.67 KB 0755
install_check.pl File 393 B 0755
log_parser.pl File 869 B 0755
module.info File 270 B 0644
module.info.af File 0 B 0644
module.info.af.auto File 161 B 0644
module.info.ar File 0 B 0644
module.info.ar.auto File 239 B 0644
module.info.be File 0 B 0644
module.info.be.auto File 304 B 0644
module.info.bg File 0 B 0644
module.info.bg.auto File 333 B 0644
module.info.ca File 0 B 0644
module.info.ca.auto File 196 B 0644
module.info.cs File 0 B 0644
module.info.cs.auto File 198 B 0644
module.info.da File 0 B 0644
module.info.da.auto File 171 B 0644
module.info.de File 0 B 0644
module.info.de.auto File 200 B 0644
module.info.el File 0 B 0644
module.info.el.auto File 314 B 0644
module.info.es File 0 B 0644
module.info.es.auto File 196 B 0644
module.info.eu File 0 B 0644
module.info.eu.auto File 157 B 0644
module.info.fa File 0 B 0644
module.info.fa.auto File 244 B 0644
module.info.fi File 0 B 0644
module.info.fi.auto File 187 B 0644
module.info.fr File 0 B 0644
module.info.fr.auto File 181 B 0644
module.info.he File 0 B 0644
module.info.he.auto File 226 B 0644
module.info.hr File 0 B 0644
module.info.hr.auto File 180 B 0644
module.info.hu File 0 B 0644
module.info.hu.auto File 210 B 0644
module.info.it File 0 B 0644
module.info.it.auto File 160 B 0644
module.info.ja File 0 B 0644
module.info.ja.auto File 170 B 0644
module.info.ko File 0 B 0644
module.info.ko.auto File 175 B 0644
module.info.lt File 0 B 0644
module.info.lt.auto File 183 B 0644
module.info.lv File 0 B 0644
module.info.lv.auto File 197 B 0644
module.info.ms File 0 B 0644
module.info.ms.auto File 167 B 0644
module.info.mt File 0 B 0644
module.info.mt.auto File 180 B 0644
module.info.nl File 0 B 0644
module.info.nl.auto File 172 B 0644
module.info.no File 0 B 0644
module.info.no.auto File 172 B 0644
module.info.pl File 0 B 0644
module.info.pl.auto File 191 B 0644
module.info.pt File 0 B 0644
module.info.pt.auto File 203 B 0644
module.info.pt_BR File 0 B 0644
module.info.pt_BR.auto File 212 B 0644
module.info.ro File 0 B 0644
module.info.ro.auto File 195 B 0644
module.info.ru File 0 B 0644
module.info.ru.auto File 273 B 0644
module.info.sk File 0 B 0644
module.info.sk.auto File 209 B 0644
module.info.sl File 0 B 0644
module.info.sl.auto File 158 B 0644
module.info.sv File 0 B 0644
module.info.sv.auto File 159 B 0644
module.info.th File 0 B 0644
module.info.th.auto File 276 B 0644
module.info.tr File 0 B 0644
module.info.tr.auto File 177 B 0644
module.info.uk File 0 B 0644
module.info.uk.auto File 322 B 0644
module.info.ur File 0 B 0644
module.info.ur.auto File 224 B 0644
module.info.vi File 0 B 0644
module.info.vi.auto File 197 B 0644
module.info.zh File 0 B 0644
module.info.zh.auto File 139 B 0644
module.info.zh_TW File 0 B 0644
module.info.zh_TW.auto File 148 B 0644
save_inittab.cgi File 1.23 KB 0755