summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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