From c450a666b6be16edd531edb5124c769d1d571717 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Tue, 21 May 2024 10:22:33 +0200 Subject: [PATCH] add dl hacks --- .../hacking/Bypassing Download Restrictions.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 technology/hacking/Bypassing Download Restrictions.md diff --git a/technology/hacking/Bypassing Download Restrictions.md b/technology/hacking/Bypassing Download Restrictions.md new file mode 100644 index 0000000..538dabb --- /dev/null +++ b/technology/hacking/Bypassing Download Restrictions.md @@ -0,0 +1,16 @@ +--- +obj: concept +rev: 2024-05-08 +--- + +# Bypassing Download Restrictions +Some websites restrict how you can interact with their content. Letting you only see the content, but not download them for example. But the websites needs to send you the content somehow, so the restrictions are actually just placebo. Here are some methods to bypass them. + +## Referer +If a resource loads when used inline on a website, but is blocked if visited directly, you can fake the HTTP Header Referer to make the server think you load it from the original site instead of downloading. + +```shell +curl -o download -H "Referer: " "" +``` + +> You can change the User Agent to match your browser to avoid beeing sus \ No newline at end of file