mirror of
https://github.com/CPunch/Laika.git
synced 2024-11-22 13:00:05 +00:00
CPunch
59c01d422b
- bot will keep trying to connect if it failed to connect to the CNC or if the bot was killed - if crontab isn't installed the bot will still run
28 lines
546 B
C
28 lines
546 B
C
/* platform specific code for achieving persistence on windows */
|
|
|
|
#include "persist.h"
|
|
|
|
/* check if laika is running as super-user */
|
|
bool laikaB_checkRoot() {
|
|
return true; /* stubbed for now */
|
|
}
|
|
|
|
/* mark that laika is currently running */
|
|
void laikaB_markRunning() {
|
|
/* stubbed */
|
|
}
|
|
|
|
/* unmark that laika is currently running */
|
|
void laikaB_unmarkRunning() {
|
|
/* stubbed */
|
|
}
|
|
|
|
/* try to gain persistance on machine */
|
|
void laikaB_tryPersist() {
|
|
/* stubbed */
|
|
}
|
|
|
|
/* try to gain root */
|
|
void laikaB_tryRoot() {
|
|
/* stubbed */
|
|
} |