ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:32.52 GB of 70.42 GB (46.18%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ usr/ share/ debconf/ - drwxr-xr-x

Directory:
Viewing file:     transition_db.pl (2.35 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl -w
# This file was preprocessed, do not edit!
use strict;
use Debconf::Db;
use Debconf::Question;
use Debconf::Template;

my $dir = shift || '/var/lib/debconf';

Debconf::Db->load;

our %questions;
our %templates;

foreach my $thing (qw(templates debconf)) {
    if (-e "$dir/$thing.db") {
        eval qq{require "$dir/$thing.db"};
        print STDERR $@ if $@;
    }
    else {
        print STDERR "Skipping $dir/$thing.db: DNE\n";
    }
}

foreach my $t (keys %templates) {
    $templates{$t}->{_name}=$t;
}

my $skipped=0;

foreach my $item (keys %questions) {
    my @owners=grep { $_ ne '' } keys %{$questions{$item}->{owners}};
    delete $questions{$item}, next unless @owners;

    next unless defined $questions{$item}->{template}->{_name};

    my $tname=$questions{$item}->{template}->{_name};
    $skipped++, next unless defined $tname;
    my $type=$templates{$tname}->{type};
    my $question=Debconf::Question->new($item, pop(@owners), $type);
    $question->addowner($_, '') foreach @owners;
}

my %seen_templates;
foreach my $item (keys %questions) {
    my $question=Debconf::Question->get($item);
    my $tname=$questions{$item}->{template}->{_name};
    $skipped++, next unless defined $tname;
    my $template=Debconf::Template->get($tname);
    unless (defined $template) {
        $template=Debconf::Template->new($tname, $item, $templates{$tname}->{type});
    }
    unless ($seen_templates{$template}) {
        $template->clearall;
        foreach my $field (keys %{$templates{$tname}}) {
            next if $field=~/^_name/; # except this one we added above.
            $template->$field($templates{$tname}->{$field});
        }
    }
    

    if (exists $questions{$item}->{flag_isdefault}) {
        if ($questions{$item}->{flag_isdefault} eq 'false') {
                $question->flag('seen', 'true');
        }
        delete $questions{$item}->{flag_isdefault};
    }
    foreach my $flag (grep /^flag_/, keys %{$questions{$item}}) {
        if ($questions{$item}->{$flag} eq 'true') {
            $flag=~s/^flag_//;
            $question->flag($flag, 'true');
        }
    }
    foreach my $var (keys %{$questions{$item}->{variables}}) {
        $question->variable($var,
            $questions{$item}->{variables}->{$var});
    }
    if (exists $questions{$item}->{value} 
        and defined $questions{$item}->{value}) {
        $question->value($questions{$item}->{value});
    }

    $question->template($questions{$item}->{template}->{_name});
}

Debconf::Db->save;

if ($skipped) {
    print STDERR "While upgrading the debconf database, $skipped corrupt items were skipped.\n";
}
Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.1468 seconds