数据库文件已加密并包含html代码

时间:2015-11-04 17:00:17

标签: mysql wordpress database-backups wordpress-ecommerce

我的朋友得到了他的网站备份并发给我这个问题

尝试使用记事本,原子和多个IDE打开备份数据库时,他的备份数据库已加密 但当他尝试用崇高的方式打开它时,需要花费一些时间才能打开,并且会打开非常长的加密线

在数据库文件的末尾有一个html代码

基本上,数据库文件的showen行只是该数据库的2个表的数据

他的网站正在使用WordPress电子商务

他的网站备份由托管公司发送给他DVD

有谁知道这个HTML代码是什么以及如何获得完整备份

是否与托管公司有关,因为每次我们尝试联系他们时,他们会要求1年订阅支持约2000美元

如果实际上有SQL和HTML组合的解释以及为什么代码在其他IDE中加密?

或者我不确定给我们转储SQL备份文件的公司的意图。

我不得不使用android app写这篇文章抱歉无组织的帖子

这是使用Brackets IDE显示加密代码的图像 enter image description here

这个使用sublime没有加密 enter image description here

正如我所提到的,代码上只显示了2个表

enter image description here

这个SQL文件中的完整HTML

    <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="icon" href="./favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
    <title>phpMyAdmin</title>
    <link rel="stylesheet" type="text/css" href="phpmyadmin.css.php?server=1&amp;token=f78a6d5e43126548fd642c1cffeb7a6c&amp;js_frame=right&amp;nocache=5597972424" />
    <link rel="stylesheet" type="text/css" href="print.css" media="print" />
    <link rel="stylesheet" type="text/css" href="./themes/pmahomme/jquery/jquery-ui-1.8.16.custom.css" />
    <meta name="robots" content="noindex,nofollow" />
<script src="./js/cross_framing_protection.js?ts=1375007690" type="text/javascript"></script>
<script src="./js/jquery/jquery-1.6.2fix-9521.js?ts=1402701221" type="text/javascript"></script>
<script src="./js/jquery/jquery-ui-1.8.16.custom.js?ts=1375007690" type="text/javascript"></script>
<script src="./js/update-location.js?ts=1375007690" type="text/javascript"></script>
<script src="./js/config.js?ts=1375007690" type="text/javascript"></script>
<script src="./js/functions.js?ts=1375007690" type="text/javascript"></script>
<script src="./js/jquery/jquery.qtip-1.0.0-rc3.js?ts=1375007690" type="text/javascript"></script>
<script src="./js/messages.php?lang=en&amp;db=rosepai1_check&amp;token=f78a6d5e43126548fd642c1cffeb7a6c" type="text/javascript"></script>
<script src="./js/get_image.js.php?theme=pmahomme" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
if (typeof(parent.document) != 'undefined' && typeof(parent.document) != 'unknown'
    && typeof(parent.document.title) == 'string') {
    parent.document.title = 'localhost / rosepai1_check / wp_commentmeta | phpMyAdmin 3.5.8.2';
}
// ]]>
</script>
        <meta name="OBGZip" content="true" />
                <!--[if IE 6]>
        <style type="text/css">
        /* <![CDATA[ */
        html {
            overflow-y: scroll;
        }
        /* ]]> */
        </style>
        <![endif]-->
    </head>

    <body>
            <div id="prefs_autoload" class="notice" style="display:none">
        <form action="prefs_manage.php" method="post">
            <input type="hidden" name="token" value="f78a6d5e43126548fd642c1cffeb7a6c" />
            <input type="hidden" name="json" value="" />
            <input type="hidden" name="submit_import" value="1" />
            <input type="hidden" name="return_url" value="export.php?" />
            Your browser has phpMyAdmin configuration for this domain. Would you like to import it for current session?            <br />
            <a href="#yes">Yes</a> / <a href="#no">No</a>
        </form>
    </div>
    <div id='floating_menubar'></div>
