💾 Archived View for thrig.me › blog › 2023 › 05 › 07 › unveil.pl captured on 2024-06-16 at 13:33:07.
⬅️ Previous capture (2023-05-24)
-=-=-=-=-=-=-
#!/usr/bin/perl # # unveil.pl - "No such file or directory" by way of a security policy use 5.36.0; use OpenBSD::Unveil; { open my $fh, "<", "/etc/passwd" or die "should not happen?? $!\n" } unveil( "/var", "r" ); { open my $fh, "<", "/etc/passwd" or die "err: $!\n" }