!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-oracle-5.13-headers-5.13.0-1018/scripts/   drwxr-xr-x
Free 83.33 GB of 96.73 GB (86.15%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     checkdeclares.pl (1.1 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0
#
# checkdeclares: find struct declared more than once
#
# Copyright 2021 Wan Jiabing<[email protected]>
# Inspired by checkincludes.pl
#
# This script checks for duplicate struct declares.
# Note that this will not take into consideration macros so
# you should run this only if you know you do have real dups
# and do not have them under #ifdef's.
# You could also just review the results.

use strict;

sub usage {
    print "Usage: checkdeclares.pl file1.h ...\n";
    print "Warns of struct declaration duplicates\n";
    exit 1;
}

if ($#ARGV < 0) {
    usage();
}

my $dup_counter = 0;

foreach my $file (@ARGV) {
    open(my $f, '<', $file)
        or die "Cannot open $file: $!.\n";

    my %declaredstructs = ();

    while (<$f>) {
        if (m/^\s*struct\s*(\w*);$/o) {
            ++$declaredstructs{$1};
        }
    }

    close($f);

    foreach my $structname (keys %declaredstructs) {
        if ($declaredstructs{$structname} > 1) {
            print "$file: struct $structname is declared more than once.\n";
            ++$dup_counter;
        }
    }
}

if ($dup_counter == 0) {
    print "No duplicate struct declares found.\n";
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0048 ]--