Commit Graph

426 Commits (master)

Author SHA1 Message Date
jsteube 036e4eba2c Use -rdynamic instead of including sources of depencies for module compilation
5 years ago
jsteube b71e06fca8 Move module sources to src/modules
5 years ago
jsteube 2d4834b735 Add md5crypt based modules
5 years ago
jsteube bc22bfee2e Some cleanup
5 years ago
jsteube 74265307fe Automate module interface version management
5 years ago
Gabriele Gristina 7d3fee8a55 Fix Makefile DEBUG flags for OSX, add modules compiles by default
5 years ago
jsteube 73af860f43 Add functionality in test.pl to allow empty hash returns. This is required to enable hash-mode depending password length checks. NTLM supports just 27 characters in optimized mode, but single mode would produce 32, resulting in a non found password
6 years ago
jsteube ce0e19f185 Compile module as .dll example
6 years ago
jsteube 4028bae578 Use dynloader.c instead of dlopen() directly
6 years ago
jsteube 15f546bc4e Update appveyor to not check dev branch
6 years ago
R. Yushaev 031094552b Add Makefile target 'modules'
6 years ago
jsteube 7e1e1d34f8 Use real dlopen() to load the module
6 years ago
Jens Steube bd37903131 Add hook_size, tmp_size, hook_salt_size
6 years ago
Jens Steube 222d76f01e Replace parse_func() with module_hash_decode()
6 years ago
Jens Steube 55add7c60e The goal of this branch to develop a plugin like interface for hashcat kernels.
6 years ago
philsmd 2ee7306322
Set github master to non-production mode
6 years ago
Jens Steube 72319875d8 Update version to 5.1.0
6 years ago
Jens Steube 5d5ac1c935 Prepare for on-the-fly keyboard layout substituations required to crack booting TrueCrypt/VeraCrypt volumes
6 years ago
Jens Steube 9edc45e5d8 Fix copy/paste error
6 years ago
Jens Steube 4177e1ee28 Replace gitmodules with files and add support for system-wide libraries
6 years ago
Jens Steube 81a4604964 Set github master to non-production mode
6 years ago
Jens Steube dc39deba0f Update version to 5.0.0
6 years ago
Jens Steube d6fe2c7cd4 The hashcat brain
6 years ago
jsteube 32b915fd01 Get rid of some old compiler warning flags in Makefile
6 years ago
Jens Steube 8ca4e46f2c Remove some debugging code
6 years ago
Jens Steube a4ac370496 Test fix for plain_t in 32 bit mode
6 years ago
Jens Steube 6f8b90a11a Add support for latest OpenCL headers from Khronos
6 years ago
jsteube 5f797147fb Link ws2_32 in order to make use of select()
6 years ago
jsteube 52c52836e3 Add new option --slow-candidates which allows hashcat to generate passwords on-host
6 years ago
jsteube 762e5d5cda Go back into development mode
6 years ago
jsteube 4963357fac Update to v4.2.1
6 years ago
jsteube 95b420dfb4 Use special CFLAGS for LZMA compile
6 years ago
jsteube 634dd71384 Remove some suppressed warnings
6 years ago
jsteube 1d7e1ba7e5 Unset PRODUCTION
6 years ago
jsteube bdec457951 TrueCrypt/VeraCrypt cracking: Do an entropy check on the TC/VC header on start
6 years ago
Jens Steube 0e2c94c695
Merge pull request #1635 from RAN1/master
6 years ago
RAN1 276538b141 Use only library install path for macOS library
6 years ago
jsteube cc390f200e Fix typo
6 years ago
RAN1 5bfdf79ed8 Add macOS library install pathnames
6 years ago
RAN1 fa75e85896 Fix shared install on macOS
6 years ago
jsteube 2530f83029 Move LZMA SDK files into separate folder for compiling
6 years ago
jsteube 81f909e229 Prepare for v4.2.0 release
6 years ago
Jens Steube f6cfcbbc3a
Merge pull request #1529 from yarda/system-lzma-sdk
6 years ago
magnum a3759d77cf Fix a problem with 'make install' on macOS if user has a GNU sed before
6 years ago
jsteube 83f07febfc Initial v4.1.1 deverloper mode commit
6 years ago
Jaroslav Škarvada 83ce54a736
Add support for building with system lzma-sdk
6 years ago
jsteube 09261dad0e Prepare for v4.1.0 release
6 years ago
jsteube 01a7476ff8 Link hashcat native binary with -lrt to workaround problems with clock_gettime() on libc versions < 2.17
6 years ago
jsteube 213de0ba43 Simplify production versioning and fix variable content if there's no git installed
6 years ago
jsteube 084eed0a0d Moved some gcc options around to different places in Makefile
6 years ago
TomasKorbar 8222b361f1 Modified makefile to add soname for libhashcat
6 years ago
jsteube e21779112f Fix some tabs in Makefile
6 years ago
philsmd caa5c052ec
Makefile: disallow running 'make install' on windows systems (including cygwin/msys etc)
6 years ago
philsmd 0b79d65682
Makefile: fixed whitespace by using spaces instead of tabs where possible
6 years ago
jsteube 7c1fb0140c Files: Copy include/ folder and its content to case SHARED is set to 1 in Makefile
6 years ago
Gabriele Gristina 43ce4f6135 Add checks for clock_gettime() support in Makefile
7 years ago
Rosen Penev 1c5915cae3 remove special time handling in hashcat.
7 years ago
jsteube b864fa5ba7 Removed option --gpu-temp-retain that tried to retain GPU temperature at X degrees celsius, please use driver specific tools
7 years ago
jsteube 4b5110281d Unset production flag during development phase
7 years ago
jsteube f2ea05ca69 Final v4.0.1 commit
7 years ago
philsmd d93b591dc5
cosmetic: updated comment about VERSION_EXPORT
7 years ago
philsmd 7825846e00
for 1414: add dependency on the shared root folder, fix parallel builds
7 years ago
Jens Steube e6978c23c0
Merge pull request #1408 from neheb/patch-2
7 years ago
philsmd c06c5ddd48
fixes #1412: sed for VERSION_EXPORT fixed compilation problem
7 years ago
jsteube 0ac3dcbf76 Unset production flag during development phase
7 years ago
Rosen Penev 8d4b08b3ab Switch debug to -Og
7 years ago
jsteube c6d7fc845d Restore VERSION_TAG in Makefile
7 years ago
philsmd 1030f5b44e
fixes #1403: fixed extraction of the version number for archives without .git dir
7 years ago
jsteube d0f5c9f2b3 Rename MacOS to macOS
7 years ago
jsteube 980f04a7b6 Rename instances of OSX to MacOS
7 years ago
jsteube 6c16b7f3ee Version tag rc6
7 years ago
jsteube dae6bc8657 Version tag rc5
7 years ago
jsteube d64f6e0912 Version tag rc4
7 years ago
jsteube f55350584f Version tag rc3
7 years ago
jsteube 822ae7b9a9 RC2
7 years ago
Jens Steube 4a4eb0ef7f Merge pull request #1376 from neheb/make
7 years ago
Rosen Penev 190fc9bf17 Deny warnings with -Wno instead of commenting them out.
7 years ago
philsmd 48f153b5e2
typo in Makefile
7 years ago
jsteube 036d4874c7 Update version numbers to v4.0.0-RC1
7 years ago
jsteube 2517292ac1 Removed option --weak-hash-check (zero-length password check) to increase startup time, it also causes many Trap 6 error on OSX
7 years ago
jsteube e47506c610 Use pure kernel rule engine for --stdout
7 years ago
Jens Steube 4833d6c4d7 Fix Makefile and test.sh script
7 years ago
jsteube c4098e2230 Fix invalid use of a non-vector function from within a vector function
7 years ago
jsteube 8abd7ae9d1 Fix some old GCC compiler warnings
7 years ago
jsteube 83d5302256 Fix install makefile target for use with hashcat.hcstat2
7 years ago
Jens Steube 08fc0ec1fb Added self-test funcionality for OpenCL kernels on startup
7 years ago
jsteube 9a8f4036ec Set github master back into development mode
7 years ago
Jens Steube acd93cf780 Mark release for production
7 years ago
Jens Steube 086a07264a Switch from libiconv to win-iconv
7 years ago
Jens Steube 79609e8a54 Building: On binary release package, link libiconv static for windows binaries
7 years ago
Pierre-Antoine Haidar-Bachminska 4e30ec5489 Fix compilation error on macOs (missing iconv linking)
7 years ago
Jens Steube 7cabb848d2 Wordlist encoding: Support added for internal convert from and to user-defined encoding during runtime
7 years ago
sgroat 21efc80975 fix string
7 years ago
magnum ba0b2ee641 Ensure 'make clean' is a safe operation (eg. do not remove output and
7 years ago
jsteube 67159b1936 Update Makefile: we're currently not in PRODUCTION=1 phase
7 years ago
Rosen Penev df3c2e712e
Change c99 to gnu99. _GNU_SOURCE conflicts with c99
7 years ago
jsteube 5f58a25dcc Building: Removed compiler option -march=native as this created problems for maintainers on various distributions
7 years ago
jsteube 778f568d91 Prepare for v3.40 release
7 years ago
philsmd 2436972623
always use the native sed (not gsed) for OSX, #1036
7 years ago
Jens Steube 5d42f47c73 Merge pull request #1036 from gum0x/master
7 years ago
jsteube 06c184aeea Do not use NULL for va_* variadic functions
7 years ago
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
8 years ago
Nikolai Lifanov 9616c80e25 respect ports tree CFLAGS and LFLAGS step 2
8 years ago
Nikolai Lifanov 4cce9a9fd1 respect ports tree CFLAGS and LFLAGS
8 years ago
Gabriele Gristina 472206384d Try fix -rpath usage
8 years ago
jsteube d2c76d9320 This commit splits the native hashcat binary into the hashcat library and hashcat frontend.
8 years ago
jsteube 07078e8c14 Added hashcat32.dll and hashcat64.dll makefile targets for building hashcat windows libraries
8 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