[ Avaa Bypassed ]




Upload:

Command:

www-data@3.144.19.6: ~ $
#!/usr/bin/perl
# Change if the iscsi server is started at boot or not

use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './iscsi-target-lib.pl';
&foreign_require("init");
our (%text, %config, %in);
&ReadParse();
&error_setup($text{'atboot_err'});

# On Debian, a flag needs to be set in /etc/default/iscsitarget
if ($in{'boot'}) {
	&lock_file($config{'opts_file'});
	my %env;
	&read_env_file($config{'opts_file'}, \%env);
	if (lc($env{'ISCSITARGET_ENABLE'}) eq 'false') {
		$env{'ISCSITARGET_ENABLE'} = 'true';
		&write_env_file($config{'opts_file'}, \%env);
		}
	&unlock_file($config{'opts_file'});
	}

my $old = &init::action_status($config{'init_name'});
if ($old != 2 && $in{'boot'}) {
	# Enable at boot
	$old == 1 || &error(&text('atboot_einit',
				  "<tt>$config{'init_name'}</tt>"));
	&init::enable_at_boot($config{'init_name'});
	&webmin_log("atboot");
	}
elsif ($old == 2 && !$in{'boot'}) {
	# Disable at boot
	&init::disable_at_boot($config{'init_name'});
	&webmin_log("delboot");
	}
&redirect("");

Filemanager

Name Type Size Permission Actions
help Folder 0755
images Folder 0755
lang Folder 0755
atboot.cgi File 1.02 KB 0755
config File 211 B 0644
config-debian-linux File 231 B 0644
config-debian-linux-ALL-4.0 File 201 B 0644
config-openSUSE-Linux-15.0-ALL File 223 B 0644
config-suse-linux File 223 B 0644
config.info File 309 B 0644
config.info.ca File 393 B 0644
config.info.de File 333 B 0644
config.info.no File 302 B 0644
delete_allows.cgi File 764 B 0755
delete_targets.cgi File 874 B 0755
down_allow.cgi File 578 B 0755
edit_addr.cgi File 1003 B 0755
edit_allow.cgi File 1.55 KB 0755
edit_auth.cgi File 1.41 KB 0755
edit_conn.cgi File 1.42 KB 0755
edit_manual.cgi File 652 B 0755
edit_target.cgi File 5.68 KB 0755
edit_timeout.cgi File 903 B 0755
index.cgi File 3.44 KB 0755
install_check.pl File 348 B 0755
iscsi-target-lib.pl File 12.14 KB 0644
list_allow.cgi File 1.64 KB 0755
log_parser.pl File 484 B 0755
module.info File 205 B 0644
module.info.af File 0 B 0644
module.info.af.auto File 130 B 0644
module.info.ar File 0 B 0644
module.info.ar.auto File 159 B 0644
module.info.be File 0 B 0644
module.info.be.auto File 207 B 0644
module.info.bg File 0 B 0644
module.info.bg.auto File 184 B 0644
module.info.ca File 149 B 0644
module.info.cs File 0 B 0644
module.info.cs.auto File 120 B 0644
module.info.da File 0 B 0644
module.info.da.auto File 119 B 0644
module.info.de File 103 B 0644
module.info.el File 0 B 0644
module.info.el.auto File 221 B 0644
module.info.es File 0 B 0644
module.info.es.auto File 144 B 0644
module.info.eu File 0 B 0644
module.info.eu.auto File 114 B 0644
module.info.fa File 0 B 0644
module.info.fa.auto File 185 B 0644
module.info.fi File 0 B 0644
module.info.fi.auto File 116 B 0644
module.info.fr File 0 B 0644
module.info.fr.auto File 144 B 0644
module.info.he File 0 B 0644
module.info.he.auto File 147 B 0644
module.info.hr File 0 B 0644
module.info.hr.auto File 126 B 0644
module.info.hu File 0 B 0644
module.info.hu.auto File 153 B 0644
module.info.it File 0 B 0644
module.info.it.auto File 144 B 0644
module.info.ja File 0 B 0644
module.info.ja.auto File 181 B 0644
module.info.ko File 0 B 0644
module.info.ko.auto File 159 B 0644
module.info.lt File 0 B 0644
module.info.lt.auto File 134 B 0644
module.info.lv File 0 B 0644
module.info.lv.auto File 128 B 0644
module.info.ms File 131 B 0644
module.info.mt File 0 B 0644
module.info.mt.auto File 128 B 0644
module.info.nl File 0 B 0644
module.info.nl.auto File 130 B 0644
module.info.no File 19 B 0644
module.info.no.auto File 99 B 0644
module.info.pl File 0 B 0644
module.info.pl.auto File 135 B 0644
module.info.pt File 0 B 0644
module.info.pt.auto File 129 B 0644
module.info.pt_BR File 0 B 0644
module.info.pt_BR.auto File 135 B 0644
module.info.ro File 0 B 0644
module.info.ro.auto File 129 B 0644
module.info.ru File 0 B 0644
module.info.ru.auto File 219 B 0644
module.info.sk File 0 B 0644
module.info.sk.auto File 119 B 0644
module.info.sl File 0 B 0644
module.info.sl.auto File 111 B 0644
module.info.sv File 0 B 0644
module.info.sv.auto File 112 B 0644
module.info.th File 0 B 0644
module.info.th.auto File 260 B 0644
module.info.tr File 0 B 0644
module.info.tr.auto File 133 B 0644
module.info.uk File 0 B 0644
module.info.uk.auto File 188 B 0644
module.info.ur File 0 B 0644
module.info.ur.auto File 243 B 0644
module.info.vi File 0 B 0644
module.info.vi.auto File 134 B 0644
module.info.zh File 0 B 0644
module.info.zh.auto File 112 B 0644
module.info.zh_TW File 0 B 0644
module.info.zh_TW.auto File 112 B 0644
restart.cgi File 355 B 0755
save_addr.cgi File 943 B 0755
save_allow.cgi File 1.27 KB 0755
save_auth.cgi File 1.22 KB 0755
save_conn.cgi File 1.34 KB 0755
save_manual.cgi File 455 B 0755
save_target.cgi File 4.1 KB 0755
save_timeout.cgi File 862 B 0755
start.cgi File 332 B 0755
stop.cgi File 307 B 0755
up_allow.cgi File 576 B 0755