summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspv420 <spv@spv.sh>2022-07-31 00:59:21 -0400
committerspv420 <spv@spv.sh>2022-07-31 00:59:21 -0400
commitdc836a39dba1bed9c858b512af5894efbb77cde5 (patch)
tree2e569da5f2c3cf488f6a4e3a60e1c7674e0b6c4c
parent7cbe4c9f1ce8ede6499f3c25ce6040c0f4aea3c5 (diff)
meesa dumb
-rw-r--r--.gitignore3
-rw-r--r--src/js/main.js2
-rw-r--r--stage4.js9
3 files changed, 3 insertions, 11 deletions
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