show partial bruteforce
This commit is contained in:
parent
e3b7cf162b
commit
74f4478c32
2 changed files with 3 additions and 2 deletions
|
@ -36,7 +36,7 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
QCoreApplication a(argc, argv);
|
||||
a.setApplicationName("checkbrute");
|
||||
a.setApplicationVersion("0.3.1");
|
||||
a.setApplicationVersion("0.3.2");
|
||||
|
||||
QCommandLineParser commandLineParser;
|
||||
commandLineParser.addHelpOption();
|
||||
|
|
|
@ -142,9 +142,10 @@ mainthread::mainthread(const QString &bruteforceFile, const QString &checksumsFi
|
|||
}
|
||||
|
||||
// Clear unneeded bytes
|
||||
if (begin != 0 && end != (quint64)fileContent.size()) {
|
||||
if (begin != 0 || end != (quint64)fileContent.size()) {
|
||||
fileContent = fileContent.mid(begin, end - begin);
|
||||
fileContent.squeeze();
|
||||
QTextStream(stderr) << "INFO: Partial bruteforce start " << begin << " stop " << end << Qt::endl;
|
||||
}
|
||||
|
||||
if (!lenghts_str.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue