shell bypass 403

UnknownSec Shell

: /scripts/ [ drwxr-xr-x ]

name : xferpoint
#!/usr/local/cpanel/3rdparty/bin/perl

# cpanel - scripts/xferpoint                       Copyright 2022 cPanel, L.L.C.
#                                                           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::AcctUtils::Account     ();
use Cpanel::Validate::Domain::Tiny ();
use Cpanel::Hostname               ();
use Cpanel::Validate::IP::v4       ();

use Whostmgr::Transfers::Utils::XferPoint::Params ();

our $VERSION = '0.6';
if ( $ARGV[0] eq '--version' ) {
    print "VERSION: $VERSION\n";
    exit;
}

my $params_obj = Whostmgr::Transfers::Utils::XferPoint::Params->new(@ARGV);

my $user      = $params_obj->username();
my $sourceip  = $params_obj->sourceip();
my $destip    = $params_obj->destip();
my $domain    = $params_obj->domain();
my $shared_ip = $params_obj->sharedip();

my @nameservers = $params_obj->nameservers();

my $hostname = Cpanel::Hostname::gethostname();

if ( !$user || !$sourceip || !$destip || !$domain || !$shared_ip ) {
    die "Usage: $0 user sourceip destip domain sharedip [flagsnum] [nameserver1 nameserver2 ...]";
}

if ( !Cpanel::AcctUtils::Account::accountexists($user) ) {
    die "The user '$user' doesn't exist.\n";
}

foreach my $ip ( $sourceip, $destip, $shared_ip ) {
    next if $ip eq -1;
    if ( !Cpanel::Validate::IP::v4::is_valid_ipv4($ip) ) {
        die "'$ip' is not a valid ip.\n";
    }
}

if ( !Cpanel::Validate::Domain::Tiny::validdomainname($domain) ) {
    die "'$domain' is not valid as a domain name.\n";
}

if ( @nameservers && scalar @nameservers < 2 ) {
    die "There must be at least two nameservers given.\n";
}

print "[xferpoint] server:$hostname user:$user\n";

# Live Transfer mode obviates the need to block dynamic content.
# With “Express Transfer” mode, though--which is still available via the
# API--we still need to do the blocking. Since we don’t have an argument
# to this script that indicates whether we’re in Express or Live mode,
# we query the system state to determine whether a service proxy was
# set up for HTTP or not.
if ( $params_obj->skip_dynamic_block() ) {
    print "[xferpoint] Per request, skipping creation of dynamic content block.\n";
}
else {
    print "[xferpoint] Blocking dynamic content …\n";
    system '/usr/local/cpanel/scripts/xfertool', '--blockdynamiccontent', $user;
}

if ( -x '/usr/local/cpanel/bin/swapip' ) {
    print "[xferpoint] Updating IP addresses in DNS …\n";
    system '/usr/local/cpanel/bin/swapip', $sourceip, $destip, $shared_ip, $domain;
}

if (@nameservers) {
    print "[xferpoint] Setting nameservers (@nameservers) …\n";
    foreach my $dns (@nameservers) {
        if ( !Cpanel::Validate::Domain::Tiny::validdomainname($dns) ) {
            die "$dns is not valid.\n";
        }
    }
    system '/usr/local/cpanel/scripts/xfertool', '--changenameservers', $user, @nameservers;
}
else {
    print "[xferpoint] not updating nameservers (none provided)\n";
}

print "[xferpoint] complete\n";

#----------------------------------------------------------------------

1;

© 2025 UnknownSec
Display on the page Footer | Anyleson - Learning Platform
INR (₹)
India Rupee
$
United States Dollar

Display on the page Footer

Privacy Policy

Effective Date: 24 August , 2024

At Anyleson, we are committed to protecting your privacy and ensuring that your personal information is handled securely and responsibly. This Privacy Policy outlines how we collect, use, and safeguard your data when you use our platform.


Information We Collect


  1. Personal Information:

    • Name, email address, phone number, and billing details.

    • Account login credentials (username and password).



  2. Course Usage Data:

    • Progress and activity within courses.

    • Feedback and reviews submitted for courses.



  3. Technical Information:

    • IP address, browser type, device information, and cookies for improving website functionality.



  4. Communication Data:

    • Information from your interactions with our customer support.




How We Use Your Information


  1. To Provide Services:

    • Process course purchases, registrations, and access to content.



  2. To Improve User Experience:

    • Analyze user behavior to enhance course offerings and platform features.



  3. To Communicate:

    • Send updates, notifications, and promotional offers (only if you’ve opted in).



  4. For Legal Compliance:

    • Meet legal or regulatory requirements and prevent fraud.




How We Protect Your Information


  1. Data Encryption: All sensitive data is encrypted during transmission using SSL.

  2. Access Control: Only authorized personnel have access to personal information.

  3. Secure Storage: Data is stored on secure servers with regular security updates.


Sharing Your Information

We do not sell, rent, or trade your personal data. However, we may share your information with:


  1. Service Providers:

    • Payment processors and hosting services that assist in delivering our platform.



  2. Legal Authorities:

    • When required by law or to protect our legal rights.




Your Rights


  1. Access and Update: You can view and update your personal information in your account settings.

  2. Request Deletion: You have the right to request deletion of your data by contacting us.

  3. Opt-Out: You can opt out of receiving promotional emails by clicking the “unsubscribe” link in our emails.


Cookies Policy

We use cookies to enhance your experience by:


  • Remembering your preferences.

  • Analyzing website traffic.
    You can manage your cookie preferences through your browser settings.


Third-Party Links

Our platform may contain links to third-party websites. We are not responsible for their privacy practices and recommend reviewing their privacy policies.


Policy Updates

We may update this Privacy Policy from time to time. Changes will be posted on this page, and the "Effective Date" will be updated. Please review the policy periodically.


Contact Us

If you have any questions or concerns about our Privacy Policy or how your data is handled, please contact us at:

Email: support@anyleson.comThank you for trusting Anyleson with your learning journey!