hello
Server : Apache/2.4.52 (Ubuntu) System : Linux HAN2 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : servadmin ( 1000) PHP Version : 8.1.2-1ubuntu2.25 Disable Function : NONE Directory : /usr/share/webmin/shorewall6/ |
#!/usr/bin/perl
# stop.cgi
# Shut down the firewall
require './shorewall6-lib.pl';
if ($access{'nochange'}) {
&redirect("/");
exit 0;
}
&error_setup($text{'stop_err'});
$out = &backquote_logged("$config{'shorewall6'} stop 2>&1");
if ($?) {
&error("<pre>$out</pre>");
}
&webmin_log("stop");
&redirect("");