this post was submitted on 06 Jun 2024
428 points (100.0% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
1443 readers
30 users here now
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
A friend of mine and I put this together a few years ago. I hope yall find it helpful:
Thank you for the awesomeness that is the script. If I might ask a question: why is the user agent Windows 10 if this is a bash script? I'm genuinely curious and I don't know why.I imagine this might be WSL. You did mention it was an old script so maybe it had something to do with that?
The "user-agent" part of the script is the same as a browser's user agent. So it's trying to emulate a common user so the site doesn't know it's a script, and there's not a more common user than a Windows one, so it's lying about it.
That's a very good question. It was a few years ago, but it's running right now on my computer on Linux.