[ home / overboard ] [ soy / qa / mtv / dem ] [ int / pol ] [ a / asp / biz / fit / k / r9k / sude / tech / tv / v / x ] [ q / news / chive / rules / pass / bans ] [ wiki / booru / irc ]

A banner for soyjak.party

/tech/ - Soyence and Technology

Download more RAM for your Mac here
Catalog
Email
Subject
Comment
File
Password (For file deletion.)

File: feraljak yotsuba.png 📥︎ (686.97 KB, 1400x1630) ImgOps

 â„–4613loop[Quote]

>FUCK SOIJAK POSTERS
Here 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 SPACE
Get 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?

 â„–4619[Quote]

File: (source) a8z45n.7z.txt 📥︎ (694 KB)

File: (guide) 0bin_x5NTTg0 .txt 📥︎ (2.6 KB)

File: schema.sql.txt 📥︎ (26.62 KB)

>>4613 (OP)
mirror it retard, heres the important files

 â„–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…

 â„–4624[Quote]

File: Itsoger.png 📥︎ (35.7 KB, 600x800) ImgOps

>>4619
>PHP 5.6
Holy fuck, they have a lot of work to do. RIP cuckchan.

 â„–4625[Quote]

>>4624
exactly

 â„–4626[Quote]

Did moot code this?

 â„–4627[Quote]

>PHP
>From 12 years ago or more
Just start again at this point

 â„–4628[Quote]

>>4626
most of the main imageboard code was from some random jap in the early 2000s and then forked by moot

 â„–4629[Quote]

>>4626
originally forked from some japanese guy then translated and modified by moot

 â„–4630[Quote]

>>4626
I really hope the git folder gets uploaded. It would be interesting to see exactly who is behind this dumpster fire.

 â„–4631[Quote]

>>4630
tsmt op was a pussy for not leaking EVERYTHING but userdata

 â„–4632[Quote]

>>4626
It was originally written by some jap in 1999 and extended by many people over the years

 â„–4633[Quote]

>>4630
that 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]

>>4633
what 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]

>>4632
4chan'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]

>>4635
configs, twister_captcha.php

 â„–4638[Quote]

>>4637
as well as presumably the home/news/rules/faq-related pages

 â„–4639[Quote]

>>4638
yea static assets and pages

 â„–4640[Quote]

>>4639
I imagine you could just scrape those from an archive of the site though right?

 â„–4641[Quote]

>>4640
well ofc

 â„–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]

>>4642
The fucking credentials are hardcoded?

 â„–4645[Quote]

>>4642
Woah! Wasn't expecting that. Good fucking job!

 â„–4646[Quote]

>>4642
can you not use environment variables?

 â„–4647[Quote]

>source code wont download
over

 â„–4648[Quote]


 â„–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]

>>4649
If anything I'd be interested to see it.

 â„–4651[Quote]

>>4649
no 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]

>>4652
I 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]

>>4650
https://files.catbox.moe/txpiie.rar (very incomplete but it could be somewhat helpful)

>>4653
trvke

 â„–4655[Quote]

>>4615
I hope you guys fix the vulnerabilities and improve it and 4chan actually uses it

 â„–4656[Quote]

>>4655
the 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.txt

Git log got posted. Looks pretty useless but hopefully the git folder gets posted next.

 â„–4658[Quote]

>>4656
knowing hiro he'd probably use a fix from here and have the jannies claim it's original o algo

 â„–4659[Quote]

>>4657
the 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]

>>4661
Considering he posted the gitlog, I wonder why he's holding back the folder. Maybe he's too retarded to zip it up.

 â„–4663[Quote]

>>4660
we 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]

>>4665
we should have a poll
we need some sort of place to organize everything and post updates doebeit

 â„–4667[Quote]


>>4666
Lets spin up an instance of Yotsuba to talk about developing Yotsuba.

 â„–4668[Quote]

>>4664
I agree, and if that were the goal we would just fork something like JSchan and add more 4cuck features to it

 â„–4669[Quote]

>>4664
>"modern" code
>runs like absolute ass when getting more than ~5 posters

 â„–4670[Quote]

>>4664
>>4668
>>4669
i should note that despite this code being utter raisin it does appear to be incredibly efficient, so nudevs should take some notes

 â„–4671[Quote]

>>4667
geg

>>4670
trvke
theres some slight "good" to this

 â„–4672[Quote]

>>4670
You 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]

>>4669
tsmt considering how laggy the sharty is

 â„–4674[Quote]

File: config_db.txt 📥︎ (151 B)

File: db.txt 📥︎ (7.98 KB)

File: imgboard.txt 📥︎ (279.43 KB)

File: yotsuba_config.txt 📥︎ (3.59 KB)

i have it working up to "This board doesn't exist!" on PHP 8.4, here are the fixed files, change the extension to .php
imgboard and yotsuba_config go in root
db goes in lib
config_db goes in config
i am writing installation instructions and will make setup.php

 â„–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]

>>4675
tsmt, also get vichan upto 4cuck's features standards

 â„–4677[Quote]

>>4676
Good thinking

 â„–4678[Quote]

>strip_fake_capcodes
QUOOOOOOOOOOOOOOOOOOOOTE ADD THIS TO THE SHARTY NOOOOOW

 â„–4679[Quote]

>>4676
vichan is so incredibly slow in comparison so the first thing would probably be to figure out how yotsuba is so fast

 â„–4680[Quote]

>>4674
try creating a board out of one thats already hardcoded in several places (e.g. /b/ or any other 4chan board)

>>4675
tsmt

 â„–4681[Quote]

>get_jpeg_dimensions
LMAO WTF? they are parsing the jpeg in postfilter to get the image size manually

 â„–4682[Quote]

>>4674
gem
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]

>>4683
thats 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]

>>4686
is this proof that bad code is actually le good?

 â„–4689[Quote]

viruse do not clicke

 â„–4690[Quote]

>>4688
security-wise no
vichan's issue is optimization o algo

 â„–4691[Quote]

>>4688
spaghetti code is usually extremely optimized but suffers in other aspects like readability, maintainability, and security

 â„–4692[Quote]

>>4690
i 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]

>>4692
correct me if im wrong but didnt vichan originate from an old proprietary fork of yotsuba? (4chon.net o algo)

 â„–4694[Quote]

>>4691
I don't see a license file, where are you drawing this realization from

 â„–4695[Quote]

>>4693
nevermind 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]

>>4694
years of experience working with spaghetti code

 â„–4697[Quote]

>>4696
I meant to you the other anon

 â„–4698[Quote]

>>4613 (OP)
>we
fuck this site

 â„–4699[Quote]

i have it generating broken HTML code

 â„–4700[Quote]

>>4697
because 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]

>>4701
if 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]

>>4703
no 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.

 â„–4706[Quote]

File: ClipboardImage.png 📥︎ (25.73 KB, 490x516) ImgOps

im trying to port phash to java for exparimentation, what the heck is
>dct_t = array_map(null, …dct);
>ret = [ dct, dct_t ];
supposed to do? im stumped and the ai isnt clear about that fragment ether

 â„–4707[Quote]

>>4706
might 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]

>>4702
Problem is it was broke and gookmoot don't know how to fix it.



[Return][Catalog][Go to top][Post a Reply]
Delete Post [ ]
[ home / overboard ] [ soy / qa / mtv / dem ] [ int / pol ] [ a / asp / biz / fit / k / r9k / sude / tech / tv / v / x ] [ q / news / chive / rules / pass / bans ] [ wiki / booru / irc ]