📁
SKYSHELL MANAGER
PHP v8.2.31
Create
Create
Path:
root
/
home
/
thevaxnx
/
nativize.com
/
staging
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
wp-links-opml.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: webdiskvbs.cgi
#!/usr/local/cpanel/3rdparty/bin/perl # Copyright 2024 WebPros International, LLC # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited use cPstrict; use Cpanel::Imports; use Cpanel::Encoder::URI (); use Cpanel::Encoder::Tiny (); use Cpanel::Validate::Domain::Tiny (); my ( $domain, $ssl, $port ) = split( /\|/, Cpanel::Encoder::URI::uri_decode_str( $ENV{'QUERY_STRING'} ) ); if ( !$domain || !Cpanel::Validate::Domain::Tiny::validdomainname($domain) ) { logger->warn('Invalid domain name passed.'); my $invalidDomainTitle = Cpanel::Encoder::Tiny::safe_html_encode_str( locale->maketext('Invalid Domain') ); my $invalidDomainBody = Cpanel::Encoder::Tiny::safe_html_encode_str( locale->maketext('An invalid domain name was passed.') ); print "Content-type: text/html\r\n\r\n<html><head><title>$invalidDomainTitle</title></head><body>$invalidDomainBody</body></html>"; exit; } # Normalize values $ssl = int($ssl); $port = int($port); $port = $port ? $port : $ssl ? '2078' : '2077'; my $url = ( $ssl ? 'https://' : 'http://' ) . $domain . ':' . $port . '/'; my $secure = $ssl ? 'Secure ' : ''; my $txtsecure = $ssl ? 'Secure ' : ''; my $usecure = $ssl ? 'Secure_' : ''; print <<EOM; Content-Type: application/download; name="${domain} ${secure}WebDisk.vbs"; Content-Disposition: attachment; filename="${domain} ${secure}WebDisk.vbs"; EOM open( my $wdisk_fh, '<', '/usr/local/cpanel/base/backend/webdisk.vbs' ) or die $!; while ( readline($wdisk_fh) ) { s/\%domain\%/$domain/g; s/\%url\%/$url/g; s/\%txtsecure\%/$txtsecure/g; s/\%secure\%/$secure/g; s/\%usecure\%/$usecure/g; print; } close($wdisk_fh);
Save