â„–4613
[Quote]
>FUCK SOIJAK POSTERSHere we talk about the source code leak of 4chan's proprietary software Yotsuba and try to "fix" it in order to make a proper open-source version of 4chan's (sh!tty) software, for example by fixing bugs such as the colored border on GIF thumbnails and making it work on modern, traditional server setups.
<REDDIT SPACEGet the source code here:
https://files.catbox.moe/d56ws8.7z â„–4614[Quote]
>>4613 (OP)hello, i am a techGOD interested in contributing to this o algo
i got the older leak from 2010 working last year (the one where only yotsuba.php was leaked)
â„–4615[Quote]
>>4613 (OP)I am not doing the work of 4chan devs for free
â„–4616[Quote]
>>4613 (OP)Only reason to use this source code is to find further exploits in it.
It's like finding a house infested with termites that's barely holding on and wanting to 'renovate it' by painting over it.
â„–4617[Quote]
>>4613 (OP)The code is so awful you may as well start from scratch. Maybe use Go o algo
â„–4618[Quote]
do we have the file(s) related to the index/homepage, or was that left out?
â„–4620[Quote]
i will probably be posting a download to my working fix of the older 4chan leak as well later
â„–4621[Quote]
I bet the source code has embedded 'p
â„–4622[Quote]
I would be more likely to use a 4chan alternative if it were just like 4chan
â„–4623[Quote]
I've been combing through the source for about an hour… Good fucking luck getting it running… Its a miracle it worked at all…
â„–4626[Quote]
Did moot code this?
â„–4627[Quote]
>PHP
>From 12 years ago or more
Just start again at this point
â„–4628[Quote]
>>4626most of the main imageboard code was from some random jap in the early 2000s and then forked by moot
â„–4629[Quote]
>>4626originally forked from some japanese guy then translated and modified by moot
â„–4630[Quote]
>>4626I really hope the git folder gets uploaded. It would be interesting to see exactly who is behind this dumpster fire.
â„–4631[Quote]
>>4630tsmt op was a pussy for not leaking EVERYTHING but userdata
â„–4632[Quote]
>>4626It was originally written by some jap in 1999 and extended by many people over the years
â„–4633[Quote]
>>4630that as well as the "www" folder
â„–4634[Quote]
/g/ codeGOD (4cuck refugee) here, i wouldn't mind helping fix this up but it's in really bad condition
â„–4635[Quote]
>>4633what is in the www folder that isn't in the leak we have. I was under the impression that the leak we have generated the content that was in the www folder.
â„–4636[Quote]
>>46324chan's code itself being a fork of "futallaby"
we probably could look into that for a bit of help with yotsuba
i used futallaby as reference when fixing up the 2010 leak
â„–4637[Quote]
>>4635configs, twister_captcha.php
â„–4638[Quote]
>>4637as well as presumably the home/news/rules/faq-related pages
â„–4639[Quote]
>>4638yea static assets and pages
â„–4640[Quote]
>>4639I imagine you could just scrape those from an archive of the site though right?
â„–4642[Quote]
i have gotten imgboard.php and yotsuba_config.php working on PHP 8.4, in the meantime i'm trying to find out the proper way to set the SQL credentials as hardcoding them is a big no-no
â„–4643[Quote]
honestly i feel like we can ditch a good chunk of the files
a lot of them are things such as static html lists of all the boards and stuff
would be simpler for us to define that once
â„–4644[Quote]
>>4642The fucking credentials are hardcoded?
â„–4645[Quote]
>>4642Woah! Wasn't expecting that. Good fucking job!
â„–4646[Quote]
>>4642can you not use environment variables?
â„–4647[Quote]
>source code wont download
over
â„–4649[Quote]
should i send my fix of the 2010 leak from last year?
its nothing too big (it's really just yotsuba.php and some config stuff) but it could be a bit helpful
â„–4650[Quote]
>>4649If anything I'd be interested to see it.
â„–4651[Quote]
>>4649no one cares, redditor
â„–4652[Quote]
ok i found how, you set the SQL credentials on a blanked-out PHP file, config/config_db.php
â„–4653[Quote]
>>4652I feel like we're gonna be writing half a new website just getting configs up to the standards of other imageboards, the wordfilters are hardcoded, the db configs are hardcoded, it's so fucking bad
â„–4654[Quote]
>>4650https://files.catbox.moe/txpiie.rar (very incomplete but it could be somewhat helpful)
>>4653trvke
â„–4655[Quote]
>>4615I hope you guys fix the vulnerabilities and improve it and 4chan actually uses it
â„–4656[Quote]
>>4655the jannies hate us so much that they wouldnt use a fix made from here even if it made the site invincible
â„–4657[Quote]
https://files.catbox.moe/yypkoa.txtGit log got posted. Looks pretty useless but hopefully the git folder gets posted next.
â„–4658[Quote]
>>4656knowing hiro he'd probably use a fix from here and have the jannies claim it's original o algo
â„–4659[Quote]
>>4657the spamming will continue until the folder is released
â„–4660[Quote]
try and add features from here like polls and multi-image posting
â„–4661[Quote]
if the .git folder was released it should contain some good insights about the database schema and allow us to reconstruct the full source as well
â„–4662[Quote]
>>4661Considering he posted the gitlog, I wonder why he's holding back the folder. Maybe he's too retarded to zip it up.
â„–4663[Quote]
>>4660we could call this fork visuba
â„–4664[Quote]
why the fuck are y'all trying to fix this garbage code that originated in the nineties? the only way this site is coming back and not getting instantly pwned again is if they raze the server clean and go to a frontend/backend system that's more modern.
no modern doesn't have to be web 2.0/web 3.0 tons of bullraisin cancer but it has to be software that isn't of atrocious quality to begin with
â„–4665[Quote]
we could call it yotsoyba
â„–4666[Quote]
>>4665we should have a poll
we need some sort of place to organize everything and post updates doebeit
â„–4667[Quote]
>>4666Lets spin up an instance of Yotsuba to talk about developing Yotsuba.
â„–4668[Quote]
>>4664I agree, and if that were the goal we would just fork something like JSchan and add more 4cuck features to it
â„–4670[Quote]
>>4664>>4668>>4669i should note that despite this code being utter raisin it does appear to be incredibly efficient, so nudevs should take some notes
â„–4671[Quote]
>>4667geg
>>4670trvke
theres some slight "good" to this
â„–4672[Quote]
>>4670You can't deal with more than a million posts a day if your source code is utter fucking raisin. This src holds a certain value and I hope it's used to improve what we have available (besides JSchan, I hate using this crap).
â„–4673[Quote]
>>4669tsmt considering how laggy the sharty is
â„–4675[Quote]
>>4613 (OP)Please do it'd be neat
besides helping get 4chan back up I think the many altchans that would inevitably spawn from OpenYotsuba's code would be a great way to decentralize things
â„–4676[Quote]
>>4675tsmt, also get vichan upto 4cuck's features standards
â„–4678[Quote]
>strip_fake_capcodes
QUOOOOOOOOOOOOOOOOOOOOTE ADD THIS TO THE SHARTY NOOOOOW
â„–4679[Quote]
>>4676vichan is so incredibly slow in comparison so the first thing would probably be to figure out how yotsuba is so fast
â„–4680[Quote]
>>4674try creating a board out of one thats already hardcoded in several places (e.g. /b/ or any other 4chan board)
>>4675tsmt
â„–4681[Quote]
>get_jpeg_dimensions
LMAO WTF? they are parsing the jpeg in postfilter to get the image size manually
â„–4682[Quote]
>>4674gem
i do have a web server but i don't have experience with PHP
â„–4683[Quote]
so why IS yotsuba so much faster? how bad can the vichan code really be?
â„–4684[Quote]
>22,000 commits
>codebase looks like absolute RAISIN
LOL WHAT
â„–4685[Quote]
This shiet is fucking fried I won't even bother. For real.
â„–4686[Quote]
>>4683thats the thing
vichan code is very organized compared to the mess that is yotsuba
â„–4687[Quote]
You fags say it's raisin but it ran better than any altchan I've come across and made sense to navigate.
Why the fuck does vichan not flip reply hovering. Why does it hyphenate and squish hovering replies against the window.
Why does it feel like I'm reloading a page just to click on a reply.
Why can't altchans integrate the features in 4chanx into its source code.
â„–4688[Quote]
>>4686is this proof that bad code is actually le good?
â„–4689[Quote]
viruse do not clicke
â„–4690[Quote]
>>4688security-wise no
vichan's issue is optimization o algo
â„–4691[Quote]
>>4688spaghetti code is usually extremely optimized but suffers in other aspects like readability, maintainability, and security
â„–4692[Quote]
>>4690i just realized that the yotsuba code is still proprietary so they can go after altchans if they think that code from this leak got merged into other board software
â„–4693[Quote]
>>4692correct me if im wrong but didnt vichan originate from an old proprietary fork of yotsuba? (4chon.net o algo)
â„–4694[Quote]
>>4691I don't see a license file, where are you drawing this realization from
â„–4695[Quote]
>>4693nevermind it doesn't really matter since the weak hosters run away when the irl children being raped spam happens and the people who don't care about breaking laws just keep re-hosting it on other providers
â„–4696[Quote]
>>4694years of experience working with spaghetti code
â„–4697[Quote]
>>4696I meant to you the other anon
â„–4698[Quote]
>>4613 (OP)>wefuck this site
â„–4699[Quote]
i have it generating broken HTML code
â„–4700[Quote]
>>4697because having no license means that your code is automatically proprietary. you need to explicitly give permission to it being FOSS
â„–4701[Quote]
>litterally 0 major updates to the code since moot put the fries in the bag
KEEEEEEEEEEEEEEK
â„–4702[Quote]
>>4701if it ain't broke, don't fix it
â„–4703[Quote]
could 4chan just switch to vichan for the backend then? i guess it would have to remove some features?
â„–4704[Quote]
>>4703no it would be a laggy mess if 4chans traffic was ran through that
â„–4705[Quote]
Might as well use AI to code a whole new imageboard.
â„–4707[Quote]
>>4706might just be a leftover code fragment that was commented out instead of deleted in case the coder might need it, then he forgot to remove it later.
But I dont know php anyway, I dont understand why it does all that stuff when nothing is assigned to `ret`, it looks like the function would do nothing and return null every time
â„–4708[Quote]
>Updating index…
>Updating index…
>Updating index…
THIS IS NOT A DRILL I GOT IT WORKING
â„–4709[Quote]
Best thread on the site
â„–4710[Quote]
there are many things i like about vichan and many things i like about 4chan
hopefully once we get vanilla yotsuba running we can make a fusion of the two
â„–4711[Quote]
>>4702Problem is it was broke and gookmoot don't know how to fix it.