1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-02 04:48:23 +00:00
Commit Graph

394 Commits

Author SHA1 Message Date
jsteube
c4098e2230 Fix invalid use of a non-vector function from within a vector function 2017-07-14 14:16:48 +02:00
jsteube
8abd7ae9d1 Fix some old GCC compiler warnings 2017-07-06 10:35:25 +02:00
jsteube
83d5302256 Fix install makefile target for use with hashcat.hcstat2 2017-06-24 10:50:39 +02:00
Jens Steube
08fc0ec1fb Added self-test funcionality for OpenCL kernels on startup
Fixed a parser error for mode -m 9820 = MS Office <= 2003 $3, SHA1 + RC4, collider #2
2017-06-13 19:07:08 +02:00
jsteube
9a8f4036ec Set github master back into development mode 2017-06-10 13:02:20 +02:00
Jens Steube
acd93cf780 Mark release for production 2017-06-09 17:37:01 +02:00
Jens Steube
086a07264a Switch from libiconv to win-iconv 2017-04-19 12:58:25 +02:00
Jens Steube
79609e8a54 Building: On binary release package, link libiconv static for windows binaries 2017-04-19 10:51:28 +02:00
Pierre-Antoine Haidar-Bachminska
4e30ec5489 Fix compilation error on macOs (missing iconv linking) 2017-04-14 18:54:34 +02:00
Jens Steube
7cabb848d2 Wordlist encoding: Support added for internal convert from and to user-defined encoding during runtime
Wordlist encoding: Added parameters --encoding-from and --encoding-to to configure wordlist encoding handling
Dictstat: Structure for dictstat file changed as it has to include --encoding-from and --encoding-to parameter now
2017-04-14 16:36:28 +02:00
sgroat
21efc80975 fix string 2017-04-10 13:35:01 -07:00
magnum
ba0b2ee641 Ensure 'make clean' is a safe operation (eg. do not remove output and
session files). Add a 'make distclean' target for removing such files
as well. Closes #1218.
2017-04-06 11:39:29 +02:00
jsteube
67159b1936 Update Makefile: we're currently not in PRODUCTION=1 phase 2017-03-07 13:11:09 +01:00
Rosen Penev
df3c2e712e
Change c99 to gnu99. _GNU_SOURCE conflicts with c99 2017-03-04 18:51:46 -08:00
jsteube
5f58a25dcc Building: Removed compiler option -march=native as this created problems for maintainers on various distributions 2017-02-20 18:45:04 +01:00
jsteube
778f568d91 Prepare for v3.40 release 2017-02-17 18:28:16 +01:00
philsmd
2436972623
always use the native sed (not gsed) for OSX, #1036 2017-02-11 14:18:42 +01:00
Jens Steube
5d42f47c73 Merge pull request #1036 from gum0x/master
make install error on MacOS Sierra
2017-02-11 14:06:07 +01:00
jsteube
06c184aeea Do not use NULL for va_* variadic functions 2017-02-11 11:51:46 +01:00
Jens Steube
79513ce226 Building: Replaced linking of CRT_glob.o with the use of int _dowildcard 2017-02-09 10:42:35 +01:00
gum0x
f92d454ac0 Ident corrections 2017-02-09 01:56:20 +01:00
gum0x
5e52f20867 * Added Darwin OS version conditional in order to use sed instead of gsed if OS version is macOS Sierra (v16).
* Added a SEDOPS variable in order to manage BSD sed command syntax. BSD sed need explicitily especify a parametre for -i option.
2017-02-09 01:49:01 +01:00
Jens Steube
07dd639038 Revert "Adding windows appveyor builds" 2017-02-07 11:56:48 +01:00
Stephen
28d37be94a Update Makefile 2017-02-06 16:18:56 -08:00
Stephen
7826906f58 Update Makefile 2017-02-06 16:00:00 -08:00
jsteube
e0c3f447da Added hash-mode 4520 = sha1($salt.sha1($pass))
Added hash-mode  4522 = PunBB
OpenCL Kernel: Renumbered hash-mode 7600 to 4521
The mode 4520 is the first to support salt length up to 64
2017-01-31 11:44:58 +01:00
Jens Steube
0bea462bcd Fix default compile target on Msys2 2017-01-27 23:12:44 +01:00
jsteube
ac5d274845 Sessions: Move out handling of multiple instance from restore file into separate pidfile 2017-01-27 16:29:18 +01:00
jsteube
9408c2fec8 Fix install target for new SHARED variable in Makefile 2017-01-27 14:59:05 +01:00
jsteube
b7b2f1a79c Building: Add SHARED variable to Makefile to choose if hashcat is build as static or shared binary (using libhashcat.so/hashcat.dll) 2017-01-27 09:58:01 +01:00
jsteube
df0c61bf79 - Building: Split native compilation into two dedicated targets: "hashcat_static" and "hashcat_shared", default is "hashcat_static"
- Building: Removed the use of RPATH on linker level
Fixes https://github.com/hashcat/hashcat/issues/956
2017-01-24 16:07:59 +01:00
philsmd
6fe0173a79
#965: new hook function to support LZMA1/LZMA2 decompression for -m 11600 = 7-Zip 2017-01-24 10:28:35 +01:00
Jens Steube
99e2a4e12d Set PRODUCTION back to zero while in development phase 2017-01-19 11:54:37 +01:00
jsteube
6d8e938549 Added production flag in Makefile to disable all the GCC compiler options needed only for development 2017-01-04 10:33:20 +01:00
Nikolai Lifanov
9616c80e25 respect ports tree CFLAGS and LFLAGS step 2
It's actually less confusing to let the port set
the other two options as well, so just move the whole
block under ifdef PORTNAME.
2016-12-30 08:41:15 -05:00
Nikolai Lifanov
4cce9a9fd1 respect ports tree CFLAGS and LFLAGS
FreeBSD ports need to respect flags passed down by the build system.
This enables FreeBSD hashcat port to use upstream hashcat source code
patch-free.
2016-12-30 08:19:00 -05:00
Gabriele Gristina
472206384d Try fix -rpath usage 2016-12-29 23:36:19 +01:00
jsteube
d2c76d9320 This commit splits the native hashcat binary into the hashcat library and hashcat frontend.
I've tested this with Linux and Msys2. I hope it will work on FreeBSD, OSX and Cygwin as well.
There's also four new dedicated makefile targets for install: install_library install_hashcat install_docs install_shared
Also the main_shared.c and its makefile target have been removed, as the main frontend is the best example possible
2016-12-29 20:40:07 +01:00
jsteube
07078e8c14 Added hashcat32.dll and hashcat64.dll makefile targets for building hashcat windows libraries 2016-12-28 14:05:26 +01:00
anthraxx
62fc436a4f extend global CFLAGS and LDFLAGS to aid distro packaging
This preserves globally defined CFLAGS and LDFLAGS and simply
extends those variables to aid distro based packaging toolchains
and predefined distro wide defaults like SSP, relro etc.

