1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 08:08:10 +00:00

Merge pull request #3011 from llamasoft/patch-1

Replace placeholder with actual example modules
This commit is contained in:
Jens Steube 2021-10-20 19:29:15 +02:00 committed by GitHub
commit 44a5e2a1c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -518,7 +518,7 @@ It is unclear to hashcat if this buffer will be handled in a thread-safe fashion
The module developer does not have to care about managing the multiple instances but has to provide the size of the buffer to be allocated. For this, they have to use the module_hook_extra_param_size() function. The buffer in *hook_extra_param is zeroed and ready to be written when module_hook_extra_param_init() is called. On startup, hashcat will call module_hook_extra_param_init() that many times as there are hook threads each time providing the module function with a new buffer. The same logic applies to module_hook_extra_param_term() on shutdown. Hashcat will also free the memory on shutdown.
A good example for this is: `src/modules/module_xxxxx.c`
A good example for this is: `src/modules/module_11600.c` and `src/modules/module_23800.c`
## Kernel ##