Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot function properly under the mounted path in VMware linux virtual machine. #1982

Open
gongchengjinlove opened this issue Oct 7, 2023 · 0 comments
Labels

Comments

@gongchengjinlove
Copy link

Describe the bug
VMware virtual machine mount path can't scan file or fd.

To Reproduce
1.Map a directory to a virtual machine in VMware Workstation.
2.Use the library functions yr_scanner_scan_file or yr_scanner_scan_fd to scan files mounted within the virtual machine.
3.Encounter the error "ERROR_COULD_NOT_OPEN_FILE."

Expected behavior
scan files under the vmhgfs file system

Screenshots
If applicable, add screenshots to help explain your problem.
image
image
image

Please complete the following information:

  • OS: [CentOS Linux 7.6 virtual machine by vmware ]
  • YARA version: [4.3.2]

Additional context
filemap.c -> yr_filemap_map_fd() -> #ifdef linux -> fstatfs()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant