masc
masc copied to clipboard
ERROR Can't open file or directory
I'm trying to execute the below command as 'root' on ubuntu 20.04 + python 3.8.10:
masc --scan --site-type wordpress --path /var/www/html
But I only get error: "Can't open file or directory" like below for all files:
Scanning your website (Using ClamAV engine) \{'/var/www/html/wp-config-sample.php': ('ERROR', "Can't open file or directory")}
Scanning your website (Using ClamAV engine) /{'/var/www/html/wp-mail.php': ('ERROR', "Can't open file or directory")}
Scanning your website (Using ClamAV engine) \{'/var/www/html/wp-links-opml.php': ('ERROR', "Can't open file or directory")}
Scanning your website (Using ClamAV engine) /{'/var/www/html/wp-activate.php': ('ERROR', "Can't open file or directory")}
Scanning your website (Using ClamAV engine) \{'/var/www/html/wp-trackback.php': ('ERROR', "Can't open file or directory")}
Scanning your website (Using ClamAV engine) /{'/var/www/html/wp-admin/user/admin.php': ('ERROR', "Can't open file or directory")}
Scanning your website (Using ClamAV engine) \{'/var/www/html/wp-admin/user/user-edit.php': ('ERROR', "Can't open file or directory")}
Thanks to advice how to resolve this.
Maybe some permissions over /var/www/html for the user who executes the script?