mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-25 09:28:20 +00:00
28 lines
446 B
C++
28 lines
446 B
C++
#include "rar.hpp"
|
|
|
|
RAROptions::RAROptions()
|
|
{
|
|
Init();
|
|
}
|
|
|
|
|
|
void RAROptions::Init()
|
|
{
|
|
memset(this,0,sizeof(RAROptions));
|
|
WinSize=0x2000000;
|
|
Overwrite=OVERWRITE_DEFAULT;
|
|
Method=3;
|
|
MsgStream=MSG_STDOUT;
|
|
ConvertNames=NAMES_ORIGINALCASE;
|
|
xmtime=EXTTIME_MAX;
|
|
FileSizeLess=INT64NDF;
|
|
FileSizeMore=INT64NDF;
|
|
HashType=HASH_CRC32;
|
|
#ifdef RAR_SMP
|
|
Threads=GetNumberOfThreads();
|
|
#endif
|
|
#ifdef USE_QOPEN
|
|
QOpenMode=QOPEN_AUTO;
|
|
#endif
|
|
}
|