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

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

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

Safe-mode: OFF (not secure)

/usr/share/ifupdown/   drwxr-xr-x
Free 130.05 GB of 142.11 GB (91.51%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     upgrade-from-0.5.x.pl (1.05 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl -w

use strict;

my %doneifaces = ();
my @orig = ();   # original interfaces file
my $line;

while($line = <STDIN>) {
    if ($line =~ m/^\s*#/) {
        push @orig, $line;
        next;
    }

    my $tmp;
    while ($line =~ m/\\\n$/ and $tmp = <>) {
        $line .= $tmp;
    }
    push @orig, $line;
}

my $out = "";
my $block = "";
my $auto = "";
for my $x (@orig) {
    my $y = $x;
    $y =~ s/^\s*//s;
    $y =~ s/\\\n//sg;
    $y =~ s/\s*$//s;

    if ($y =~ m/^scheme\b/) {
        print STDERR "Schemes cannot be automatically converted\n";
        exit(1);
    }
    if ($y =~ m/^auto\b/) {
        print STDERR "File seems to already be converted\n";
        exit(1);
    }

    if ($y =~ m/^iface\b/s) {
        $out .= $auto . $block;
        $block = $x;
        if ($y =~ m/^iface\s+(\S+)/s && ! $doneifaces{$1}++ ) {
            $auto = "# automatically added when upgrading\n";
            $auto .= "auto $1\n";
        } else {
            $auto = "";
        }
        next;
    }

    if ($y =~ m/^noauto/) {
        $auto = "";
        my $spaces = $x;
        $spaces =~ s/\S.*$//s;
        $block .= $spaces . "# noauto (removed on upgrade)\n";
        next;
    }

    $block .= $x;
}

$out .= $auto . $block;

print $out;

:: 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 KaizenLouie | C99Shell Github | Generation time: 0.0156 ]--