Commit Graph

1225 Commits (bb972931f3e0a6184cf7042e14b5198737630fec)

Author SHA1 Message Date
jsteube e3a245f615 Fix compiler warnings caused by -Wpointer-arith
8 years ago
jsteube 7eef713ff7 Fix compiler warnings caused by -Wshadow
8 years ago
Jens Steube 6133809704 Merge pull request #561 from neheb/master
8 years ago
Rosen Penev 2751cc363b
Remove -float-conversion. Needs a recent GCC
8 years ago
Jens Steube 25bc960a09 Merge pull request #560 from matrix/fix_string_format
8 years ago
Jens Steube a4cf3b4dbc Merge pull request #559 from matrix/fix_resource_leak
8 years ago
Jens Steube ab20f4a6f1 Merge pull request #558 from matrix/quit_if_paused
8 years ago
Rosen Penev a219b95c17
Fix a bunch of warnings
8 years ago
Rosen Penev 0d6c020433
Add extra warnings to Makefile
8 years ago
Gabriele Gristina f500727bd8 Fix string format
8 years ago
Gabriele Gristina 6bf5ee95a6 Fix resource leak
8 years ago
Gabriele Gristina 5c1132167b Quit program also if status == PAUSED
8 years ago
Gabriele Gristina 3afa29bcff Cleanup src/interface.c code
8 years ago
Gabriele Gristina 0b2abb17da Move '-framework OpenCL' from CFLAGS to LDFLAGS
8 years ago
Jens Steube cf1c133678 Merge pull request #552 from matrix/master
8 years ago
jsteube 2a330122b4 Update Makefile to be more specific to uname -s
8 years ago
jsteube 3a04086a04 Fix for https://github.com/hashcat/hashcat/issues/555
8 years ago
jsteube f85886ecf1 Adjusted PID controler settings
8 years ago
Gabriele Gristina e7406bec33 Fixed OSX stack overflow - v2
8 years ago
jsteube 99afe745b5 Fix NvAPI fan speed restore to default on quit
8 years ago
jsteube b16c15c151 Fix missing TOPID in hashcat.log for user options
8 years ago
jsteube 7147d659f9 Fix input-base and input-mod ordering for status screen
8 years ago
jsteube d7c019b583 Rename some variable naming in straight.c
8 years ago
jsteube e2066b7919 Fix more missing zero-byte termination in outfile.c
8 years ago
jsteube 8d6b6dd286 Also works for hybrid modes
8 years ago
jsteube 9e156321ef Bring back mask length of mask as number to status screen
8 years ago
jsteube 87aed3482f Fix missing zero-byte termination in build_plain()
8 years ago
jsteube f3fc5d96c4 Limit status_ctx access with a flag, easier to test
8 years ago
jsteube df8a9ab5e5 Support mixed kernel thread count for mixed kernels in the same source file
8 years ago
Etienne f35f475b4f Add --restore-file-path option
8 years ago
Gabriele Gristina dbe60b845b Fix OSX segfault on check_hash()
8 years ago
jsteube 5accadb511 Fix invalid Time.Estimated value in status screen
8 years ago
jsteube 05634fe727 Do not run any caching rounds in autotune in DEBUG mode if -n and -u are specified
8 years ago
jsteube 39eed94703 Add option OPTS_TYPE_BINARY_HASHFILE for interface.c
8 years ago
jsteube 766a11356b Fix some loop issue in --loopback
8 years ago
jsteube f02b34b6ae Rename hashcat_session_run() to hashcat_session_execute()
8 years ago
jsteube 68b907a012 Fix some output in case wordlist has only size of 1 word
8 years ago
jsteube 6582a8ae21 Fix https://github.com/hashcat/hashcat/issues/549
8 years ago
jsteube 636d953996 Move out all use of event_log_info() from library code to main.c or terminal.c
8 years ago
jsteube e26b08f61f Move opencl_info() to terminal.c
8 years ago
jsteube 001ba8a655 Replace some printf() in opencl.c with event_log_info()
8 years ago
jsteube 5906f1ab54 Fix some format string for 64 bit
8 years ago
jsteube 824654e2fb Create opencl_ctx_devices_show() as an example for how to access opencl devices from library and as replacement for inlined code for -I
8 years ago
jsteube c4ba7907ca Fix more EOL issues
8 years ago
jsteube 97b58b16af Fix some EOL handling
8 years ago
jsteube 97a33dc4ef Sort events
8 years ago
jsteube 6f07d0d947 Fix https://github.com/hashcat/hashcat/issues/547
8 years ago
jsteube 5815055a7a Fixes https://github.com/hashcat/hashcat/issues/545
8 years ago
jsteube e1010ffba1 Prepare library user access to OpenCL device information without running an attack
8 years ago
jsteube 1c055a6311 Move event_log_info() out of hashes.c
8 years ago
jsteube 14bd614bfc Move event_log_info() out of restore.c
8 years ago
jsteube 515107047b Move event_log_info() out of wordlist.c
8 years ago
jsteube 3b014dce28 Switch event_log_info() to event_log_error() in user_options.c
8 years ago
jsteube bfdd0edbad Move event_log_info() out of thread.c
8 years ago
jsteube c6c31a86d8 Add some changes to improve compiling on MSYS2
8 years ago
jsteube 6b96146e0f Fix integer overflow in status.c
8 years ago
jsteube 655c3881f3 Add compilation on MINGW64 to Makefile
8 years ago
jsteube 27e92540e4 Do not unlink restore file of restore is disabled
8 years ago
jsteube 8ecabcb9ac Fix --stdout and --keyspace
8 years ago
jsteube 574acfab6a Move masks_pos from rd* to masks_ctx and dicts_pot from rd* to straight_ctx
8 years ago
jsteube 761e3f0d96 Move out words_cur from restore_ctx to status_ctx and let the dispatcher update it
8 years ago
jsteube fa293bb409 Fix --quiet mode in main_cracker_finished()
8 years ago
jsteube 98cdfac52d Fix --quiet mode in main_cracker_finished()
8 years ago
jsteube e4b3ea937f Fix salt length for -m 22 in benchmark mode
8 years ago
jsteube eeefe8051a Enable ASLR or/and DEP for Windows builds
8 years ago
jsteube 0a26b09684 Fix buffer overflow in status_get_hash_target()
8 years ago
jsteube a460ab01b6 Bring back --username handling to --show and --left
8 years ago
jsteube f5a92900c6 Rudimentary --show support is back
8 years ago
jsteube 9b2c69a00d Bring error in case someone uses --show
8 years ago
jsteube edefcdbaaa Rudimentary --left support is back
8 years ago
jsteube f6334b5f90 Handling --show and --left need to be refactored, do not use those flags atm
8 years ago
jsteube 0fd48b228f Get rid of all event_log_* calls in monitor.c and replace them with real events
8 years ago
jsteube 1f72aa95e6 Destinguish between EVENT_POTFILE_HASH_CRACKED and EVENT_CRACKER_HASH_CRACKED for prompt handling
8 years ago
jsteube 2005f5d193 Remove terminal.h where's it's not needed
8 years ago
jsteube 08d52cc1d3 Go back to original status view attribute ordering
8 years ago
jsteube 54e5e6c2d0 Make some backward compatibility code more visible
8 years ago
jsteube c3266e363a Make status_display_machine_readable() use of hashcat_status_t
8 years ago
jsteube 89e3168280 Make status_display(), status_benchmark_automate() and status_benchmark() use of hashcat_status_t
8 years ago
jsteube 65b3910dc0 Converted status_benchmark_automate()
8 years ago
jsteube 1d0810a759 Added status_get_hwmon_dev() to status.c
8 years ago
jsteube 2b28010aae Added status_get_input_candidates_dev() to status.c
8 years ago
jsteube 8d81d3bd55 Added progress_mode to status.c
8 years ago
jsteube 86c1c7ef10 Added CPT functions for later use in status.c
8 years ago
jsteube df521d664b Move restore_* variables into separate functions for later use in status.c
8 years ago
jsteube 615d977b7c Add new functions to hashcat_get_status()
8 years ago
jsteube b044271b01 Move more status display calculate logic into separate functions
8 years ago
jsteube 2545ec6bf9 Prepare hashcat_get_status()
8 years ago
jsteube f8a6d156eb Add some more returncode checks
8 years ago
jsteube d2bcb19740 Fix some rc check
8 years ago
jsteube 7bcbbbea74 Add some more returncode checks
8 years ago
jsteube bfbc4279f4 Add some more returncode checks
8 years ago
jsteube 7383bb14f5 Add some more returncode checks
8 years ago
jsteube e10c41c831 Do not show final status in case -I is used
8 years ago
jsteube 694de36694 Print warnings in yellow and errors in red
8 years ago
jsteube 91979bff69 Mark OpenCL devices as listing
8 years ago
jsteube 017555e257 Fix some log levels
8 years ago
jsteube 4b8576ffb7 Do not show goodbye_screen in --machine-readable mode
8 years ago
jsteube 191269f4f0 Add --speed-only mode
8 years ago
jsteube 9d4f9f5698 Fix dictstat and logfile
8 years ago
jsteube ef80e3f074 Some newline fixes
8 years ago
jsteube 056083fdba Revert "Prepare for hashcat_ctx_run_session()"
8 years ago
jsteube 0179097a53 Prepare for hashcat_ctx_run_session()
8 years ago
jsteube 742b9c8404 Fix clear line system
8 years ago
jsteube a3fa435f4f Use \b instead a combination of \r and space
8 years ago
jsteube 9f59f7766e fix newline handling on windows
8 years ago
jsteube 757dc088ff Transport back errors from outer_loop()
8 years ago
jsteube 8de576f5e9 Make it possible to access error messages without using an event
8 years ago
jsteube fc2d242f50 Remove some unneeded includes from main_shared.c
8 years ago
jsteube c826dc0e4d install_folder and shared_folder are not mandatory, remove them from main_shared.c to make the example more easy to understand
8 years ago
jsteube e4718dc582 Make some more useful example for returncode in main_shared.c
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 8598a79732 Removed exit() from memory.c, resulting in all exit() calls removed from all code in the repository
8 years ago
jsteube 62284f79b1 Get rid of exit() in hashcat.c
8 years ago
jsteube 690ca0219e Fix formatstring in CPT display and get rid of potfile_format_plain()
8 years ago
jsteube ee1661b9db Revert "Fix formatstring in CPT display"
8 years ago
jsteube 8d3e9fc70c Fix formatstring in CPT display
8 years ago
jsteube 556c07d8ee Revert "Use printf() instead of event_log_*() in terminal.c and status.c"
8 years ago
jsteube 358ad9bdbe Revert "Fix some newlines in status.c"
8 years ago
jsteube 29c2931b67 Fix some newlines in status.c
8 years ago
jsteube 690b465ddc Use printf() instead of event_log_*() in terminal.c and status.c
8 years ago
jsteube 60f6137a3f Fix some newlines in restore mode
8 years ago
jsteube ebc26ecac5 Fix some log levels in opencl.c
8 years ago
jsteube 386efb7fb5 Make use of EVENT_CRACKER_HASH_CRACKED, do not print a cracked hash to stdout directly, let the client do it
8 years ago
jsteube 20832d29d6 Do not reset innerloop_left and outerloop_left too early so we can access it from status display
8 years ago
jsteube fa70e44874 Better handle rc == -1
8 years ago
jsteube 6a697571fd Remove debugging symbols from binary builds
8 years ago
jsteube a3bf6fd4ef Make use of nvmlDeviceGetCount()
8 years ago
jsteube afd44130fc Prefix warning and error messages
8 years ago
jsteube bb4e381d18 Do not run keypress thread in case -I is used
8 years ago
jsteube af9de0a7b7 Fix some error string formats
8 years ago
jsteube ab8d2eb336 Fix newlines in help menu
8 years ago
jsteube 26fd67d932 Inline outfile_format_plain()
8 years ago
jsteube 60000136fe Hand merged https://github.com/hashcat/hashcat/pull/533
8 years ago
jsteube 2a5545d2b7 Move logfile stuff back to hashcat.c, it's a core feature which should be handled by the library
8 years ago
jsteube 6d2c58d8df Add main_potfile_remove_parse_post()
8 years ago
jsteube f962a38221 Remove double message
8 years ago
jsteube 8fc4da795b Replace fprintf(stderr, ...) on malloc.c with log_event_error()
8 years ago
jsteube 07f5b2195b Hopefully fixes some OSX compiler errors
8 years ago
jsteube 0f96c57ead Remove some workarounds to use get rid of unused variable warnings
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 7ed79bf42e switch dictstat.c to event_log_*
8 years ago
jsteube 2a2df035e6 switch debugfile.c to event_log_*
8 years ago
jsteube fa4de96ab0 switch cpu_crc32.c to event_log_*
8 years ago
jsteube ebc8eb7454 switch combinator.c to event_log_*
8 years ago
jsteube 25a1f7ab84 switch autotune.c to event_log_*
8 years ago
jsteube 88565b4a5e Switch CPU affinity stuff to event_log_*
8 years ago
jsteube 42677df2a6 Start context-related logging with goal to get rid of logging.c
8 years ago
jsteube f469694030 Add event_set_kernel_power_final()
8 years ago
jsteube d993aa5ffa Get rid of more log_info() in hashcat()
8 years ago
jsteube 27887bf9ce Get rid of more log_info() in hashcat()
8 years ago