]> git.sesse.net Git - freerainbowtables/blobdiff - Client Applications/rcracki_mt/rcrackiThread.h
test
[freerainbowtables] / Client Applications / rcracki_mt / rcrackiThread.h
index 74b96dc339c58d428b89d4e82fee50d96301a83a..a53cac24702cb02f5c597ebb7cacb8c47aba3a57 100644 (file)
@@ -1,4 +1,30 @@
-#pragma once
+/*
+ * rcracki_mt is a multithreaded implementation and fork of the original 
+ * RainbowCrack
+ *
+ * Copyright 2009, 2010 DaniĆ«l Niggebrugge <niggebrugge@fox-it.com>
+ * Copyright 2009, 2010 James Nobis <frt@quelrod.net>
+ *
+ * This file is part of rcracki_mt.
+ *
+ * rcracki_mt is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * rcracki_mt is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with rcracki_mt.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifdef _WIN32
+       #pragma once
+#endif
+
 #include "ChainWalkContext.h"
 #include "Public.h"
 #include "HashSet.h"
@@ -32,8 +58,7 @@ private:
 
 public:
        rcrackiThread(unsigned char* TargetHash, int thread_id, int nRainbowChainLen, int thread_count, uint64* pStartPosIndexE);
-       rcrackiThread(unsigned char* pHash);
-       rcrackiThread(unsigned char* pHash, bool oldFormat);
+       rcrackiThread(unsigned char* pHash, bool oldFormat = false);
        rcrackiThread(void);
        ~rcrackiThread(void);