1.如上图先选中忘了的数据库,点击文件》》》导出文件》》》选择该文件,同时勾选导出密码》》》再用notepad++打开,搜索password,找到password后边的一串加密,如下图
2.然后打开该连接:代码在线运行 - 在线工具
3.输入如下php代码:
class NavicatPassword
{
protected $version = 0;
protected $aesKey = 'libcckeylibcckey';
protected $aesIv = 'libcciv libcciv ';
protected $blowString = '3DC5CA39';
protected $blowKey = null;
protected $blowIv = null;
public function __construct($version = 12)
{
$this->version = $version;
$this->blowKey = sha1('3DC5CA39', true);
$this->blowIv = hex2bin('d9c7c3c8870d64bd');
}
public function encrypt($string)
{
$result = FALSE;
switch ($this->version) {
case 11:
$result = $this->encryptEleven($string);
&nbs