shell bypass 403

GrazzMean Shell

: /usr/share/doc/perl-Algorithm-Loops/ex/ [ drwxr-xr-x ]
Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.133.130.72
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : Permute.plx
#!/usr/bin/perl -w
use strict;

use Algorithm::Loops qw( NextPermute NextPermuteNum );

Main( @ARGV );
exit 0;


sub Main {
    my @tokens= @_;
    my $noSort= 0;
    my $numComp= 0;
    while(  1 < @tokens  &&  $tokens[0] =~ /^-[^-]/  ) {
        ( my $flag= shift @tokens ) =~ s/^-//;
        while(  '' ne $flag  ) {
            if(  $flag =~ s/^s//  ) {
                $noSort= 1;
            } elsif(  $flag =~ s/^n//  ) {
                $numComp= 1;
            } else {
                die "$0: Unknown command-line option (-$flag).\n";
            }
        }
    }
    if(  0 == @tokens  ) {
        die "Usage: $0 [-s] word\n",
            "   or: $0 [-sn] t o k e n s\n",
            "Prints all unique permutations of the letters or words given.\n",
            "-s prevents the initial sorting of the letters/words.\n",
            "-n compares words as numbers.\n";
    } elsif(  1 == @tokens  ) {
        @tokens= $tokens[0] =~ /(.)/gs;
        $"= "";
    }

    #Sample use:
    my $cnt= 0;

    if(  $noSort  ) {

        if(  $numComp  ) {
            undef &NextPermute;
            *NextPermute= \&NextPermuteNum;
        }

        my $start= "@tokens";
        do {
            print ++$cnt, ": @tokens\n";
            NextPermute(@tokens);
        } while(  $start ne "@tokens"  );

    } elsif(  $numComp  ) {

        @tokens= sort {$a<=>$b} @tokens;
        do {
            print ++$cnt, ": @tokens\n";
        } while(  NextPermuteNum(@tokens)  );

    } else {

        @tokens= sort @tokens;
        do {
            print ++$cnt, ": @tokens\n";
        } while(  NextPermute(@tokens)  );

    }
}
© 2025 GrazzMean