nekomusumeninaritai@lemmy.blahaj.zoneOPtoProgrammer Humor@lemmy.ml•Video-over-DNS TXT Records
6·
5 days agoI just came back to comment that --
probably doesn’t add security unless something like xargs
which puts stdin
on the command line itself is used.
I have gotten in the habit of mindlessly adding it I guess.
Checks I Should Have Done Before Posting
Sorry for the self-posting. I just wanted to share my post-hoc file checks since it was due-diligence I didn’t think of until after I shared.
TLDR: I redirected into a file and inspected it at least enough to say I received an mkv container with an h264 video and opus audio.
Caveats
Details
I ran the command from my post in a world-readable directory with
>mystery_video_file
substituted for| mpv -- -
and inspected the download withsudo --user=nobody -- file -- mystery_video_file
which output
I ran
rename --last -- '' '.mkv' mystery_video_file # the '' is the empty string delimited with apostrophes
and thensudo --user=nobody -- ffprobe -hide_banner -- mystery_video_file.mkv
which output
If you trust me and not the presenter for some inexplicable reason, the SHA-512 checksum for the video is “24345bd3ca8015c14a7d5d63d6b2a40f9d0f8c0307a65996226a496f121fa5ae934718cf58090f43ee67bc250b06804f23c73688cc871c15c1ba18d79b1a82a8”.