!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/src/linux-2.4.18-xfs-1.1/scripts/   drwxr-xr-x
Free 318.36 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     checkconfig.pl (1.69 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#! /usr/bin/perl
#
# checkconfig: find uses of CONFIG_* names without matching definitions.
# Copyright abandoned, 1998, Michael Elizabeth Chastain <mailto:mec@shout.net>.

use integer;

$| = 1;

foreach $file (@ARGV)
{
    # Open this file.
    open(FILE, $file) || die "Can't open $file: $!\n";

    # Initialize variables.
    my $fInComment   = 0;
    my $fInString    = 0;
    my $fUseConfig   = 0;
    my $iLinuxConfig = 0;
    my %configList   = ();

    LINE: while ( <FILE> )
    {
    # Strip comments.
    $fInComment && (s+^.*?\*/+ +o ? ($fInComment = 0) : next);
    m+/\*+o && (s+/\*.*?\*/+ +go, (s+/\*.*$+ +o && ($fInComment = 1)));

    # Pick up definitions.
    if ( m/^\s*#/o )
    {
        $iLinuxConfig      = $. if m/^\s*#\s*include\s*"linux\/config\.h"/o;
        $configList{uc $1} = 1  if m/^\s*#\s*include\s*"config\/(\S*)\.h"/o;
    }

    # Strip strings.
    $fInString && (s+^.*?"+ +o ? ($fInString = 0) : next);
    m+"+o && (s+".*?"+ +go, (s+".*$+ +o && ($fInString = 1)));

    # Pick up definitions.
    if ( m/^\s*#/o )
    {
        $iLinuxConfig      = $. if m/^\s*#\s*include\s*<linux\/config\.h>/o;
        $configList{uc $1} = 1  if m/^\s*#\s*include\s*<config\/(\S*)\.h>/o;
        $configList{$1}    = 1  if m/^\s*#\s*define\s+CONFIG_(\w*)/o;
        $configList{$1}    = 1  if m/^\s*#\s*undef\s+CONFIG_(\w*)/o;
    }

    # Look for usages.
    next unless m/CONFIG_/o;
    WORD: while ( m/\bCONFIG_(\w+)/og )
    {
        $fUseConfig = 1;
        last LINE if $iLinuxConfig;
        next WORD if exists $configList{$1};
        print "$file: $.: need CONFIG_$1.\n";
        $configList{$1} = 0;
    }
    }

    # Report superfluous includes.
    if ( $iLinuxConfig && ! $fUseConfig )
    { print "$file: $iLinuxConfig: linux/config.h not needed.\n"; }

    close(FILE);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0256 ]--