Quote:
cái này gọi ngủy hiểm này :D.j chứ cái code hack cũ chi thêm cái get user key là xóng c̣n j để nói.do nghich ngợm lấy có 120 gem quá đá đă bị reload ddag ngôi hóng cha nào fix đc cái lỗi này đây.
Code:
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>File Manager</title>
<link rel="stylesheet" href="style/cm.css" title="Contemporary" type="text/css"/>
<style type="text/css">
body {
background-color: white;
background-image: url(img/menubg.gif);
background-repeat: repeat-y;
}
</style>
<script type="text/javascript">
// variables for javascript
var currentUser = "u739863077";
var dir = "/public_html";
var uncompress = new Array();
var ucNum = 0;
/*
strip public_html or www from dirname (for file view);
for use within hosting management systems
*/
var site = "hmuprot88.id1945.com";
dir = dir.replace(/^\/www\/?/, "");
dir = dir.replace(/^\/public_html\/?/, "");
</script>
<script type="text/javascript" src="include/script.js"></script>
</head>
<body>
<table cellpadding="0" cellspacing="0" style="height:100%;width:100%;">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="titlebar">
<b>File Manager</b>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="menu">
<table border="0">
<tr>
<td>
<div class="toolbarButton" onClick="submitForm('cd', '..');">
<table border="0">
<tr>
<td>
<img src="img/parent.gif" border="0" alt=""/>
</td>
<td>
Up </td>
</tr>
</table>
</div>
</td>
<td>
<div class="toolbarButton" onClick="changeMode('0');">
<table border="0">
<tr>
<td>
<img src="img/mode.gif" border="0" alt=""/>
</td>
<td>
Switch Binary/ASCII </td>
</tr>
</table>
</div>
</td>
<td>
<div class="toolbarButton" onClick="logOff();">
<table border="0">
<tr>
<td>
<img src="img/logoff.gif" border="0" alt=""/>
</td>
<td>
Log off </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
<td colspan="6" class="menu" width="100%" valign="middle" align="right">
<A HREF="javascript:submitForm('cd', '../')" style='text-decoration:underline;'><hmuprot88.id1945.com></A><A HREF="javascript:submitForm('cd', '../')" style='text-decoration:underline;'></A>/<A HREF="javascript:submitForm('cd', '')" style='text-decoration:underline;'>public_html</A>/ </td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="height:100%;width:100%;">
<div style="display:none;">
<form name="actionform" method="post" action="/2/index.php" enctype="multipart/form-data">
<input type="hidden" name="actionType" value=""/>
<input type="hidden" name="delaction" value=""/>
<input type="hidden" name="currentDir" value="/public_html"/>
<input type="hidden" name="file" value=""/>
<input type="hidden" name="file2" value=""/>
<input type="hidden" name="extension" value=""/>
<input type="hidden" name="permissions" value=""/>
<input type="hidden" name="mode" value="1"/>
</form>
</div>
<table style="height:100%;width:100%;" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="leftmenu" valign="top">
<img src="img/1px.gif" width="212" height="1">
<div align="center">
<br/>
<!-- File and folder -->
<table border="0" cellspacing="0" cellpadding="0" class="item">
<tr>
<td valign="top" class="itemheadContainer">
<div class="itemhead">
File and Folder Tasks </div>
</td>
</tr>
<tr>
<td valign="top" class="leftmenuitem">
<table id="action_delete" border="0" cellspacing="0" cellpadding="0" style="display:none;">
<!-- Delete File -->
<tr>
<td valign="middle"><img src="img/menu_delete.gif" alt=""/></td>
<td valign="middle">
<a href='javascript:deleteFile()' class=leftmenulink>Delete file</A>
</td>
</tr>
</table>
<table id="action_zipdl" style="display:none;" border="0" cellspacing="0" cellpadding="0">
<!-- zip&download directory -->
<tr>
<td valign="middle"><img src="img/zip.gif" alt=""/></td>
<td valign="middle">
<a href='javascript:zipFile()' class=leftmenulink>download</A>
</td>
</tr>
</table>
<table id="action_unzip" style="display:none;" border="0" cellspacing="0" cellpadding="0">
<!-- unzip to <filename>/ -->
<tr>
<td valign="middle"><img src="img/zip.gif" alt=""/></td>
<td valign="middle">
<a href='javascript:unzipFile()' class="leftmenulink" id="unzipto">unzip</A>
</td>
</tr>
</table>
<!-- View file on http server -->
<table id="action_view" style="display:none;" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign=center><img src="img/menu_edit.gif" alt=""/></td>
<td valign=center>
<a href='javascript:viewFile()' class=leftmenulink>View</A>
</td>
</tr>
</table>
<table id="action_edit" style="display:none;" border="0" cellspacing="0" cellpadding="0">
<!-- edit file
Only if $user is allowed to edit the file.
-->
<tr>
<td valign="middle"><img src="img/menu_edit.gif" alt=""/></td>
<td valign="middle">
<a href='javascript:editFile()' class=leftmenulink>Edit</A>
</td>
</tr>
</table>
<table id="action_rename" style="display:none;" border="0" cellspacing="0" cellpadding="0">
<!-- rename file
Only if $user is allowed to rename the file
-->
<tr>
<td VALIGN=top><img src="img/menu_rename.gif" alt=""/></td>
<td VALIGN=top>
<a href='javascript:setNewFileName()' class=leftmenulink>Rename</A>
<!-- Rename file -->
<DIV ID='renameFileEntry' style='display:none;'>
<form NAME=renameFile>
<table border="0" cellpadding="0" cellspacing="0" class=lined align=center>
<tr>
<td class=tinyblue>
<B>New name</B><br/>
<input type="text" name="newName" value=""/></td>
</tr>
</table>
<br/>
<div align=center><input type=button onclick='renameItem();' value='Rename'/></div>
</form>
<br/>
</div>
</td>
</tr>
</table>
<table id="action_permissions" style="display:none;" border="0" cellspacing="0" cellpadding="0">
<!-- permissions
Only if $user is allowed to edit the permissions
-->
<tr>
<td valign="top"><img src="img/menu_settings.gif" alt=""/></td>
<td valign="top">
<a href="javascript:;" onClick="setPermissions()" class="leftmenulink">Change permissions</a>
<!-- Change permissions -->
<div id="setPermissions" style="display:none;">
<form name=permissions>
<table border="0" cellpadding="0" cellspacing="0" class="lined" align="center">
<tr>
<td class="tinyblue" align="center"><b>Owner</b></td>
<td class="tiny" align="center"><b>Group</b></td>
<td class="tinywhite" align="center"><b>Public</b></td>
</tr>
<tr>
<td class="tinyblue"><input type="checkbox" name="iOr"/> Read</td>
<td class="tiny"><input type="checkbox" name="iGr"/> Read</td>
<td class="tinywhite"><input type="checkbox" name="iPr"/> Read</td>
</tr>
<tr>
<td class="tinyblue"><input type="checkbox" name="iOw"/> Write</td>
<td class="tiny"><input type="checkbox" name="iGw"/> Write</td>
<td class="tinywhite"><input type="checkbox" name="iPw"/> Write</td>
</tr>
<tr>
<td class="tinyblue"><input type="checkbox" name="iOx"/> Exec.</td>
<td class="tiny"><input type="checkbox" name="iGx"/> Exec.</td>
<td class="tinywhite"><input type="checkbox" name="iPx"/> Exec.</td>
</tr>
</table>
<br/>
<div align="center"><input type="button" onClick="changePermissions()" value="Change permissions"/></div>
</form>
<br/>
</div>
</td>
</tr>
</table>
<!-- Standaard actions -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td VALIGN=top><img src="img/upload.gif" border="0" alt=""/></td>
<td VALIGN=top>
<a href="JavaScript:toggle('uploadform');" class=leftmenulink>Upload file</A>
<form id="uploadform" style="display:none;" name="uploadform" enctype="multipart/form-data" method="post" action="/2/index.php">
<input type="hidden" name="actionType" value="put"/>
<input type='hidden' name='currentDir' value='/public_html'/>
<input type='hidden' name='mode' value='1'/>
<input type="file" name="file" size="8" style="width:100px; font-size:7pt;" onChange='/*document.uploadform.submit();*/'/><br/>
<input type="checkbox" name="putunzip"/>Compressed folder <input type="submit" value="Ok" style='width=150px; font-size:7pt;'/>
</form>
</td>
</tr>
<tr>
<td valign="top"><img src="img/createdir.gif" border="0" alt=""/></td>
<td valign="top">
<a href="JavaScript:toggle('createform');" class=leftmenulink>Create Directory</A>
<form id="createform" style='display:none;' method=post name='dirinput' action="/2/index.php">
<input type="text" name="directory" value="" style="width:100px; font-size:7pt;"/>
<input type="button" value="Ok" onClick="javascript:createDirectory(dirinput.directory.value)" style="width:40px; font-size:7pt;"/>
</form>
</td>
</tr>
<tr>
<td valign="top"><img src="img/gotodir.gif" border="0" alt=""/></td>
<td valign="top">
<a href="JavaScript:toggle('gotoform');" class="leftmenulink">Go to Directory</a>
<form id="gotoform" style="display:none;" name="cdDirect" method="post" action="/2/index.php">
<input type='hidden' name='actionType' value='cd'/>
<input type='hidden' name='currentDir' value='/public_html'/>
<input type="text" name="file" value="" style="width:100px; font-size:7pt;"/>
<input type="submit" value="Ok" style="width:40px; font-size:7pt;"/>
</form>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br/><br/>
<!-- Details -->
<table border="0" cellpadding="0" cellspacing="0" class="item">
<tr>
<td valign="top" class="itemheadContainer">
<div class="itemhead">
Details </div>
</td>
</tr>
<tr>
<td valign="top" class=leftmenuitem style='color:black' >
<br/>
<div style="width:170px;overflow:hidden;">
<B>public_html</B>
<P>
Connected to hmuprot88.id1945.com:21 (UNIX) <P>
Transfer mode :Binary <br/><br/>
</div>
</td>
</tr>
</table>
</div>
</td>
<td valign="top">
<div id="filelist">
<table width="100%" border="0" cellspacing="0" cellpadding="0" onclick='resetEntries()'>
<tr>
<td colspan="2" class="listhead">Name</td>
<td class="listhead" align="right">Size </td>
<td class="listhead">Type </td>
<td class="listhead">Date</td>
<td class="listhead">Permissions</td>
<td class="listhead">Owner</td>
<td class="listhead">Group</td>
</tr>
<tr>
<td class="filenamecol" width="20"><a href="javascript:selectEntry('get','abc.php','filename0','u739863077','-rw-r--r--','delfile')" onDblClick="submitForm('get','abc.php')"><img src="img/php.gif" align="top" border="0" alt=""/></a></td>
<td class="filenamecol"><a class="filename" id='filename0' href="javascript:selectEntry('get','abc.php','filename0','u739863077','-rw-r--r--','delfile')" onDblClick="submitForm('get','abc.php')">abc.php</A></td>
<td class="listcol" align="right">10 KB</td>
<td class="listcol" align="left">PHP Script</td>
<td class="listcol">Jul 23 23:03</td>
<td class="listcol">-rw-r--r--</td>
<td class="listcol">u739863077</td>
<td class="listcol">u739863077</td>
</tr>
<tr>
<td class="filenamecol" width="20"><a href="javascript:selectEntry('get','kamejoko.php','filename1','u739863077','-rw-r--r--','delfile')" onDblClick="submitForm('get','kamejoko.php')"><img src="img/php.gif" align="top" border="0" alt=""/></a></td>
<td class="filenamecol"><a class="filename" id='filename1' href="javascript:selectEntry('get','kamejoko.php','filename1','u739863077','-rw-r--r--','delfile')" onDblClick="submitForm('get','kamejoko.php')">kamejoko.php</A></td>
<td class="listcol" align="right">16 KB</td>
<td class="listcol" align="left">PHP Script</td>
<td class="listcol">Jul 22 17:53</td>
<td class="listcol">-rw-r--r--</td>
<td class="listcol">u739863077</td>
<td class="listcol">u739863077</td>
</tr>
<tr>
<td class="filenamecol" width="20"><a href="javascript:selectEntry('get','violet.php','filename2','u739863077','-rw-r--r--','delfile')" onDblClick="submitForm('get','violet.php')"><img src="img/php.gif" align="top" border="0" alt=""/></a></td>
<td class="filenamecol"><a class="filename" id='filename2' href="javascript:selectEntry('get','violet.php','filename2','u739863077','-rw-r--r--','delfile')" onDblClick="submitForm('get','violet.php')">violet.php</A></td>
<td class="listcol" align="right">10 KB</td>
<td class="listcol" align="left">PHP Script</td>
<td class="listcol">Jul 23 23:08</td>
<td class="listcol">-rw-r--r--</td>
<td class="listcol">u739863077</td>
<td class="listcol">u739863077</td>
</tr>
<tr>
<td class="filenamecol" width="20"><a href="javascript:selectEntry('cd','__MACOSX','filename3','u739863077','drwxrwxr-x','deldir')" onDblClick="submitForm('cd','__MACOSX')"><img src="img/folder.gif" align="top" border="0" alt=""/></a></td>
<td class="filenamecol"><a class="filename" id='filename3' href="javascript:selectEntry('cd','__MACOSX','filename3','u739863077','drwxrwxr-x','deldir')" onDblClick="submitForm('cd','__MACOSX')">__MACOSX</A></td>
<td class="listcol" align="right"></td>
<td class="listcol" align="left">File Folder</td>
<td class="listcol">Jul 20 13:44</td>
<td class="listcol">drwxrwxr-x</td>
<td class="listcol">u739863077</td>
<td class="listcol">u739863077</td>
</tr>
<tr>
<td class="filenamecol" width="20"><a href="javascript:selectEntry('cd','dc','filename4','u739863077','drwxr-xr-x','deldir')" onDblClick="submitForm('cd','dc')"><img src="img/folder.gif" align="top" border="0" alt=""/></a></td>
<td class="filenamecol"><a class="filename" id='filename4' href="javascript:selectEntry('cd','dc','filename4','u739863077','drwxr-xr-x','deldir')" onDblClick="submitForm('cd','dc')">dc</A></td>
<td class="listcol" align="right"></td>
<td class="listcol" align="left">File Folder</td>
<td class="listcol">Jul 20 13:44</td>
<td class="listcol">drwxr-xr-x</td>
<td class="listcol">u739863077</td>
<td class="listcol">u739863077</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>