this post was submitted on 17 Mar 2024
7 points (100.0% liked)

Perchance - Create a Random Text Generator

434 readers
11 users here now

⚄︎ Perchance

This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.

Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)

This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.

See this post for the Complete Guide to Posting Here on the Community!

Rules

1. Please follow the Lemmy.World instance rules.

2. Be kind and friendly.

  • Please be kind to others on this community (and also in general), and remember that for many people Perchance is their first experience with coding. We have members for whom English is not their first language, so please be take that into account too :)

3. Be thankful to those who try to help you.

  • If you ask a question and someone has made a effort to help you out, please remember to be thankful! Even if they don't manage to help you solve your problem - remember that they're spending time out of their day to try to help a stranger :)

4. Only post about stuff related to perchance.

  • Please only post about perchance related stuff like generators on it, bugs, and the site.

5. Refrain from requesting Prompts for the AI Tools.

  • We would like to ask to refrain from posting here needing help specifically with prompting/achieving certain results with the AI plugins (text-to-image-plugin and ai-text-plugin) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"
  • See Perchance AI FAQ for FAQ about the AI tools.
  • You can ask for help with prompting at the 'sister' community Casual Perchance, which is for more casual discussions.
  • We will still be helping/answering questions about the plugins as long as it is related to building generators with them.

6. Search through the Community Before Posting.

  • Please Search through the Community Posts here (and on Reddit) before posting to see if what you will post has similar post/already been posted.

founded 1 year ago
MODERATORS
 

Tampering with generatorName

I have recently discovered this but apparently you can tamper with the generatorName variable to use another generator's name despite that it's a different generator name, in other words, identify that as another generator. This could be used to play with some sort of things that you can't in a normal circumstance, like accessing the comments from another generator, even from deleted or renamed generators.

@perchance

all 11 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 7 months ago (4 children)

@perchance I've tested that on this generator: https://perchance.org/yxhpifl77e#edit, where it shows up comments from my generator hub page instead of that one's generator.

Also, did any of you ever use the generatorName variable at all?

[–] [email protected] 3 points 7 months ago (2 children)

tried some stuff and very interesting and i can become admin of your comment section. but it's an illusion and doesn't let me actually delete your posts

[–] BluePower 2 points 7 months ago

Kind of the same thing happened to me when commenting on my Popularity Achievement generator. It loses the admin tag when I refreshed the comments frame.

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago) (1 children)
[–] [email protected] 2 points 7 months ago* (last edited 7 months ago) (1 children)

yes i made myself admin using my own password on another generator that i had renamed to yours and accessed the comment section of. tried to delete some of your comments (innocently, lol) and thankfully i was only able to delete them on the copy generator i had made and not on your main comment page. the option to delete did not show up while i was shown as admin of yours. at least Seems not dangerous.

the gallery thing highly dangerous tho. i have antiprompts preventing people from generating nazi's, gore, etc in to mine; and i have seen other people do similarly to protect their galleries. the very first gallery i entered perchance on, pretty-ai, is set up this way to prevent child pron with antiprompt against phrases like 'little kid'. Being able to stick stuff in people's galleries from afar bypasses this protection and allows trolls to fill anyone's gallery with anything. And I have seen that trolls love filling people's galleries with horrid stuff just to hurt them.

hope @[email protected] is eventually reached because i see the possibilities in this weakness and it bad. like horrible gaping hole of unprotection style weakness. no ability for gallery admin to moderate + bypass prompt barriers from afar and stick stuff in people's galleries. im just repeatedly mentioning @[email protected] because it seems bad enough that idk how it couldn't be a thing to fix

maybe if we ping @[email protected] sevenhundred million times they will realize there is something unusual up today and check it out.

i, from here, https://perchance.org/who-am-i , stuck the middle image in to the gallery of here https://perchance.org/beautiful-people

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

I guess as long as it doesn't affect the original, and just 'copies/mimics' the original it is alright. But abusing it and 'impersonating' is one of the things that could happen.

EDIT: Upon changing the generatorName in a text-to-image-plugin with gallery, I was able to push an image to it and save into the gallery from another URL. - this use case could be abused.

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

@perchance Update: I've modified the example, and apparently you can also change and modify the generatorName in-generator! There is a button that does that, and added some script elements (because scripts executed within square blocks will be always run after that)

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago) (1 children)

edit: @[email protected] i think that, while comments seems to be safe from abuse this way, I just created an image from one gallery, made the name of the page another pagename with the gallery i wanted to feed that image in to, hit submit, and the image DID go in to that other page's gallery.

high high high high high abuse potential where people can stick nasty images in other people's galleries.

and while you are here, i am on the path to making a gallery plugin because various people have trolls come thru and post a bunch of nasty gore that makes it thru filters in to their galleries and they alone can do nothing about it, including not even move it to nsfw. https://perchance.org/imagineimage is a prime example and the creator was here on the forum asking for help with gore being spammed in to the pg13 area that they could do nothing about. ive seen it happen to other galleries too. so im on the path to making a gallery plugin that allows admin control literally because people are suffering and there is huge risk without it. but i don't want to, you already have the gallery plugin, i don't know how im gonna do storage unless i scale down the images and store them thru upload plugin, and generally seems better if you do it instead of me. i will tho if you prefer i continue to make it because there seems to be a critical need for gallery moderation. please, should i continue to make it? can you please tackle this issue instead? you seem better equipped. anyway, good time to mention it with the other critical gallery issue popping up

even if it is just whipped together and piggybacks on the adminchecking of the comments plugin

[–] allo 1 points 7 months ago* (last edited 7 months ago)

looks like the tiny meat eating slime girl is really out of the bottle on this one

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

@perchance
https://connectionsnytunlimited.io is elegantly simple yet endlessly complex. Players are presented with a starting word or concept, from which they must branch out, forging connections to other words or concepts through associative links.