Commit Graph

285 Commits (fa0b8e643d0005775f28a2f43172de1191ed4119)

Author SHA1 Message Date
Jens Steube 55add7c60e The goal of this branch to develop a plugin like interface for hashcat kernels.
6 years ago
Jens Steube ed8384d4bc OpenCL Runtime: Disable auto-vectorization for Intel OpenCL runtime to workaround hanging JiT since version 18.1.0.013
6 years ago
Jens Steube 4359f61f84 Make sure to initialize INPUT_RECORD variables because of the union data type section
6 years ago
Jens Steube 4a9171ca5d Fix use of select() on stdin on windows
6 years ago
jsteube fd71da8ade Add timeout to fgets() for later use
6 years ago
jsteube 634dd71384 Remove some suppressed warnings
6 years ago
jsteube bdec457951 TrueCrypt/VeraCrypt cracking: Do an entropy check on the TC/VC header on start
6 years ago
jsteube cd0923f1b8 General file handling: Abort if a byte order mark (BOM) was detected in a wordlist, hashlist, maskfile or rulefile
6 years ago
jsteube cc8fa3ee80 Remove TOKEN_ATTR_TERMINATE_STRING from input_tokenizer() and replace with equalivalent code where it's needed
6 years ago
jsteube c3fc50294f Bring back CUDA_CACHE_DISABLE=1 because users report to have problems without it
6 years ago
jsteube 124d10989c Try original NV kernel bytecode cache for faster startup, see how user response is
6 years ago
Jens Steube 1af8e29a4b Add round_up_multiple_32() and round_up_multiple_64()
6 years ago
Jens Steube d656e9c3a4 OpenCL Kernels: Use the kernel local buffer size as additional reference in order to limit the thread-count
6 years ago
jsteube 05a01d3843 fix some datatypes
6 years ago
jsteube ef3cdddb18 Enforce environment variables to be set in cygwin environment
6 years ago
Rosen Penev aece2cc4be Get rid of hc_ctime too. Also fix some cppcheck confusion with nvapi.
7 years ago
Rosen Penev 1c5915cae3 remove special time handling in hashcat.
7 years ago
Rosen Penev 353d3c3008 Fix a bunch of cast-qual warnings
7 years ago
jsteube 5e6d43107e Startup: Check and abort session if outfile and wordlist point to the same file
7 years ago
jsteube 583849cd23 Fix missing free() for memory allocated with asprintf()
7 years ago
Rosen Penev 4ba19fa7c1 replace more snprintf calls with hc_asprintf.
7 years ago
Rosen Penev ec55209254 remove hc_sleep and _msec.
7 years ago
jsteube d05f40ab98 Remove OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND, no longer needed with latest ROCm
7 years ago
jsteube 8ee75141ea OpenCL Runtime: Set OpenCL build option -O2 fixed for ROCm and AMDGPU-PRO using AMD_OCL_BUILD_OPTIONS_APPEND
7 years ago
philsmd e33e828bc6
replace all time_t/__time64_t with hc_time_t and all related functions
7 years ago
philsmd 1644ac30b5
use an overflow check instead of a hard coded value for ETA
7 years ago
Jens Steube 92eb946345 Merge pull request #1309 from neheb/master
7 years ago
Rosen Penev 9736782411 Switch back to rand().
7 years ago
Rosen Penev 3c530a48c4 get_random_num: Simplify
7 years ago
jsteube 332396a003 Fix SCRYPT on ROCm
7 years ago
jsteube 33804110d1 Update default environment variables
7 years ago
jsteube 8abd7ae9d1 Fix some old GCC compiler warnings
7 years ago
jsteube b5f149476d Trim OpenCL device name whitespaces
7 years ago
jsteube 378f852cec Parameter: Detect and error when users try to use a non-digit where a digit is expected
7 years ago
jsteube ce337c5863 Replace __builtin_clz() and __builtin_clzll() with some straight forward solution
7 years ago
Rosen Penev 4ceb7a1afa
Prefer _WIN to _POSIX for defines.
7 years ago
jsteube 4e2adc031a Add some compiler independant integer overflow functions
7 years ago
jsteube 922fea7616 Add more integer overflow checks
7 years ago
philsmd bd9fdc1849
use putenv () with the COMPUTE environment as it was before
7 years ago
Jens Steube f31330679f Revert "tainted string: test number 2, try to limit the length of the compute variable"
7 years ago
Jens Steube 899b120316 Revert "tainted string: maybe strdup () helps us out"
7 years ago
philsmd 0ca0448bd9
tainted string: maybe strdup () helps us out
7 years ago
philsmd d21fbe0b2f
tainted string: test #2, try to limit the length of the compute variable
7 years ago
jsteube e47932262d Fix uint datatype (should be u32)
7 years ago
philsmd 6eaa7e3741
tainted string fix: check some lower/upper bounds of the strings
7 years ago
jsteube b381b38fd8 Fix CID 1402374
7 years ago
jsteube 671f9a7eb7 Fix hc_path_create(), first close the file descriptor before unlinking the file itself
7 years ago
jsteube 934cc6fcec Fix for https://github.com/hashcat/hashcat/issues/1006
7 years ago
jsteube 2d2eadd2f6 Use hc_path_create() for additional write checks on startup
7 years ago
jsteube 17548d3ee8 Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
7 years ago