⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
webmin
/
syslog
/
Edit File: cgi_args.pl
do 'syslog-lib.pl'; sub cgi_args { my ($cgi) = @_; if ($cgi eq 'edit_log.cgi' && $access{'syslog'}) { # Link to editor for first log my $conf = &get_config(); my @logs = grep { !$_->{'tag'} && &can_edit_log($_) } @$conf; return @logs ? 'idx='.$logs[0]->{'index'} : $access{'noedit'} ? 'none' : 'new=1'; } elsif ($cgi eq 'save_log.cgi') { if ($access{'syslog'}) { # View first system log my $conf = &get_config(); my @logs = grep { !$_->{'tag'} && &can_edit_log($_) && $_->{'file'} && -f $_->{'file'} } @$conf; if (@logs) { return 'view=1&idx='.$logs[0]->{'index'}; } } # View first individual log my @extras = grep { &can_edit_log($_) } &extra_log_files(); return @extras ? 'view=1&extra='.&urlize($extras[0]->{'file'}) : 'none'; } return undef; }
Simpan