Discuss Scratch

NFlex23
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

I'm actually going to delete the database because someone is abusing the system. I've also added some precautions to prevent spam. Sorry for the inconvenience, I won't do this again!

Last edited by NFlex23 (Sept. 9, 2021 12:12:04)


Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
  • Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
  • The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
  • Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
  • Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
  • Issues with Scratch itself should be put in Bugs and Glitches.
Before you post: Is what you're posting likely to start an argument or derail the thread (e.g., browsers, operating systems)? If so, please re-think your post!





Chiroyce
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

NFlex23 wrote:

I've also added some precautions to prevent spam.
Hi Purr developer, why did you remove the admin panel when you could've fixed the bugs in it? I can help you

Last edited by Chiroyce (Sept. 9, 2021 14:43:44)








April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
Jeffalo
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

Chiroyce
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

Jeffalo wrote:

https://www.purr.ml/gqq2
Firefox to the rescue







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
Chiroyce
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

Another bug!

Someone can make a domain like this —
https://scratch.mit.edu.random.domain
and it'll pass the scratch URL test.

See for yourself — www.purr.ml/0gcw







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
Jeffalo
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

url parsing is really hard to do. i dont know python, but maybe this will help https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlparse



my website: jeffalo.net | ocular: scratch forum search













CST1229
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

Jeffalo wrote:

https://www.purr.ml/gqq2
https://www.purr.ml/v8vt
url go brrrr

Last edited by CST1229 (Sept. 9, 2021 15:49:19)


This is a signature. It's a piece of text that appears below every post I write. Click here to learn more, including how to make your own.
RIP assets image hosting. 2013?-2023



NFlex23
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

Chiroyce wrote:

NFlex23 wrote:

I've also added some precautions to prevent spam.
Hi Purr developer, why did you remove the admin panel when you could've fixed the bugs in it? I can help you
Too many bad words that I didn't want to read and I was tired of deleting them.

Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
  • Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
  • The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
  • Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
  • Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
  • Issues with Scratch itself should be put in Bugs and Glitches.
Before you post: Is what you're posting likely to start an argument or derail the thread (e.g., browsers, operating systems)? If so, please re-think your post!





Chiroyce
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

CST1229 wrote:

Jeffalo wrote:

https://www.purr.ml/gqq2
https://www.purr.ml/v8vt
url go brrrr
ok how did you do that?!

NFlex23 wrote:

Too many bad words that I didn't want to read and I was tired of deleting them.
Use this https://pypi.org/project/profanity-filter/







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
CST1229
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

Chiroyce wrote:

ok how did you do that?!
https://scratch.mit.edu:@google.com
(hopefully jeffalo/the devs/the st won't scream at me)

This is a signature. It's a piece of text that appears below every post I write. Click here to learn more, including how to make your own.
RIP assets image hosting. 2013?-2023



Chiroyce
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

CST1229 wrote:

https://scratch.mit.edu:@google.com
And how does it work?







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
CST1229
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

Chiroyce wrote:

CST1229 wrote:

https://scratch.mit.edu:@google.com
And how does it work?
Basically that's using an obscure url component, login info. (like username:password@website.website)
You can trick this shortener with that by just having scratch.mit.edu as the username.
As a side note, you can do this without specifying a password at all, kinda like an email address.

Also dev pls fix.

Last edited by CST1229 (Sept. 9, 2021 16:09:06)


This is a signature. It's a piece of text that appears below every post I write. Click here to learn more, including how to make your own.
RIP assets image hosting. 2013?-2023



NFlex23
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

CST1229 wrote:

Chiroyce wrote:

CST1229 wrote:

https://scratch.mit.edu:@google.com
And how does it work?
Basically that's using an obscure url component, login info. (like username:password@website.website)
You can trick this shortener with that by just having scratch.mit.edu as the username.
As a side note, you can do this without specifying a password at all, kinda like an email address.

Also dev pls fix.
I guess I could use regex…

Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
  • Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
  • The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
  • Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
  • Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
  • Issues with Scratch itself should be put in Bugs and Glitches.
Before you post: Is what you're posting likely to start an argument or derail the thread (e.g., browsers, operating systems)? If so, please re-think your post!





NFlex23
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

Chiroyce wrote:

CST1229 wrote:

Jeffalo wrote:

https://www.purr.ml/gqq2
https://www.purr.ml/v8vt
url go brrrr
ok how did you do that?!

NFlex23 wrote:

Too many bad words that I didn't want to read and I was tired of deleting them.
Use this https://pypi.org/project/profanity-filter/
Good idea, I'll add this soon.

Last edited by NFlex23 (Sept. 9, 2021 18:07:35)


Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
  • Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
  • The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
  • Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
  • Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
  • Issues with Scratch itself should be put in Bugs and Glitches.
Before you post: Is what you're posting likely to start an argument or derail the thread (e.g., browsers, operating systems)? If so, please re-think your post!





Jeffalo
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

NFlex23 wrote:

CST1229 wrote:

Chiroyce wrote:

CST1229 wrote:

https://scratch.mit.edu:@google.com
And how does it work?
Basically that's using an obscure url component, login info. (like username:password@website.website)
You can trick this shortener with that by just having scratch.mit.edu as the username.
As a side note, you can do this without specifying a password at all, kinda like an email address.

Also dev pls fix.
I guess I could use regex…

Jeffalo wrote:

url parsing is really hard to do. i dont know python, but maybe this will help https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlparse



my website: jeffalo.net | ocular: scratch forum search













-TWILIGHTMISTY-
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

Wow, very nice!


I'm Callisto(please don't call me Twilight), but you can call me Cal/Cass. I go by she/he/they pronouns.
NFlex23
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

Jeffalo wrote:

NFlex23 wrote:

CST1229 wrote:

Chiroyce wrote:

CST1229 wrote:

https://scratch.mit.edu:@google.com
And how does it work?
Basically that's using an obscure url component, login info. (like username:password@website.website)
You can trick this shortener with that by just having scratch.mit.edu as the username.
As a side note, you can do this without specifying a password at all, kinda like an email address.

Also dev pls fix.
I guess I could use regex…

Jeffalo wrote:

url parsing is really hard to do. i dont know python, but maybe this will help https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlparse
Not entirely sure how to use it correctly.

Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
  • Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
  • The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
  • Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
  • Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
  • Issues with Scratch itself should be put in Bugs and Glitches.
Before you post: Is what you're posting likely to start an argument or derail the thread (e.g., browsers, operating systems)? If so, please re-think your post!





NFlex23
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

Purr is currently down, as replit is taking FOREVER to install a package.

Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
  • Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
  • The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
  • Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
  • Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
  • Issues with Scratch itself should be put in Bugs and Glitches.
Before you post: Is what you're posting likely to start an argument or derail the thread (e.g., browsers, operating systems)? If so, please re-think your post!





NFlex23
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

-TWILIGHTMISTY- wrote:

Wow, very nice!
Thanks.

Wow, first time running into the 60 second rule.

Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
  • Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
  • The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
  • Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
  • Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
  • Issues with Scratch itself should be put in Bugs and Glitches.
Before you post: Is what you're posting likely to start an argument or derail the thread (e.g., browsers, operating systems)? If so, please re-think your post!





gdpr5b78aa4361827f5c2a08d700
Scratcher
1000+ posts

Purr: a simple Scratch URL shortener

you don't need to hash a password if only you're using it and its stored in an environment variable. sha256 is nonetheless an insecure algorithm that shouldn't be used. i always bcrypt and salt passwords that actually need to be hashed

Powered by DjangoBB