1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-12 02:38:56 +00:00
Commit Graph

182 Commits

Author SHA1 Message Date
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