Closed luke-goddard closed 4 years ago
I was under the assumption that d_type is portable so removing it will be difficult because of the amount of d_type usage.
Issue replicated again on reiserfs https://github.com/ggreer/the_silver_searcher/issues/36
See #28. Should fix issue without unnecessary overhead.
closed #28
I was using enumy on an OSCP box and and walking the file system would fail. All files would come up as unknown file type error. I added some extra debug statements, recompiled code an shipped off throw netcat and found that d_type returns 0?
The main filesystem is XFS
We can run xfs_info and see that f_type is set to 0
This prevents enumy from figuring out if a file is a file or a directory etc.