scr34m / php-malware-scanner

Scans PHP files for malwares and known threats
GNU General Public License v3.0
556 stars 96 forks source link

How to scan symlink directory? #87

Closed toriqsetiawan closed 1 year ago

toriqsetiawan commented 1 year ago

could you please help me to solve this issue? i need to scan symlink directory like this

Screenshot 2023-05-20 at 22 31 01
scr34m commented 1 year ago

There is already a flag follow-symlink for symlinked directories, but currently not for files. But you can check where the symlink pointing and scan that directory isn't?

toriqsetiawan commented 1 year ago

okay got it. I'm using -l to scan the symlink directory, and it works properly. I want to split the directory to make batch processing and I prefer using links instead of copying or moving the files. thank you.