From eb152e96e36a78dc5ecd948f8ffec7a71d74e42f Mon Sep 17 00:00:00 2001 From: Cuynu Date: Mon, 2 Mar 2026 00:42:03 +0700 Subject: [PATCH] feat: download `LinuxLoader-p118.pe` with curl before executing exploit Signed-off-by: Cuynu --- xperable.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xperable.c b/xperable.c index f81f06a..7738cc7 100644 --- a/xperable.c +++ b/xperable.c @@ -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;