this re-fixes 7f8aaf7430 after it was
somehow undone ;)
2016-12-06 20:39:04 +01:00
Jens Steube
cd3fae958d Add Makefile code to find CRT_glob.o using the native target when compiling on Cygwin or Msys2 host 2016-11-28 15:20:10 +01:00
jsteube
9eb9543cda Basic sysfs support to read temp and read/write fan speed for amd-gpu-pro 2016-11-05 23:19:13 +01:00
jsteube
f3626fa082 Added new hash-mode 99999 = Plaintext 2016-11-03 19:02:55 +01:00
jsteube
07e1a15c63 Remove GCC warning message not supported on older GCC 2016-11-03 12:09:29 +01:00
jsteube
5b69620a35 Do not use sizeof() on a pointer address 2016-11-02 23:40:14 +01:00
jsteube
5c8d08d8ef On OSX, use clang as default compiler 2016-10-31 09:34:22 +01:00
jsteube
3442892fda Use __attribute__ ((format (printf, 2, 3))) to help compiler to identify format strings 2016-10-31 09:19:37 +01:00
jsteube
b8efae4281 Refactor all variables with HCBUFSIZ_LARGE size from stack to heap 2016-10-30 22:47:48 +01:00
jsteube
eb58b076da Fix compiler warnings caused by -Wstack-usage=524288 2016-10-30 22:22:26 +01:00
jsteube
0c42be9fb9 We should check for maximum stack use (OSX only supports up to 512kB by default thread stack size) 2016-10-30 21:58:22 +01:00
jsteube
9f790d4dbd Move u8 * instead of char * for most interface.c functions 2016-10-30 21:56:56 +01:00
jsteube
2dbb1b41f3 Fix compiler warnings caused by -Wstrict-prototypes 2016-10-30 20:45:44 +01:00
jsteube
e3a245f615 Fix compiler warnings caused by -Wpointer-arith 2016-10-30 20:39:27 +01:00
jsteube
7eef713ff7 Fix compiler warnings caused by -Wshadow 2016-10-30 20:37:02 +01:00
Rosen Penev
2751cc363b
Remove -float-conversion. Needs a recent GCC 2016-10-30 11:58:39 -07:00
Rosen Penev
0d6c020433
Add extra warnings to Makefile 2016-10-30 10:53:44 -07:00
Gabriele Gristina
0b2abb17da Move '-framework OpenCL' from CFLAGS to LDFLAGS 2016-10-30 14:31:17 +01:00
jsteube
2a330122b4 Update Makefile to be more specific to uname -s 2016-10-30 13:54:24 +01:00
jsteube
c6c31a86d8 Add some changes to improve compiling on MSYS2 2016-10-21 09:07:39 +02:00
jsteube
655c3881f3 Add compilation on MINGW64 to Makefile 2016-10-20 23:27:10 +02:00
jsteube
eeefe8051a Enable ASLR or/and DEP for Windows builds
Suggested here: https://github.com/hashcat/hashcat/issues/530
2016-10-19 14:44:30 +02:00
jsteube
10dfea61ad Add main_shared Makefile target, create main_shared.c out of main.c library use example 2016-10-13 17:27:09 +02:00
jsteube
6a697571fd Remove debugging symbols from binary builds 2016-10-11 12:23:50 +02:00
jsteube
60000136fe Hand merged https://github.com/hashcat/hashcat/pull/533 2016-10-10 11:27:50 +02:00
jsteube
27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage 2016-10-09 22:41:55 +02:00
jsteube
42677df2a6 Start context-related logging with goal to get rid of logging.c 2016-10-08 23:16:40 +02:00
jsteube
57cb082fda Add some useful stuff to main.c 2016-10-03 01:27:55 +02:00
jsteube
f987546a74 Replaced "HAVE_HWMON" with "WITH_HWMON" as a more cmakish variable name for compile-time feature 2016-10-01 14:43:52 +02:00
jsteube
fb3e6bab0d Finished refactoring to remove all global variables 2016-09-30 22:52:44 +02:00
jsteube
a81c316d1e Add back globbing support for windows 2016-09-30 15:20:59 +02:00
jsteube
a5800b41f4 Rename hash_management.c to hashes.c 2016-09-30 09:25:51 +02:00
jsteube
84f96c4dda Add cpt_ctx_t 2016-09-29 15:19:12 +02:00
jsteube
dfb88a7002 Remove unneeded objects 2016-09-29 00:23:24 +02:00
jsteube
c71f1bfb0c Introduct combinator_ctx_t 2016-09-27 18:32:09 +02:00
jsteube
67dd2e9b67 Separate rules and straight mode from each other, remove rules_ctx_t 2016-09-27 13:13:07 +02:00
jsteube
59ebe10b07 Move functions from filenames.c to opencl.c and shared.c 2016-09-24 21:44:43 +02:00
jsteube
62b97a6fe6 Move loading rules into outer loop 2016-09-24 12:05:56 +02:00
jsteube
ebe9f1c07f Prepare for rules_ctx_t 2016-09-24 11:08:35 +02:00
jsteube
e6f083b708 Add all defaults for user commandline parameters to user_options.h; Prepare user commandline parameter struct for easier handling of functions calls that require them 2016-09-20 16:04:22 +02:00
jsteube
caeedd5646 Move more code from hashcat.c to opencl.c related to opencl device initialization and shutdown 2016-09-17 17:05:01 +02:00
jsteube
dcdd0d89cd Move thread_monitor() to monitor.c 2016-09-15 04:29:22 +02:00
jsteube
3f5ce6bb8e Continue move thread_calc() and thread_calc_stdin() to dispatch.c 2016-09-15 04:17:19 +02:00
jsteube
bc75ba70a1 Move tons of functions from hashcat.c into hash_management, interface, opencl, restore, status and weak_hash sources 2016-09-14 16:07:24 +02:00
jsteube
3daf0af480 Added docs/credits.txt
Added docs/team.txt
2016-09-11 22:20:15 +02:00
jsteube
2a6e03510b Add template files 2016-09-11 11:42:19 +02:00
jsteube
b7906f6b93 Move outfile specific functions into their own source file 2016-09-10 17:35:58 +02:00
jsteube
63b47eebc9 Prepare move potfile specific functions into their own source file 2016-09-09 23:17:43 +02:00
jsteube
f006542317 Prepare move dictstat specific functions into their own source file 2016-09-08 18:27:53 +02:00
jsteube
e304eed8c5 Move wordlist specific functions into their own source file 2016-09-08 16:32:24 +02:00
jsteube
18534fcdeb Move stdout specific functions into their own source file 2016-09-08 16:01:24 +02:00
jsteube
a8e5172f16 Move filename specific functions into their own source file 2016-09-08 14:44:02 +02:00
jsteube
da8e9d50d9 Move hlfmt specific functions into their own source file 2016-09-08 14:36:15 +02:00
jsteube
51a059a606 Move status specific functions into their own source file 2016-09-08 09:21:25 +02:00
jsteube
9eb47153d4 Replace all #ifdef with #if defined (...) for convention 2016-09-07 22:29:57 +02:00
jsteube
a56855e355 Move restore specific functions into their own source file 2016-09-07 22:01:34 +02:00
jsteube
1fc22dba03 Move bitmap specific functions into their own source file 2016-09-07 21:13:53 +02:00
jsteube
5c5f3264dd Older gcc do not accept _GNU_SOURCE as a replacement for -std=c99 2016-09-07 20:41:57 +02:00
jsteube
25726e4f4e Remove some (hopefully) redundant macros and compiler options 2016-09-07 20:30:14 +02:00
jsteube
8dd57b715b Create real opencl.c to better distinguish between opencl helper functions and library handling functions 2016-09-07 15:13:50 +02:00
jsteube
3ba5c743f8 Move affinity specific functions into their own source file 2016-09-07 11:16:31 +02:00
jsteube
3ed4bfd237 Move tuningdb specific functions into their own source file 2016-09-06 19:44:27 +02:00
jsteube
b8e47c2ba2 Move locking specific functions into their own source file 2016-09-06 19:08:46 +02:00
jsteube
c3fe5b40b1 Move folder specific functions into their own source file 2016-09-06 18:23:26 +02:00
jsteube
176fcb56b1 Reorder objects in Makefile 2016-09-06 15:33:57 +02:00
jsteube
1902e6c2eb Create real cpu_crc32.c and rp_cpu.c 2016-09-06 15:28:56 +02:00
jsteube
0a5759ef1c Move usage specific functions into their own source file 2016-09-06 14:11:03 +02:00
jsteube
21666f77b7 Move maskprocessor and statusprocessor specific functions into their own source file 2016-09-06 13:52:26 +02:00
jsteube
d15ae38723 Move hwmon specific functions into their own source file 2016-09-06 13:29:50 +02:00
jsteube
5dd5c15966 Move tty_*() specific functions into their own source file 2016-09-06 13:16:38 +02:00
jsteube
eb5e192df5 Move logfile() specific functions into their own source file 2016-09-06 13:05:49 +02:00
jsteube
3dc77ced14 More preparation for easier integration of:
* https://github.com/hashcat/hashcat/pull/485
* https://github.com/hashcat/hashcat/pull/486
2016-09-06 11:49:26 +02:00
jsteube
4b79ccd416 Preparation for easier integration of:
* https://github.com/hashcat/hashcat/pull/485
* https://github.com/hashcat/hashcat/pull/486
2016-09-05 21:47:26 +02:00
jsteube
ff376ce112 Moved bit operations out of shared.[hc] and created bitops.[hc]
based on 1aafa13e09
2016-09-05 14:12:31 +02:00
philsmd
04baf0ee54
added additional forward slash between folder and file (to make sure) 2016-08-18 15:48:44 +02:00
philsmd
ab1005ab1a
fixes #425: flexible way of searching for CRT_glob.o on linux and cygwin 2016-08-18 15:16:10 +02:00
Jens Steube
e7214abee3 Do not remove *.dictstat with make clean 2016-07-09 09:54:11 +02:00
jsteube
49f693a1c9 Replace LINUX macro with compiler predefined macro __linux__ 2016-07-08 23:23:16 +02:00
jsteube
96f2ade4bb Replace DARWIN macro with __APPLE__
As discussed on https://github.com/hashcat/hashcat/pull/409
2016-07-08 23:14:57 +02:00
Nikolai Lifanov
f1960ec73c use native compiler on FreeBSD 2016-07-05 15:14:11 -04:00
Nikolai Lifanov
dd66aba33f Revert "make native build play well with external build systems"
This reverts commit 61efadb684.
2016-07-05 15:09:40 -04:00
Nikolai Lifanov
61efadb684 make native build play well with external build systems 2016-07-05 14:59:46 -04:00
Nikolai Lifanov
4a598af78c add FreeBSD Makefile target 2016-07-05 14:58:28 -04:00
anthraxx
7f8aaf7430 extend global CFLAGS and LDFLAGS to aid distro packaging
This preserves globally defined CFLAGS and LDFLAGS and simply
extends those variables to aid distro based packaging toolchains
and predefined distro wide defaults like SSP, relro etc.
2016-07-04 21:01:51 +02:00
Josh de Kock
86cf95e878 Makefile: remove .app for OSX 2016-07-02 00:11:37 +01:00
Josh de Kock
75a38b2e2e Makefile: fix sed on OSX
sed on OSX doesn't have -r so default to the usage of GNU sed
2016-07-02 00:08:12 +01:00
Unix-Ninja
2188a01ae9 Refactor OSX preprocessor constants to read 'DARWIN' 2016-06-27 08:13:50 -04:00
jsteube
9a970c0955 Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU 2016-06-18 10:59:58 +02:00
jsteube
aa78cf2c74 Fix sed call in Makefile 2016-06-11 11:39:49 +02:00
jsteube
f600b9dd59 Get rid of cp in Makefile install target 2016-06-11 10:52:00 +02:00
philsmd
eb08afa543
makefile: indentation fix (replace tabs with spaces) + comments about cygwin builds 2016-06-11 08:08:22 +02:00
Jens Steube
f30629b21a Merge pull request #369 from hlein/DESTDIR
Added DESTDIR support
2016-06-10 23:54:46 +02:00
Jens Steube
10b086a31d Merge pull request #364 from neheb/patch-2
Add cygwin support
2016-06-10 23:51:04 +02:00
Mangix
37ff7fbc11
Small fix for < 10 Windows 2016-06-10 14:14:22 -07:00
Hank Leininger
8254e2e3c4
Make sure the INSTALL_FOLDER path exists.
This is only likely to come up when using DESTDIR to point to an
alternate directory tree, or if the user has pointed at some
exotic PREFIX for some reason, but should be harmless in the
normal case.
2016-06-10 15:29:10 -04:00
Hank Leininger
8a2bfff917
Added DESTDIR support.
This is a common thing for distros or build environments that want
to install to a sandbox location as part of testing or package-building.
It should be a harmless/no-op change when make is called without
DESTDIR defined.
2016-06-10 15:20:53 -04:00
Hank Leininger
ecb7ba6f3e
Removed obsolete entries from install: target.
These files have been renamed+moved under OpenCL, and are already
installed from there elsewhere in the install: target.
2016-06-10 15:10:50 -04:00
jsteube
b875cb51ac Use CRT_glob.o to enable commandline globbing on windows binaries 2016-06-07 12:39:41 +02:00
neheb
a8bebb4a55 Add cygwin support
Doesn't actually build but "make win64" or "make win32" still works.

