-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSP Bypass can't be solved with Hastebin anymore (once again) #539
Comments
Any suggestions for alternatives?
…On Wed, 1 Mar 2023, 21:53 Paul Maier, ***@***.***> wrote:
*Describe the bug*
Hastebin which was the alternative to pastebin changed their API to
require authentication for getting the raw content (see docs). You can't
however add the required token as a URL parameter, but instead have to set
the header, which makes the challenge unsolvable. (Unless you use something
like Burp Suite to capture the request and change the header, which is not
meant to be part of the challenge.)
*To Reproduce*
Steps to reproduce the behaviour:
1. Go to hastebin
2. Create a script
3. Share it
4. Replace /share/ with /raw/
5. Be disappointed because you get a 401
*Expected behaviour*
You would expect to just get the raw content.
*Screenshots*
This is the error message you get when trying to access the raw content
[image: Screenshot_20230301_224724]
<https://user-images.githubusercontent.com/76663511/222272279-d6dfacbd-dea4-4212-accd-83aa48804712.png>
*Additional context*
Hastebin docs <https://www.toptal.com/developers/hastebin/documentation>
for reference
Links to the hastebin
https://hastebin.com/share/omicituwup.scss
https://hastebin.com/raw/omicituwup.scss (will give you the shown error
message)
Hope it helps and that I didn't overlook anything.
—
Reply to this email directly, view it on GitHub
<#539>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA4SWP5G66TYZNJZIWM2XDWZ7APLANCNFSM6AAAAAAVMTD4XY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Could GitHub Gist work? |
Looks like it might, but it seems too obvious that I didn't look at that in
the first place so there may be some catch it with.
I'll have a look in the morning.
…On Wed, 1 Mar 2023, 21:59 Paul Maier, ***@***.***> wrote:
Could GitHub Gist work?
—
Reply to this email directly, view it on GitHub
<#539 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA4SWI7X65WK6P7NKOYCRLWZ7BEFANCNFSM6AAAAAAVMTD4XY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Just checked but there seems to be the same MIME type issue that already made postbin useless |
There had to be a reason!
…On Wed, 1 Mar 2023, 22:05 Paul Maier, ***@***.***> wrote:
Just checked but there seems to be the same MIME type issue that already
made postbin useless
—
Reply to this email directly, view it on GitHub
<#539 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA4SWLRAMM7UEXBWJ6OULLWZ7BZ5ANCNFSM6AAAAAAVMTD4XY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I've now tried a few of these services, but all of them seem to suffer from this issue |
I've asked on Twitter for alternatives, will see what comes back. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Hastebin which was the alternative to pastebin changed their API to require authentication for getting the raw content (see docs). You can't however add the required token as a URL parameter, but instead have to set the header, which makes the challenge unsolvable. (Unless you use something like Burp Suite to capture the request and change the header, which is not meant to be part of the challenge.)
To Reproduce
Steps to reproduce the behaviour:
/share/
with/raw/
Expected behaviour
You would expect to just get the raw content.
Screenshots
This is the error message you get when trying to access the raw content
Additional context
Hastebin docs for reference
Links to the hastebin
https://hastebin.com/share/omicituwup.scss
https://hastebin.com/raw/omicituwup.scss (will give you the shown error message)
Hope it helps and that I didn't overlook anything.
The text was updated successfully, but these errors were encountered: