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.
...
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
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
...
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 ;)
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
...
Suggested here: https://github.com/hashcat/hashcat/issues/530
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
...
Added docs/team.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