💾 Archived View for thrig.me › blog › 2023 › 05 › 07 › unveil.pl captured on 2024-08-18 at 20:28:24.
⬅️ 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" }