<div id='serverinfo'>
<img src="themes/dot.gif" title="" alt="" class="icon ic_s_host item" />
<a href="main.php?token=f78a6d5e43126548fd642c1cffeb7a6c" class="item">localhost</a>
<span class='separator item'>&nbsp;»</span>
<img src="themes/dot.gif" title="" alt="" class="icon ic_s_db item" />
<a href="db_structure.php?db=rosepai1_check&amp;token=f78a6d5e43126548fd642c1cffeb7a6c" class="item">rosepai1_check</a>
<span class='separator item'>&nbsp;»</span>
<img src="themes/dot.gif" title="" alt="" class="icon ic_s_tbl item" />
<a href="sql.php?db=rosepai1_check&amp;table=wp_commentmeta&amp;token=f78a6d5e43126548fd642c1cffeb7a6c" class="item">wp_commentmeta</a>
<span class="hide" id="update_recent_tables"></span><div class="clearfloat"></div></div>
<!-- PMA-SQL-ERROR -->
    <div class="error"><h1>Error</h1>
    <p><strong>SQL query:</strong>
<a href="tbl_sql.php?sql_query=SHOW+TABLE+STATUS+FROM+%60rosepai1_check%60+LIKE+%27wp_commentmeta%27&amp;show_query=1&amp;db=rosepai1_check&amp;table=wp_commentmeta&amp;token=f78a6d5e43126548fd642c1cffeb7a6c"><span class="nowrap"><img src="themes/dot.gif" title="Edit" alt="Edit" class="icon ic_b_edit" /> Edit</span></a>    </p>
    <p>
        <span class="syntax"><span class="inner_sql"><a href="./url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.5%2Fen%2Fshow.html&amp;token=f78a6d5e43126548fd642c1cffeb7a6c" target="mysql_doc"><span class="syntax_alpha syntax_alpha_reservedWord">SHOW</span></a>  <span class="syntax_alpha syntax_alpha_reservedWord">TABLE</span>  <span class="syntax_alpha syntax_alpha_reservedWord">STATUS</span>  <span class="syntax_alpha syntax_alpha_reservedWord">FROM</span>  <span class="syntax_quote syntax_quote_backtick">`rosepai1_check`</span>  <a href="./url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.5%2Fen%2Fstring-comparison-functions.html%23operator_like&amp;token=f78a6d5e43126548fd642c1cffeb7a6c" target="mysql_doc"><span class="syntax_alpha syntax_alpha_reservedWord">LIKE</span></a>  <span class="syntax_quote syntax_quote_single">'wp_commentmeta'</span></span></span>
    </p>
<p>
    <strong>MySQL said: </strong><a href="./url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.5%2Fen%2Ferror-messages-server.html&amp;token=f78a6d5e43126548fd642c1cffeb7a6c" target="mysql_doc"><img src="themes/dot.gif" title="Documentation" alt="Documentation" class="icon ic_b_help" /></a>
</p>
<code>
#2006 - MySQL server has gone away
</code><br />
</div><script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
// updates current settings
if (window.parent.setAll) {
    window.parent.setAll('en', 'utf8_general_ci', '1', 'rosepai1_check', 'wp_commentmeta', 'f78a6d5e43126548fd642c1cffeb7a6c');
}
    // set current db, table and sql query in the querywindow
if (window.parent.reload_querywindow) {
    window.parent.reload_querywindow(
        'rosepai1_check',
        'wp_commentmeta',
        '');
}

if (window.parent.frame_content) {
    // reset content frame name, as querywindow needs to set a unique name
    // before submitting form data, and navigation frame needs the original name
    if (typeof(window.parent.frame_content.name) != 'undefined'
     && window.parent.frame_content.name != 'frame_content') {
        window.parent.frame_content.name = 'frame_content';
    }
    if (typeof(window.parent.frame_content.id) != 'undefined'
     && window.parent.frame_content.id != 'frame_content') {
        window.parent.frame_content.id = 'frame_content';
    }
    //window.parent.frame_content.setAttribute('name', 'frame_content');
    //window.parent.frame_content.setAttribute('id', 'frame_content');
}
});

//]]>
</script>
</body>
</html>

0 个答案:

没有答案