aboutsummaryrefslogtreecommitdiff
path: root/src/proone-mkdvault.c
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2021-08-13 18:22:35 +1000
committerDavid Timber <mieabby@gmail.com>2021-08-13 21:50:26 +1000
commit73799fe772152089a6c57aa339f08426cf3eaf11 (patch)
tree6f7c7d2b6266c84ef49499791f252bea2feccd81 /src/proone-mkdvault.c
parenta685a85d71e4948c61e811ca24c7b85d601bfcba (diff)
Impl bne ...
* Add upload lock mechanism to prevent multiple instances trying to infect the same host simultaneously * Add "upload guard". The upload guard cleans up the lock file and the upload directory in the event of upload failure * Fix bug in bne_vssh_flush_f() * prne_strzero() accepts NULL * Fix Proone: missing prne_dvault_reset() calls
Diffstat (limited to 'src/proone-mkdvault.c')
-rw-r--r--src/proone-mkdvault.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proone-mkdvault.c b/src/proone-mkdvault.c
index 1c281fa..95ff310 100644
--- a/src/proone-mkdvault.c
+++ b/src/proone-mkdvault.c
@@ -203,6 +203,7 @@ int main (const int argc, const char **args) {
add_file(PRNE_DATA_KEY_CRED_DICT, args[1]);
add_cstr(PRNE_DATA_KEY_EXEC_NAME, PRNE_BNE_EXEC_NAME);
add_ver_mat();
+ add_cstr(PRNE_DATA_KEY_BNE_LOCK_NAME, PRNE_BNE_LOCK_NAME);
pos += NB_PRNE_DATA_KEY * sizeof(uint16_t);