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

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/libexec/webmin/sendmail/   drwxr-xr-x
Free 5.3 GB of 27.03 GB (19.6%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     edit_file.cgi (2.25 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# edit_file.cgi
# Display the contents of a file for editing

require './sendmail-lib.pl';
&error_setup($text{'file_err'});
$access{'manual'} || &error($text{'file_ecannot'});
&ReadParse();
$conf = &get_sendmailcf();
if ($in{'mode'} eq 'aliases') {
    require './aliases-lib.pl';
    $file = &aliases_file($conf)->[$in{'idx'}];
    $return = "list_aliases.cgi";
    $rmsg = $text{'aliases_return'};
    $access{'amode'} == 1 && $access{'aedit_1'} && $access{'aedit_2'} &&
        $access{'aedit_3'} && $access{'aedit_4'} && $access{'aedit_5'} &&
        $access{'amax'} == 0 && $access{'apath'} eq '/' ||
        &error($text{'file_ealiases'});
    }
elsif ($in{'mode'} eq 'virtusers') {
    require './virtusers-lib.pl';
    $file = &virtusers_file($conf);
    $return = "list_virtusers.cgi";
    $rmsg = $text{'virtusers_return'};
    $access{'vmode'} == 1 && $access{'vedit_0'} && $access{'vedit_1'} &&
        $access{'vedit_2'} && $access{'vmax'} == 0 ||
        &error($text{'file_evirtusers'});
    }
elsif ($in{'mode'} eq 'mailers') {
    require './mailers-lib.pl';
    $file = &mailers_file($conf);
    $return = "list_mailers.cgi";
    $rmsg = $text{'mailers_return'};
    $access{'mailers'} || &error($text{'file_emailers'});
    }
elsif ($in{'mode'} eq 'generics') {
    require './generics-lib.pl';
    $file = &generics_file($conf);
    $return = "list_generics.cgi";
    $rmsg = $text{'generics_return'};
    $access{'omode'} == 1 || &error($text{'file_egenerics'});
    }
elsif ($in{'mode'} eq 'domains') {
    require './domain-lib.pl';
    $file = &domains_file($conf);
    $return = "list_domains.cgi";
    $rmsg = $text{'domains_return'};
    $access{'domains'} || &error($text{'file_edomains'});
    }
elsif ($in{'mode'} eq 'access') {
    require './access-lib.pl';
    $file = &access_file($conf);
    $return = "list_access.cgi";
    $rmsg = $text{'access_return'};
    $access{'access'} || &error($text{'file_eaccess'});
    }
else { &error($text{'file_emode'}); }

&ui_print_header(undef, $text{'file_title'}, "");
open(FILE, $file);
@lines = <FILE>;
close(FILE);

print &text('file_desc', "<tt>$file</tt>"),"<p>\n";

print &ui_form_start("save_file.cgi", "form-data");
print &ui_hidden("mode", $in{'mode'});
print &ui_hidden("idx", $in{'idx'});
print &ui_textarea("text", join("", @lines), 20, 80);
print &ui_form_end([ [ undef, $text{'save'} ] ]);

&ui_print_footer($return, $rmsg);


:: 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 #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0035 ]--