| Server IP : 89.117.53.150 / Your IP : 216.73.216.11 Web Server : Apache System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : iscmbt-kufa-atu ( 1014) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/filemin/ |
Upload File : |
#!/usr/bin/perl
require './filemin-lib.pl';
&ReadParse();
get_paths();
my @names = split(/\0/, $in{'name'});
foreach $name (@names) {
&validate_filename_path($name);
}
open(my $fh, ">", &get_paste_buffer_file()) or die "Error: $!";
print $fh "copy\n";
print $fh "$path\n";
#$info = "Copied ".scalar(@list)." files to buffer";
foreach $name (@names) {
print $fh "$name\n";
}
close($fh);
&redirect("index.cgi?path=".&urlize($path));