Avatar

JamonBear

JamonBear@sh.itjust.works
Joined
0 posts • 5 comments
Direct message

Nice! It’s using xclip or xsel to copy magnet links, afaik it’s only working on Xorg. What is the Wayland alternative for xclip?

permalink
report
reply

Why do you think it’s different?

permalink
report
parent
reply

Agreed.

Also gtfobins is a great resource in addition to shellcheck to try to make secure scripts.

For instance I felt upon a script like this recently:

#!/bin/bash
# ... some stuff ...
tar -caf archive.tar.bz2 "$@"

Quotes are OK, shellcheck is happy, but, according to gtfobins, you can abuse tar, so running the script like this: ./test.sh /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh ends up spawning an interactive shell…

So you can add up binaries insanity on top of bash’s mess.

permalink
report
parent
reply

yt-dlp --sponsorblock-remove all <url> is the way. It turns playlist link into nicely named, curated video files awaiting to played by a regular video player

permalink
report
reply

Idk about german tracker in particular, but for non-english content, here is good entry point: https://fmhy.net/non-english

permalink
report
reply