Julio Molon’s Post

View profile for Julio Molon, graphic

CISM/NCSP/CCSP/CCNA/CHFI

mov eax, 5 ; sys_open mov ebx, folder ; name of the folder mov ecx, 0 mov edx, 0 int 80h cmp eax, 0 ; check if fd in eax > 0 (ok) jbe error ; cannot open file. Exit with error status mov ebx, eax mov eax, 0xdc ; sys_getdents64 mov ecx, buffer mov edx, len int 80h mov eax, 6 ; close int 80h

To view or add a comment, sign in

Explore topics