From dc836a39dba1bed9c858b512af5894efbb77cde5 Mon Sep 17 00:00:00 2001 From: spv420 Date: Sun, 31 Jul 2022 00:59:21 -0400 Subject: meesa dumb --- .gitignore | 3 ++- src/js/main.js | 2 +- stage4.js | 9 --------- 3 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 stage4.js diff --git a/.gitignore b/.gitignore index c41b494..6956cbd 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,5 @@ racoon.conf .vscode -exp_unmin.js \ No newline at end of file +exp_unmin.js +stage4.js \ No newline at end of file diff --git a/src/js/main.js b/src/js/main.js index 6c1c9a5..066afb7 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -145,7 +145,7 @@ function main() { var stage4_bin = malloc(0x400000); printf("[*] loading stage4...\n"); - var fd = open("/var/root/stage4.js", O_RDONLY, 0); + var fd = open("/var/root/p0laris/stage4.js", O_RDONLY, 0); var bytes_read = read(fd, stage4_bin, 0x400000); var stage4_bin_buf = read_buf(stage4_bin, bytes_read); var stage4_js_str = ""; diff --git a/stage4.js b/stage4.js deleted file mode 100644 index 328bb0a..0000000 --- a/stage4.js +++ /dev/null @@ -1,9 +0,0 @@ -function main() { - printf("[*] landed in stage4\n"); - syslog(LOG_SYSLOG, "we out here"); - - printf("[*] p0laris.dyld_shc_slide=0x%08x\n", p0laris.dyld_shc_slide); - printf("[*] p0laris.racoon_slide=0x%08x\n", p0laris.racoon_slide); - - return 0; -} \ No newline at end of file -- cgit v1.2.3