\n"; echo "alert(\"$A42_L\");\n"; echo "\n"; exit; } } if( file_exists("Cwfmini.php") ) { include_once("Cwfmini.php"); $ok = false; if( @copy("Cwfmini.php", "data/Cwfmini.php") ) { if( @chmod("data/Cwfmini.php", 0400) ) { if( @unlink("Cwfmini.php") ) $ok = true; } } if( !$ok ) { include_once("English.php"); echo "\n"; exit; } } else if( file_exists("data/Cwfmini.php") ) include_once("data/Cwfmini.php"); else $Language = "English"; include_once("Userdb.php"); include_once("lang/$Language.php"); if( !@is_dir("tmp") ) { if( !@mkdir("tmp", 0300) ) { echo "\n"; exit; } } // Moves data files to 'data' directory if( file_exists("user.dat.php") ) { $ok = false; if( @copy("user.dat.php", "data/user.dat.php") ) { if( @chmod("data/user.dat.php", 0600) ) { if( @unlink("user.dat.php") ) $ok = true; } } if( !$ok ) { echo "\n"; exit; } } if( file_exists("desc.dat.php") ) { $ok = false; if( @copy("desc.dat.php", "data/desc.dat.php") ) { if( @chmod("data/desc.dat.php", 0600) ) { if( @unlink("desc.dat.php") ) $ok = true; } } if( !$ok ) { echo "\n"; exit; } } if( file_exists("desc.idx.php") ) { $ok = false; if( @copy("desc.idx.php", "data/desc.idx.php") ) { if( @chmod("data/desc.idx.php", 0600) ) { if( @unlink("desc.idx.php") ) $ok = true; } } if( !$ok ) { echo "\n"; exit; } } UpgradeUserDb(); ?> Comet WebFileManager V 0.9.1 - Login > \n"; echo "document.location='Options.php'"; echo "\n"; } else { echo ""; } } else if( $name == md5($AdUser.session_id()) && $password == md5($AdPassword.session_id()) ) { session_register("sid"); session_register("cwfmPath"); session_register("Uname"); $cwfmPath = getcwd(); $sid = session_id(); $Uname = $AdUser; echo "\n"; exit; } else if( !validUser($name, $password) ) { echo ""; } else { SetSessionValues($name); @unlink("tmp/$sid/fsel.php"); @unlink("tmp/$sid/df.php"); @unlink("tmp/$sid/tmp.zip"); @unlink("tmp/$sid/fcopy.php"); @unlink("tmp/$sid/fcut.php"); @unlink("tmp/$sid/dcopy.php"); @unlink("tmp/$sid/dcut.php"); @unlink("tmp/$sid/fstat"); @rmdir("tmp/$sid"); echo "\n"; exit; } } ?>
Comet WebFileManager Login
Password
.