feat: download LinuxLoader-p118.pe with curl before executing exploit

Signed-off-by: Cuynu <cuynu@proton.me>
This commit is contained in:
Cuynu 2026-03-02 00:42:03 +07:00
commit eb152e96e3

View file

@ -700,7 +700,11 @@ static void show_help(void)
int main(int argc, char **argv)
{
system("[ ! -f LinuxLoader-p118.pe ] && echo 'LinuxLoader-p118.pe not found! Downloading.' && curl -L -o LinuxLoader-p118.pe https://git.disroot.org/cuynu/xperable-blobs/releases/download/blobs/LinuxLoader-p118.pe");
// Handle LinuxLoader-p118.pe files, it will be uncommented when compiling depends on OS. I was too noob to made a if else statements.
// Windows
//system("if not exist LinuxLoader-p118.pe curl -L -o LinuxLoader-p118.pe https://git.disroot.org/cuynu/xperable-blobs/releases/download/blobs/LinuxLoader-p118.pe");
// Linux/macOS
//system("[ ! -f LinuxLoader-p118.pe ] && echo 'LinuxLoader-p118.pe not found! Downloading.' && curl -L -o LinuxLoader-p118.pe https://git.disroot.org/cuynu/xperable-blobs/releases/download/blobs/LinuxLoader-p118.pe");
int i;
int res;
int offset = -1;