Actually, why is the operating system even checked in the makefile?
2016-06-05 13:22:38 -07:00
jsteube
829289b109 Fix calling conventions for external libraries (mingw doesn't handle it alone); Fix first print of PROMPT after autotune; 2016-06-04 00:54:28 +02:00
jsteube
e9960709b5 Makefile fix 2016-06-03 13:05:18 +02:00
jsteube
040bbd416a More nvapi preparations and display skip reason in benchmark 2016-06-03 11:33:59 +02:00
jsteube
3c6296801a Prepare for reintegration of nvapi for checking thermal limit 2016-06-02 14:20:15 +02:00
jsteube
d89a8a68d6 Finally got rid of NvAPI on Windows, replace with NVML 2016-05-31 22:48:58 +02:00
jsteube
19e36694da Added support for --gpu-temp-retain for nvidia devices on windows
Disabled retain support by default, you can reactive it using --gpu-temp-retain
Completely get rid of HAVE_ADL, HAVE_NVML and HAVE_NVAPI in sources
2016-05-30 00:05:46 +02:00
Jens Steube
2899f53a15 Move files from include/ to OpenCL/ if they are used within kernels
Rename includes in OpenCL so that it's easier to recognize them as such
2016-05-25 23:04:26 +02:00
anthraxx
3828ea354c fallback for Makefile version if its not a git checkout (tarball) (refix)
This makes use of git export-subst to insert the current ref names.
If git describe fails because because an extracted tarball is used
to build from source then the fallback will get called and the last
part of the ref names will be used for the version variable.

if it is a git checkout and HEAD is the current tag:

    v3.00-beta

If it is a git checkout and HEAD is ahead of the latest tag:

    v3.00-beta-36-g24a6095

If it is a tarball from a tag created via 'git archive HEAD --format=tar':

    v3.00-beta

If it is a tarball from the master created via 'git archive HEAD --format=tar':

    master

NOTE: If a tarball is manually created (without git archive) then the
version will "$Format:%D$", however before this commit it would not be
possible to build a release tarball at all (because git describe would fail)

Tarballs that you manually want to distribute on your website need to be either
downloaded from github and re-uploaded or need to be create via git-archive:

gzip:

git archive --format=tar HEAD|gzip > oclHashcat.tar.gz

bzip2:

git archive --format=tar HEAD|bzip2 > oclHashcat.tar.bz2

You can also use a tag for git archive like:

git archive --format=tar v2.01|bzip2 > oclHashcat-2.01.tar.bz2
2016-05-19 14:03:58 +02:00
Jens Steube
a55c051c28 Revert "fallback for Makefile version if its not a git checkout (tarball)" 2016-05-19 11:10:16 +02:00
anthraxx
a4e1692647 fallback for Makefile version if its not a git checkout (tarball)
This makes use of git export-subst to insert the current ref names.
If git describe fails because because an extracted tarball is used
to build from source then the fallback will get called and the last
part of the ref names will be used for the version variable.

if it is a git checkout and HEAD is the current tag:
- v3.00-beta

If it is a git checkout and HEAD is ahead of the latest tag:
- v3.00-beta-36-g24a6095

If it is a tarball from a tag created via 'git archive HEAD --format=tar':
- v3.00-beta

If it is a tarball from the master created via 'git archive HEAD --format=tar':
- master

NOTE: If a tarball is manually created (without git archive) then the
version will "$Format:%D$", however before this commit it would not be
possible to build a release tarball that is not a git checkout (because
git describe would fail)
2016-05-18 19:20:42 +02:00
jsteube
aefd3b03a3 Use VERSION_TAG only, but uncut 2016-05-11 12:19:02 +02:00
jsteube
e47030ed7d Prepare to rename project into hashcat
This release markes the fusion of "hashcat" and "oclHashcat" into "hashcat".
It combines all features of all hashcat projects in one project.
2016-05-10 19:07:07 +02:00
Jens Steube
d7f8b356ef Fix for #265: hashcat_tuning.hctab wasn't installed automatically 2016-03-10 19:20:05 +01:00
philsmd
6636cc144d #245: Makefile DEBUG fix 2016-03-06 12:03:08 +01:00
magnum
a5be8a75ed Allow and support vector-width 16, which is current maximum for
OpenCL. Closes #226.
2016-02-18 08:51:45 +01:00
Jens Steube
e01038083c Update Makefile and BUILD.md 2016-02-04 09:44:52 +01:00
Gabriele 'matrix' Gristina
f3407cd7f4 HWMon mod 2016-02-02 01:14:33 +01:00
Gabriele 'matrix' Gristina
d120ede655 Update ADL Library Loader 2016-01-31 23:48:38 +01:00
jsteube
21525b74e1 Remove more unnecessary libOpenCL*.a related stuff 2016-01-31 22:01:32 +01:00
Gabriele 'matrix' Gristina
dcb4888dd5 Remove unnecessary libOpenCL*.a from Makefile 2016-01-31 19:48:40 +01:00
Jens Steube
bfe3f148d7 As long as we depend on NVAPI for windows we also need to add a path to its includes 2016-01-27 20:09:17 +01:00
magnum
115d2b6a5a Drop dependencies on non-distributable ADL/NVML headers. The needed glue
is copied into our respective local headers. Should close #120.
2016-01-27 18:48:54 +01:00
Jens Steube
cae457df0c Merge pull request #167 from gm4tr1x/issue84
Issue84
2016-01-27 18:43:18 +01:00
Gabriele 'matrix' Gristina
5bae9de3a3 Implemented OpenCL library loader 2016-01-26 21:40:49 +01:00
Gabriele 'matrix' Gristina
dcc4b5a60f Added custom OSX kernel loops and gpu accel default values
Disabled some not yet worked hash types in OSX
2016-01-24 22:48:01 +01:00
Jens Steube
0997ae029e Remove NO-BREAK SPACE character (utf8) from sources 2016-01-24 17:08:49 +01:00
Jens Steube
add18eaa6d Fix for last commit 2016-01-21 10:22:57 +01:00
Jens Steube
bfc4495bd3 Expanded version information as discussed in https://github.com/hashcat/oclHashcat/issues/138 2016-01-21 10:17:22 +01:00
Gabriele 'matrix' Gristina
5da79e4411 Added support for build without ADL/NVML/NVAPI (issue #120)
Added support for build OSX native binaries (issue #63)
2016-01-20 20:55:09 +01:00
Jens Steube
b35d2dd2eb Fix native compiler 2016-01-15 17:24:51 +01:00
Jens Steube
05505030b8 Fix CFLAGS 2016-01-15 17:24:20 +01:00
Jens Steube
63e06f582b Prepare fix for datatypes, not final 2016-01-15 17:16:43 +01:00
Jens Steube
7bfee268d4 Fixed some heap buffer overflow 2016-01-14 20:30:38 +01:00
philsmd
7081e3cdf6 Makefile: remove kernels/ directory when running make clean 2016-01-13 18:16:56 +01:00
jsteube
331188167c Replace the substring GPU to a more appropriate "device" or "kernel" substring depending on the context 2016-01-05 08:26:44 +01:00
philsmd
f2b8f008c0 pr #53 did not copy the example .hash and .dict files to the doc folder 2016-01-03 23:29:39 +01:00
philsmd
d8ac4c3bbc install also the example scripts, place them into the doc folder 2016-01-03 22:01:02 +01:00
Jens Steube
0952a4dfd3 Fix CFLAGS_CROSS_LINUX in Makefile 2016-01-03 18:50:02 +01:00
Jens Steube
dc13c2fc71 Switched to Khronos OSS OpenCL reference implementation for building
For detailed information see: https://github.com/hashcat/oclHashcat/issues/40
2016-01-03 13:17:14 +01:00
jsteube
61744662c0 Fix path to includes 2016-01-03 01:56:41 +01:00
jsteube
5f7c47b461 Fix path to includes 2016-01-03 01:48:05 +01:00
jsteube
d008a45f3c Activate reordering or files to help integration into linux distributions
Details can be found here: https://github.com/hashcat/oclHashcat/issues/20
2016-01-03 00:40:31 +01:00
jsteube
2be8f5f982 - Added Makefile target for native compilation
- Moved rules_optimize tool to hashcat-utils
2016-01-02 17:42:47 +01:00
philsmd
fc65b6fd44 issue #38: NVIDIA SDK is not needed anymore, the lib is dynamically loaded on NVidia systems 2016-01-01 17:41:03 +01:00
jsteube
e2412c9b10 We do not depend on CUDA any longer, so get rid of it :) 2015-12-21 12:20:08 +01:00
jsteube
80f86c52a1 Cleanup makefile
Remove unused CUDA library defs
2015-12-15 19:18:45 +01:00
jsteube
4a0c47ca08 It's safe now to use AMD's OpenCL includes, tested on NV 2015-12-15 18:58:02 +01:00
philsmd
cff683eac1 change in library loading: libnvidia-ml now does load dynamically only on NVidia systems 2015-12-15 20:34:07 +01:00
jsteube
0bf4e3c34a - Dropped all vector code since new GPU's are all scalar, makes the code much easier
- Some performance on low-end GPU may drop because of that, but only for a few hash-modes
- Dropped scalar code (aka warp) since we do not have any vector datatypes anymore
- Renamed C++ overloading functions memcat32_9 -> memcat_c32_w4x4_a3x4
- Still need to fix kernels to new function names, needs to be done manually
- Temperature Management needs to be rewritten partially because of conflicting datatypes names
- Added code to create different codepaths for NV on AMD in runtime in host (see data.vendor_id)
- Added code to create different codepaths for NV on AMD in runtime in kernels (see IS_NV and IS_AMD)
- First tests working for -m 0, for example
- Great performance increases in general for NV so far
- Tested amp_* and markov_* kernel
- Migrated special NV optimizations for rule processor
2015-12-15 12:04:22 +01:00
Jens Steube
1537390fae Prepare reordering or files to help integration into linux distributions as discussed in https://github.com/hashcat/oclHashcat/issues/20
TODOS:
- Let oclHashcat actually use the new paths
- Find a better way for native compilation
- Replace /bin/cp with /usr/bin/install where it has to copy files recursive
2015-12-13 12:21:36 +01:00
philsmd
c15f0d6146 issue #16: use just "deps" instead of "hashcat-deps" as directory name 2015-12-09 15:55:06 +01:00
philsmd
29547c4f9b issue #14: move /opt/hashcat-deps/ to [git_clone_dir]/hascat-deps/ 2015-12-09 13:33:21 +01:00
philsmd
ffcf763b13 typo fixed in Makefile 2015-12-06 18:48:20 +01:00
Jens Steube
ab66fa1772 Revert "Remove NPROCS from Makefile, make is able to automatically detect the optimal number of parallel threads"
Problem here is; This process requires alot of memory. If host memory is too small it will segfault somewhere inside AMD's OpenCL runtime library. Therefore it's better to stick to NPROCS as part of a workaround.

This reverts commit e5adccbf38.
2015-12-06 13:09:17 +01:00
Jens Steube
e5adccbf38 Remove NPROCS from Makefile, make is able to automatically detect the optimal number of parallel threads 2015-12-05 14:30:09 +01:00
Jens Steube
5065474b4e Initial commit 2015-12-04 15:47:52 +01:00