Commit Graph

275 Commits (b71e06fca8ef172cc1e507635afcb8d925a25822)

Author SHA1 Message Date
Jens Steube 79513ce226 Building: Replaced linking of CRT_glob.o with the use of int _dowildcard
7 years ago
gum0x f92d454ac0 Ident corrections
7 years ago
gum0x 5e52f20867 * Added Darwin OS version conditional in order to use sed instead of gsed if OS version is macOS Sierra (v16).
7 years ago
Jens Steube 07dd639038 Revert "Adding windows appveyor builds"
7 years ago
Stephen 28d37be94a Update Makefile
7 years ago
Stephen 7826906f58 Update Makefile
7 years ago
jsteube e0c3f447da Added hash-mode 4520 = sha1($salt.sha1($pass))
7 years ago
Jens Steube 0bea462bcd Fix default compile target on Msys2
7 years ago
jsteube ac5d274845 Sessions: Move out handling of multiple instance from restore file into separate pidfile
7 years ago
jsteube 9408c2fec8 Fix install target for new SHARED variable in Makefile
7 years ago
jsteube b7b2f1a79c Building: Add SHARED variable to Makefile to choose if hashcat is build as static or shared binary (using libhashcat.so/hashcat.dll)
7 years ago
jsteube df0c61bf79 - Building: Split native compilation into two dedicated targets: "hashcat_static" and "hashcat_shared", default is "hashcat_static"
7 years ago
philsmd 6fe0173a79
#965: new hook function to support LZMA1/LZMA2 decompression for -m 11600 = 7-Zip
7 years ago
Jens Steube 99e2a4e12d Set PRODUCTION back to zero while in development phase
7 years ago
jsteube 6d8e938549 Added production flag in Makefile to disable all the GCC compiler options needed only for development
7 years ago
Nikolai Lifanov 9616c80e25 respect ports tree CFLAGS and LFLAGS step 2
7 years ago
Nikolai Lifanov 4cce9a9fd1 respect ports tree CFLAGS and LFLAGS
7 years ago
Gabriele Gristina 472206384d Try fix -rpath usage
7 years ago
jsteube d2c76d9320 This commit splits the native hashcat binary into the hashcat library and hashcat frontend.
7 years ago
jsteube 07078e8c14 Added hashcat32.dll and hashcat64.dll makefile targets for building hashcat windows libraries
7 years ago
anthraxx 62fc436a4f extend global CFLAGS and LDFLAGS to aid distro packaging
8 years ago
Jens Steube cd3fae958d Add Makefile code to find CRT_glob.o using the native target when compiling on Cygwin or Msys2 host
8 years ago
jsteube 9eb9543cda Basic sysfs support to read temp and read/write fan speed for amd-gpu-pro
8 years ago
jsteube f3626fa082 Added new hash-mode 99999 = Plaintext
8 years ago
jsteube 07e1a15c63 Remove GCC warning message not supported on older GCC
8 years ago
jsteube 5b69620a35 Do not use sizeof() on a pointer address
8 years ago
jsteube 5c8d08d8ef On OSX, use clang as default compiler
8 years ago
jsteube 3442892fda Use __attribute__ ((format (printf, 2, 3))) to help compiler to identify format strings
8 years ago
jsteube b8efae4281 Refactor all variables with HCBUFSIZ_LARGE size from stack to heap
8 years ago
jsteube eb58b076da Fix compiler warnings caused by -Wstack-usage=524288
8 years ago
jsteube 0c42be9fb9 We should check for maximum stack use (OSX only supports up to 512kB by default thread stack size)
8 years ago
jsteube 9f790d4dbd Move u8 * instead of char * for most interface.c functions
8 years ago
jsteube 2dbb1b41f3 Fix compiler warnings caused by -Wstrict-prototypes
8 years ago
jsteube e3a245f615 Fix compiler warnings caused by -Wpointer-arith
8 years ago
jsteube 7eef713ff7 Fix compiler warnings caused by -Wshadow
8 years ago
Rosen Penev 2751cc363b
Remove -float-conversion. Needs a recent GCC
8 years ago
Rosen Penev 0d6c020433
Add extra warnings to Makefile
8 years ago
Gabriele Gristina 0b2abb17da Move '-framework OpenCL' from CFLAGS to LDFLAGS
8 years ago
jsteube 2a330122b4 Update Makefile to be more specific to uname -s
8 years ago
jsteube c6c31a86d8 Add some changes to improve compiling on MSYS2
8 years ago
jsteube 655c3881f3 Add compilation on MINGW64 to Makefile
8 years ago
jsteube eeefe8051a Enable ASLR or/and DEP for Windows builds
8 years ago
jsteube 10dfea61ad Add main_shared Makefile target, create main_shared.c out of main.c library use example
8 years ago
jsteube 6a697571fd Remove debugging symbols from binary builds
8 years ago
jsteube 60000136fe Hand merged https://github.com/hashcat/hashcat/pull/533
8 years ago
jsteube 27bec8be13 Get rid of logging.c and most exit() calls replaced with return() for true library usage
8 years ago
jsteube 42677df2a6 Start context-related logging with goal to get rid of logging.c
8 years ago
jsteube 57cb082fda Add some useful stuff to main.c
8 years ago
jsteube f987546a74 Replaced "HAVE_HWMON" with "WITH_HWMON" as a more cmakish variable name for compile-time feature
8 years ago
jsteube fb3e6bab0d Finished refactoring to remove all global variables
8 years ago
jsteube a81c316d1e Add back globbing support for windows
8 years ago
jsteube a5800b41f4 Rename hash_management.c to hashes.c
8 years ago
jsteube 84f96c4dda Add cpt_ctx_t
8 years ago
jsteube dfb88a7002 Remove unneeded objects
8 years ago
jsteube c71f1bfb0c Introduct combinator_ctx_t
8 years ago
jsteube 67dd2e9b67 Separate rules and straight mode from each other, remove rules_ctx_t
8 years ago
jsteube 59ebe10b07 Move functions from filenames.c to opencl.c and shared.c
8 years ago
jsteube 62b97a6fe6 Move loading rules into outer loop
8 years ago
jsteube ebe9f1c07f Prepare for rules_ctx_t
8 years ago
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
8 years ago
jsteube caeedd5646 Move more code from hashcat.c to opencl.c related to opencl device initialization and shutdown
8 years ago
jsteube dcdd0d89cd Move thread_monitor() to monitor.c
8 years ago
jsteube 3f5ce6bb8e Continue move thread_calc() and thread_calc_stdin() to dispatch.c
8 years ago
jsteube bc75ba70a1 Move tons of functions from hashcat.c into hash_management, interface, opencl, restore, status and weak_hash sources
8 years ago
jsteube 3daf0af480 Added docs/credits.txt
8 years ago
jsteube 2a6e03510b Add template files
8 years ago
jsteube b7906f6b93 Move outfile specific functions into their own source file
8 years ago
jsteube 63b47eebc9 Prepare move potfile specific functions into their own source file
8 years ago
jsteube f006542317 Prepare move dictstat specific functions into their own source file
8 years ago
jsteube e304eed8c5 Move wordlist specific functions into their own source file
8 years ago
jsteube 18534fcdeb Move stdout specific functions into their own source file
8 years ago
jsteube a8e5172f16 Move filename specific functions into their own source file
8 years ago
jsteube da8e9d50d9 Move hlfmt specific functions into their own source file
8 years ago
jsteube 51a059a606 Move status specific functions into their own source file
8 years ago
jsteube 9eb47153d4 Replace all #ifdef with #if defined (...) for convention
8 years ago
jsteube a56855e355 Move restore specific functions into their own source file
8 years ago
jsteube 1fc22dba03 Move bitmap specific functions into their own source file
8 years ago
jsteube 5c5f3264dd Older gcc do not accept _GNU_SOURCE as a replacement for -std=c99
8 years ago
jsteube 25726e4f4e Remove some (hopefully) redundant macros and compiler options
8 years ago
jsteube 8dd57b715b Create real opencl.c to better distinguish between opencl helper functions and library handling functions
8 years ago
jsteube 3ba5c743f8 Move affinity specific functions into their own source file
8 years ago
jsteube 3ed4bfd237 Move tuningdb specific functions into their own source file
8 years ago
jsteube b8e47c2ba2 Move locking specific functions into their own source file
8 years ago
jsteube c3fe5b40b1 Move folder specific functions into their own source file
8 years ago
jsteube 176fcb56b1 Reorder objects in Makefile
8 years ago
jsteube 1902e6c2eb Create real cpu_crc32.c and rp_cpu.c
8 years ago
jsteube 0a5759ef1c Move usage specific functions into their own source file
8 years ago
jsteube 21666f77b7 Move maskprocessor and statusprocessor specific functions into their own source file
8 years ago
jsteube d15ae38723 Move hwmon specific functions into their own source file
8 years ago
jsteube 5dd5c15966 Move tty_*() specific functions into their own source file
8 years ago
jsteube eb5e192df5 Move logfile() specific functions into their own source file
8 years ago
jsteube 3dc77ced14 More preparation for easier integration of:
8 years ago
jsteube 4b79ccd416 Preparation for easier integration of:
8 years ago
jsteube ff376ce112 Moved bit operations out of shared.[hc] and created bitops.[hc]
8 years ago
philsmd 04baf0ee54
added additional forward slash between folder and file (to make sure)
8 years ago
philsmd ab1005ab1a
fixes #425: flexible way of searching for CRT_glob.o on linux and cygwin
8 years ago
Jens Steube e7214abee3 Do not remove *.dictstat with make clean
8 years ago
jsteube 49f693a1c9 Replace LINUX macro with compiler predefined macro __linux__
8 years ago
jsteube 96f2ade4bb Replace DARWIN macro with __APPLE__
8 years ago
Nikolai Lifanov f1960ec73c use native compiler on FreeBSD
8 years ago
Nikolai Lifanov dd66aba33f Revert "make native build play well with external build systems"
8 years ago
Nikolai Lifanov 61efadb684 make native build play well with external build systems
8 years ago
Nikolai Lifanov 4a598af78c add FreeBSD Makefile target
8 years ago
anthraxx 7f8aaf7430 extend global CFLAGS and LDFLAGS to aid distro packaging
8 years ago
Josh de Kock 86cf95e878 Makefile: remove .app for OSX
8 years ago
Josh de Kock 75a38b2e2e Makefile: fix sed on OSX
8 years ago
Unix-Ninja 2188a01ae9 Refactor OSX preprocessor constants to read 'DARWIN'
8 years ago
jsteube 9a970c0955 Added support for XNVCTRL on Linux to add support for --gpu-temp-retain for NVidia GPU
8 years ago
jsteube aa78cf2c74 Fix sed call in Makefile
8 years ago
jsteube f600b9dd59 Get rid of cp in Makefile install target
8 years ago
philsmd eb08afa543
makefile: indentation fix (replace tabs with spaces) + comments about cygwin builds
8 years ago
Jens Steube f30629b21a Merge pull request #369 from hlein/DESTDIR
8 years ago
Jens Steube 10b086a31d Merge pull request #364 from neheb/patch-2
8 years ago
Mangix 37ff7fbc11
Small fix for < 10 Windows
8 years ago
Hank Leininger 8254e2e3c4
Make sure the INSTALL_FOLDER path exists.
8 years ago
Hank Leininger 8a2bfff917
Added DESTDIR support.
8 years ago
Hank Leininger ecb7ba6f3e
Removed obsolete entries from install: target.
8 years ago
jsteube b875cb51ac Use CRT_glob.o to enable commandline globbing on windows binaries
8 years ago
neheb a8bebb4a55 Add cygwin support
8 years ago
jsteube 829289b109 Fix calling conventions for external libraries (mingw doesn't handle it alone); Fix first print of PROMPT after autotune;
8 years ago
jsteube e9960709b5 Makefile fix
8 years ago
jsteube 040bbd416a More nvapi preparations and display skip reason in benchmark
8 years ago
jsteube 3c6296801a Prepare for reintegration of nvapi for checking thermal limit
8 years ago
jsteube d89a8a68d6 Finally got rid of NvAPI on Windows, replace with NVML
8 years ago
jsteube 19e36694da Added support for --gpu-temp-retain for nvidia devices on windows
8 years ago
Jens Steube 2899f53a15 Move files from include/ to OpenCL/ if they are used within kernels
8 years ago
anthraxx 3828ea354c fallback for Makefile version if its not a git checkout (tarball) (refix)
8 years ago
Jens Steube a55c051c28 Revert "fallback for Makefile version if its not a git checkout (tarball)"
8 years ago
anthraxx a4e1692647 fallback for Makefile version if its not a git checkout (tarball)
8 years ago
jsteube aefd3b03a3 Use VERSION_TAG only, but uncut
8 years ago
jsteube e47030ed7d Prepare to rename project into hashcat
8 years ago
Jens Steube d7f8b356ef Fix for #265: hashcat_tuning.hctab wasn't installed automatically
8 years ago
philsmd 6636cc144d #245: Makefile DEBUG fix
8 years ago
magnum a5be8a75ed Allow and support vector-width 16, which is current maximum for
8 years ago
Jens Steube e01038083c Update Makefile and BUILD.md
8 years ago
Gabriele 'matrix' Gristina f3407cd7f4 HWMon mod
8 years ago
Gabriele 'matrix' Gristina d120ede655 Update ADL Library Loader
8 years ago
jsteube 21525b74e1 Remove more unnecessary libOpenCL*.a related stuff
8 years ago
Gabriele 'matrix' Gristina dcb4888dd5 Remove unnecessary libOpenCL*.a from Makefile
8 years ago
Jens Steube bfe3f148d7 As long as we depend on NVAPI for windows we also need to add a path to its includes
8 years ago
magnum 115d2b6a5a Drop dependencies on non-distributable ADL/NVML headers. The needed glue
8 years ago
Jens Steube cae457df0c Merge pull request #167 from gm4tr1x/issue84
8 years ago
Gabriele 'matrix' Gristina 5bae9de3a3 Implemented OpenCL library loader
8 years ago
Gabriele 'matrix' Gristina dcc4b5a60f Added custom OSX kernel loops and gpu accel default values
8 years ago
Jens Steube 0997ae029e Remove NO-BREAK SPACE character (utf8) from sources
8 years ago
Jens Steube add18eaa6d Fix for last commit
8 years ago
Jens Steube bfc4495bd3 Expanded version information as discussed in https://github.com/hashcat/oclHashcat/issues/138
8 years ago
Gabriele 'matrix' Gristina 5da79e4411 Added support for build without ADL/NVML/NVAPI (issue #120)
8 years ago
Jens Steube b35d2dd2eb Fix native compiler
8 years ago
Jens Steube 05505030b8 Fix CFLAGS
8 years ago