❯ cat /var/www/html/restricted-resource.md

# josie.lol / 403

cat: Permission denied
❯ ls -la /var/www/html/restricted-resource.md
-rw------- 1 root root 1337 Aug 5 2024 /var/www/html/restricted-resource.md
❯ sudo cat /var/www/html/restricted-resource.md
[sudo] password for user:
Sorry, user is not in the sudoers file. This incident will be reported.
❯ grep "restricted-resource" /var/log/httpd/access.log | tail -n 1
::1 - - [05/Aug/2024:14:33:21 +0200] "GET /restricted-resource.md HTTP/1.1" 403 2715 "-" "Mozilla/5.0"
❯ echo "HTTP 403 - Forbidden. You don't have permission to access this resource."
HTTP 403 - Forbidden. You don't have permission to access this resource.
❯▋
Return to Homepage Go Back