Linux mail.vriendennsm.nl 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64
Apache/2.4.68 (Debian)
Server IP : 217.154.75.17 & Your IP : 216.73.217.15
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
webmin /
iscsi-server /
Delete
Unzip
Name
Size
Permission
Date
Action
help
[ DIR ]
drwxr-xr-x
2026-07-25 20:55
images
[ DIR ]
drwxr-xr-x
2026-07-25 20:55
lang
[ DIR ]
drwxr-xr-x
2026-07-25 20:55
CHANGELOG
106
B
-rw-r--r--
2026-07-17 21:17
atboot.cgi
959
B
-rwxr-xr-x
2026-07-17 21:22
backup_config.pl
677
B
-rwxr-xr-x
2026-07-17 21:17
config
192
B
-rw-r--r--
2026-07-17 21:17
config-freebsd
179
B
-rw-r--r--
2026-07-17 21:17
config.info
238
B
-rw-r--r--
2026-07-17 21:17
config.info.ca
298
B
-rw-r--r--
2026-07-17 21:17
config.info.de
265
B
-rw-r--r--
2026-07-17 21:17
config.info.no
250
B
-rw-r--r--
2026-07-17 21:17
delete_devices.cgi
1.48
KB
-rwxr-xr-x
2026-07-17 21:22
delete_extents.cgi
1.48
KB
-rwxr-xr-x
2026-07-17 21:22
delete_targets.cgi
1.2
KB
-rwxr-xr-x
2026-07-17 21:22
delete_users.cgi
858
B
-rwxr-xr-x
2026-07-17 21:22
edit_device.cgi
1.84
KB
-rwxr-xr-x
2026-07-17 21:22
edit_extent.cgi
3.16
KB
-rwxr-xr-x
2026-07-17 21:22
edit_manual.cgi
654
B
-rwxr-xr-x
2026-07-17 21:22
edit_opts.cgi
1.03
KB
-rwxr-xr-x
2026-07-17 21:22
edit_target.cgi
2.15
KB
-rwxr-xr-x
2026-07-17 21:22
edit_user.cgi
1.33
KB
-rwxr-xr-x
2026-07-17 21:22
index.cgi
1.78
KB
-rwxr-xr-x
2026-07-17 21:22
install_check.pl
353
B
-rwxr-xr-x
2026-07-17 21:17
iscsi-server-lib.pl
12.27
KB
-rw-r--r--
2026-07-17 21:17
list_devices.cgi
1.31
KB
-rwxr-xr-x
2026-07-17 21:22
list_extents.cgi
1.21
KB
-rwxr-xr-x
2026-07-17 21:22
list_targets.cgi
1.46
KB
-rwxr-xr-x
2026-07-17 21:22
list_users.cgi
1.02
KB
-rwxr-xr-x
2026-07-17 21:22
log_parser.pl
682
B
-rwxr-xr-x
2026-07-17 21:17
module.info
214
B
-rw-r--r--
2026-07-17 21:17
module.info.ar
0
B
-rw-r--r--
2026-07-17 21:17
module.info.ar.auto
179
B
-rw-r--r--
2026-07-17 21:17
module.info.bg
0
B
-rw-r--r--
2026-07-17 21:17
module.info.bg.auto
191
B
-rw-r--r--
2026-07-17 21:17
module.info.ca
149
B
-rw-r--r--
2026-07-17 21:17
module.info.cs
0
B
-rw-r--r--
2026-07-17 21:17
module.info.cs.auto
123
B
-rw-r--r--
2026-07-17 21:17
module.info.da
0
B
-rw-r--r--
2026-07-17 21:17
module.info.da.auto
122
B
-rw-r--r--
2026-07-17 21:17
module.info.de
126
B
-rw-r--r--
2026-07-17 21:17
module.info.el
0
B
-rw-r--r--
2026-07-17 21:17
module.info.el.auto
226
B
-rw-r--r--
2026-07-17 21:17
module.info.es
0
B
-rw-r--r--
2026-07-17 21:17
module.info.es.auto
145
B
-rw-r--r--
2026-07-17 21:17
module.info.eu
0
B
-rw-r--r--
2026-07-17 21:17
module.info.eu.auto
122
B
-rw-r--r--
2026-07-17 21:17
module.info.fa
0
B
-rw-r--r--
2026-07-17 21:17
module.info.fa.auto
188
B
-rw-r--r--
2026-07-17 21:17
module.info.fi
0
B
-rw-r--r--
2026-07-17 21:17
module.info.fi.auto
120
B
-rw-r--r--
2026-07-17 21:17
module.info.fr
0
B
-rw-r--r--
2026-07-17 21:17
module.info.fr.auto
147
B
-rw-r--r--
2026-07-17 21:17
module.info.hr
0
B
-rw-r--r--
2026-07-17 21:17
module.info.hr.auto
128
B
-rw-r--r--
2026-07-17 21:17
module.info.hu
0
B
-rw-r--r--
2026-07-17 21:17
module.info.hu.auto
152
B
-rw-r--r--
2026-07-17 21:17
module.info.it
0
B
-rw-r--r--
2026-07-17 21:17
module.info.it.auto
140
B
-rw-r--r--
2026-07-17 21:17
module.info.ja
0
B
-rw-r--r--
2026-07-17 21:17
module.info.ja.auto
179
B
-rw-r--r--
2026-07-17 21:17
module.info.ko
0
B
-rw-r--r--
2026-07-17 21:17
module.info.ko.auto
160
B
-rw-r--r--
2026-07-17 21:17
module.info.ms
144
B
-rw-r--r--
2026-07-17 21:17
module.info.nl
0
B
-rw-r--r--
2026-07-17 21:17
module.info.nl.auto
133
B
-rw-r--r--
2026-07-17 21:17
module.info.no
122
B
-rw-r--r--
2026-07-17 21:17
module.info.pl
0
B
-rw-r--r--
2026-07-17 21:17
module.info.pl.auto
127
B
-rw-r--r--
2026-07-17 21:17
module.info.pt
0
B
-rw-r--r--
2026-07-17 21:17
module.info.pt.auto
131
B
-rw-r--r--
2026-07-17 21:17
module.info.pt_BR
0
B
-rw-r--r--
2026-07-17 21:17
module.info.pt_BR.auto
137
B
-rw-r--r--
2026-07-17 21:17
module.info.ru
0
B
-rw-r--r--
2026-07-17 21:17
module.info.ru.auto
218
B
-rw-r--r--
2026-07-17 21:17
module.info.sk
0
B
-rw-r--r--
2026-07-17 21:17
module.info.sk.auto
121
B
-rw-r--r--
2026-07-17 21:17
module.info.sv
0
B
-rw-r--r--
2026-07-17 21:17
module.info.sv.auto
115
B
-rw-r--r--
2026-07-17 21:17
module.info.tr
0
B
-rw-r--r--
2026-07-17 21:17
module.info.tr.auto
135
B
-rw-r--r--
2026-07-17 21:17
module.info.uk
0
B
-rw-r--r--
2026-07-17 21:17
module.info.uk.auto
202
B
-rw-r--r--
2026-07-17 21:17
module.info.zh
0
B
-rw-r--r--
2026-07-17 21:17
module.info.zh.auto
116
B
-rw-r--r--
2026-07-17 21:17
module.info.zh_TW
0
B
-rw-r--r--
2026-07-17 21:17
module.info.zh_TW.auto
122
B
-rw-r--r--
2026-07-17 21:17
restart.cgi
355
B
-rwxr-xr-x
2026-07-17 21:22
save_device.cgi
1.96
KB
-rwxr-xr-x
2026-07-17 21:22
save_extent.cgi
2.45
KB
-rwxr-xr-x
2026-07-17 21:22
save_manual.cgi
456
B
-rwxr-xr-x
2026-07-17 21:22
save_opts.cgi
1.14
KB
-rwxr-xr-x
2026-07-17 21:22
save_target.cgi
1.85
KB
-rwxr-xr-x
2026-07-17 21:22
save_user.cgi
1.06
KB
-rwxr-xr-x
2026-07-17 21:22
start.cgi
332
B
-rwxr-xr-x
2026-07-17 21:22
stop.cgi
307
B
-rwxr-xr-x
2026-07-17 21:22
Save
Rename
#!/usr/bin/perl # Create, update or delete an extent use strict; use warnings; no warnings 'redefine'; no warnings 'uninitialized'; require './iscsi-server-lib.pl'; our (%text, %in, %config); &lock_file($config{'targets_file'}); my $conf = &get_iscsi_config(); &ReadParse(); &error_setup($in{'delete'} ? $text{'extent_derr'} : $text{'extent_err'}); my ($extent, $old_extent); if (!$in{'new'}) { # Get the existing extent $extent = &find($conf, "extent", $in{'num'}); $extent || &text('extent_egone', $in{'num'}); $old_extent = $extent; } else { # Creating a new one $extent = { 'num' => &find_free_num($conf, 'extent'), 'type' => 'extent' }; } if ($in{'delete'}) { # Check if in use before deleting my @users = &find_extent_users($conf, $extent); if (@users) { &error(&text('extent_einuse', join(", ", map { &describe_object($_) } @users))); } # Delete, after asking for confirmation if ($in{'confirm'}) { # Delete it &save_directive($conf, $extent, undef); } else { # Ask first &ui_print_header(undef, $text{'extent_edit'}, ""); print &ui_confirmation_form( "save_extent.cgi", &text('extent_rusure', &mount::device_name($extent->{'device'})), [ [ 'num', $in{'num'} ], [ 'delete', 1 ] ], [ [ 'confirm', $text{'extent_sure'} ] ], ); &ui_print_footer("list_extents.cgi", $text{'extents_return'}); return; } } else { # Validate and store inputs if ($in{'mode'} eq 'part') { $extent->{'device'} = $in{'part'}; } elsif ($in{'mode'} eq 'raid') { $extent->{'device'} = $in{'raid'}; } elsif ($in{'mode'} eq 'lvm') { $extent->{'device'} = $in{'lvm'}; } else { -f $in{'other'} || &error($text{'extent_eother'}); $extent->{'device'} = $in{'other'}; } $in{'start'} =~ /^\d+$/ || &error($text{'extent_estart'}); $extent->{'start'} = $in{'start'}*$in{'start_units'}; my $maxsize = &get_device_size($extent->{'device'}, $in{'mode'}); if ($in{'size_def'}) { $extent->{'size'} = $maxsize; } else { $in{'size'} =~ /^\d+$/ && $in{'size'} > 0 || &error($text{'extent_esize'}); $extent->{'size'} = $in{'size'}*$in{'size_units'}; } $extent->{'start'} + $extent->{'size'} <= $maxsize || &error(&text('extent_esizemax', &nice_size($maxsize))); # Write out the config &save_directive($conf, $old_extent, $extent); } &unlock_file($config{'targets_file'}); &webmin_log($in{'new'} ? 'create' : $in{'delete'} ? 'delete' : 'modify', 'extent', $extent->{'device'}); &redirect("list_extents.cgi");