Want more features on Pastebin? Sign Up, it's FREE!
Guest

Joseph Kogut

By: a guest on Jan 30th, 2010  |  syntax: C++  |  size: 0.82 KB  |  views: 126  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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
clone this paste RAW Paste Data