View difference between Paste ID: f4bb055c8 and
SHOW: | | - or go back to the newest paste.
1-
1+
//Part of Laverna's Brute
2
3
#ifndef CPUPATH_H_
4
#define CPUPATH_H_
5
6
#include "ProcessingPath.h"
7
#include "Director.h"
8
9
class CPUPath : protected processingPath
10
{
11
public:
12
13
	CPUPath(int id);
14
	~CPUPath();
15
16
	void operator()();
17
	void searchKeyspace();
18
19
	int getThreadID();
20
21
	unsigned long long getKeyspaceEnd();
22
	unsigned long long getKeyspaceBegin();
23
	unsigned long long getKeyLocation();
24
25
	void moveKeyspaceEnd(unsigned long long input);
26
	void moveKeyspaceBegin(unsigned long long input);
27
	void moveKeylocation(unsigned long long input);
28
29
protected:
30
31
	int id;
32
33
	std::string currentKey;
34
35
	NTLM ntlm;
36
37
	boost::unordered_map<int64_pair, std::string>::iterator targetIterator;
38
39
	unsigned long long keyspaceSize, keyspaceEnd, keyspaceBegin, keyLocation, localIterations;
40
41
	friend processingPath;
42
};
43
44
#endif