資源簡介
最新的魅族MX全系列bin格式解包工具
完美解包、打包flyme 3.0 的固件。
代碼片段和文件信息
#include?
#include?
#include?“cryptoworker.h“
#include?“aescrypt.h“
/*
?*??Define?externals
?*/
/*extern?wchar_t?*optarg;
extern?int?????optopt;
extern?int?????optind;
extern?int?????opterr;
*/
CryptoWorker::CryptoWorker(QString?input?QString?output?int?decrypting)?:?QRunnable()
{
????this->input?=?input;
????this->output?=?output;
????this->decrypting?=?decrypting;
}
void?CryptoWorker::run()
{
????qDebug()?<?%3“)
???????????.arg(reinterpret_cast(QThread::currentThread()->currentThreadId()))
???????????.arg(input).arg(output);
????int?rc;
????FILE?*infp?=?NULL;
????FILE?*outfp?=?NULL;
????if?((?infp?=?_wfopen(this->input.toStdWString().c_str()?L“rb“))?==?NULL)
????????goto?close_handles_and_return;
????if?((outfp?=?_wfopen(this->output.toStdWString().c_str()?L“wb“))?==?NULL)
????????goto?close_handles_and_return;
????if?(this->decrypting)
????{
????????//?should?probably?test?against?ascii?utf-16le?and?utf-16be?encodings
????????rc?=?decrypt_stream_hardcoded(infp?outfp);
????}
????else
????{
????????rc?=?encrypt_stream_hardcoded(infp?outfp);
????}
????emit?signalWorkFinished(rc?QString(“Finished“));
close_handles_and_return:
????if?(infp)?fclose(infp);
????if?(outfp)?fclose(outfp);
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-01-04?13:10??BIN解包工具\
?????目錄???????????0??2012-10-21?17:42??BIN解包工具\doc\
?????文件????????4507??2010-10-18?03:46??BIN解包工具\doc\AESCrypt-Readme.txt
?????文件???????17994??2011-06-24?08:23??BIN解包工具\doc\GPLv2.TXT
?????文件?????????298??2012-10-21?03:58??BIN解包工具\Download?DLL.txt
?????文件??????138752??2012-10-21?03:47??BIN解包工具\MzCrypt-Gui.exe
?????文件?????2519552??2012-06-09?14:33??BIN解包工具\QtCore4.dll
?????文件?????8350720??2012-06-09?14:33??BIN解包工具\QtGui4.dll
?????目錄???????????0??2012-10-21?17:42??BIN解包工具\src\
?????目錄???????????0??2012-10-21?17:42??BIN解包工具\src\frontend\
?????文件????????1344??2012-10-21?02:56??BIN解包工具\src\frontend\cryptoworker.cpp
?????文件?????????429??2012-10-21?02:56??BIN解包工具\src\frontend\cryptoworker.h
?????文件?????????777??2012-10-21?03:45??BIN解包工具\src\frontend\frontend.pro
?????文件????????1462??2012-10-20?22:14??BIN解包工具\src\frontend\lineedit.cpp
?????文件?????????719??2012-10-20?19:17??BIN解包工具\src\frontend\lineedit.h
?????文件?????????345??2012-10-21?01:16??BIN解包工具\src\frontend\main.cpp
?????文件???????10914??2012-10-21?03:37??BIN解包工具\src\frontend\maingui.cpp
?????文件????????1742??2012-10-21?03:10??BIN解包工具\src\frontend\maingui.h
?????文件???????43334??2010-10-18?03:46??BIN解包工具\src\frontend\MzCrypt-Gui.ico
?????文件????????1756??2012-10-21?03:44??BIN解包工具\src\frontend\MzCrypt-Gui.rc
?????目錄???????????0??2012-10-21?17:42??BIN解包工具\src\libaescrypt\
?????文件???????31277??2010-10-18?03:46??BIN解包工具\src\libaescrypt\aes.c
?????文件?????????549??2010-10-18?03:46??BIN解包工具\src\libaescrypt\aes.h
?????文件???????31418??2012-10-21?03:21??BIN解包工具\src\libaescrypt\aescrypt.c
?????文件????????1086??2012-10-21?01:23??BIN解包工具\src\libaescrypt\aescrypt.h
?????文件???????11125??2010-10-18?03:46??BIN解包工具\src\libaescrypt\sha256.c
?????文件?????????443??2010-10-18?03:46??BIN解包工具\src\libaescrypt\sha256.h
?????文件?????????765??2010-10-18?03:46??BIN解包工具\src\libaescrypt\targetver.h
?????文件????????1217??2012-10-19?01:53??BIN解包工具\src\libaescrypt\version.h
評論
共有 條評論