Site

Discuss REchan itself here

1: I made something out of REchan. (2) 2: Site BBCoder doesn't work (3) 3: Tutorials for r4 (2) 4: Dasmibnt (6) 5: Regarding the Security Issue. (1) 6: Give me... (5) 7: BBCODE (45) 8: PHP (4) 9: Cudder (6) 10: How shitty is this board? (44) 11: Explain this. (4) 12: Questions for Cudder !MhMRSATORI (4) 13: REchan r3 (6) 14: Anoncoreutils' -- IMPORTANT QUESTIONS, PLEASE ANSWER! (5) 15: THE ULTIMATE ( ゚ ヮ゚)PROG.GIT GUIDE (8) 16: WE'RE BACK! (34) 17: herro (9) 18: REchan s0 script. (19) 19: A question, if you please (7) 20: PHP (6) All threads

1 2012-03-18 22:18 vocalon

http://armored-zombie.tk/

Enjoy~

2 2012-03-31 14:46 Anonymous

But where's the RE part?

Name:Email:
3

1 2009-05-31 05:24 Anonymous

It messes up with AA
[aa]
   ___________________________
   || ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄||
   ||                                      ||
   ||  The foolish ostrich buries                        ||
   ||    his head in the sand and thinks he is not seen.     日||
   ||                     nullpo.  .     茨又直||
   ||              ∧ ∧   。                  .城外  ||
   ||         爪・ω・)/_______________||  
    ̄ ̄ ̄ ̄ ̄ ̄ ̄ノ  つ ̄ ̄ ̄ ̄ ̄l二l二l ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
                /  ̄ ̄ ̄ ./|  はい、ここテストに出ます。
                | ̄ ̄ ̄ ̄| |
 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄|____|/[/aa]

2 2009-05-31 22:25 !w4lolitaKs

We currently do not support the aa tag.

3 2012-02-01 12:53 Anonymous

Any plans for it then?

Name:Email:
4

1 2011-04-16 14:08 vocalon!mH/6ilF7Ik

So, to add the mouse-over spoilers, copy this:
[quote].spoilers:hover {color:white}[/quote]
to your style sheet.

2 2011-05-11 05:48 Anonymous

And next you'll tell us how to add quote tags, right?

Name:Email:
3

1 2009-05-21 14:35 gVqJGAQP

It's serious

2 2009-05-21 17:42 Cudder !MhMRSATORI

Indeed, the spam has gotten serious enough that w4lolitaKs has installed a new system, which she calls The Fuhrer, as a proposed Final Solution to the incessant spamming that this board has attracted in the recent weeks.

3 2009-11-22 04:17 Cudder !MhMRSATORI

The Fuhrer just recieved another major update, and hopefully its last.

4 2009-11-23 13:13 !w4lolitaKs

Post for testing the system.

5 2010-11-18 19:37 Anonymous

And so, Anonix's dead.

6 2010-11-19 05:48 Anonymous

>>5
Not dead, sleeping.

Name:Email:
7

1 2009-05-23 20:29 !w4lolitaKs

We have identified and fixed what we hope to be all of the problems. If you continue to find pages with injected JavaScript, please post the link in this thread. Any other concerns are also welcome.

Name:Email:
2

1 2008-12-31 02:24 Anonymous

a separate template file.

common.php is pain in the ass to edit...

2 2009-01-05 22:51 Cudder !MhMRSATORI

REchan s0 is not designed to be flexible. It is designed to be simple and purposeful in making this site work.

3 2009-01-16 10:00 Makoto!zBOJlYwduc

>>2

If I were to re-write s0, would you use it?

4 2009-01-17 03:00 Anonymous

>>3

I would.

5 2009-05-16 22:50 Anonymous

>>3
Any updates on the rewrite?

Name:Email:
6

1 2008-04-15 00:48 Anonymous

I'll use this thread totestsome BBcode

40 2008-11-10 20:25 Anonymous

Anonix Native User Space (ANUS) is the native environment for Anonix processes. It is a POSIX-compliant with additional extensions, such as the ability to utilitise all of the machine's resources for any purpose through dynamic memory allocation --- allowing, for example, command-line arguments to be as large as free memory or configurable per-process limits allow.1 Device drivers may also run in ANUS, provided they have been given I/O privileges; however, it is usually preferable to keep drivers in ANKS because of the performance penalty incurred in checking access.

41 2009-03-07 17:32 NpMGEuPGVBtx

8IzZTO <a href="http://djcahpokchwh.com/">djcahpokchwh</a>, [url=http://uahfqvpxidda.com/]uahfqvpxiddaurl, [link=http://qlpodegkidmj.com/]qlpodegkidmjlink, http://plaiccnzjgyu.com/

42 2009-04-10 02:07 Anonymous

Have
You
Read
Your
SICP
Today?

43 2009-04-17 11:41 Anonymous

>42

No, have you?

44 2009-04-18 18:29 Anonymous

>>43
I have achieved BBcode satori.

45 2009-05-12 22:11 Anonymous

>>44
Same here.

Name:Email:
46

1 2008-05-01 19:30 Anonymous

So I wanted to write a quick patch to improve the HTML (to implement padding properly and add a div to help making it look like pseud0ch)

Long story short, the whole script is in r4.php, which is valid perl code, full of compressed statements, inlined html built with concatenated strings inside if/else blocks, complete lack of structure or abstraction, and some other uglyness.

PHP is not my favorite language. I haven't coded anything with that since a long time. The last time I did, it felt pretty annoying, but well, I thought i would give it a shot this time. Fuck.

Sincerely, I have found there everything that is wrong with php. Well, all but the newly-added ENTERPRISE feature bloat. I can't understand how can someone maintain this code.

2 2008-05-01 22:11 Cudder !MhMRSATORI

PHP is not my favorite language either, but when our last host dumped us, let's just say that desperate times call for desperate measures. I chose it because of its popularity; because almost every host out there supports it, I can just drop and run. I find it annoying as fuck to read/write too.

Look at Futaba, which is what 2chan uses. It's pretty much in the same style, only the comments are not English. REchan (the script) was not written with anything in mind other than to be as small and efficient as possible while having the needed functionality.

I'm also thinking of rewriting the whole thing from scratch, to unify all the text boards under one script like what Shiichan does. It'll be called REchan s0 initially, both because it's the next letter and coincidentally alludes to Shiichan. But if the current r-series script is sufficient, I won't do it; the only gripe I have with r4 is the need to update the script for each board individually.

What are the specific changes you want? Where do you want a div added? How should the padding be done? Be more detailed and I might go through with your suggestion.

3 2008-05-02 19:19 Anonymous

Oh well, if you are going to rewrite it, at least separate html from php properly. When i wrote >>1 i was on RAGE, but i'm fine now. Whatever. It's your own code, you know what it does and where was that written.

> What are the specific changes you want? Where do you want a div added? How should the padding be done? Be more detailed and I might go through with your suggestion.

Well, everything started with a quick look at firebug:

<div class="header">
</div>
<div class="vpad"/>
<div class="threadlist">
</div>
<div class="vpad"/>
<div class="thread">
</div>
<div class="vpad"/>
<div class="thread">

I'd just replace that with margin-top and margin-bottom in .thread, .threadlist, and other blocks. ENTERPRISE PROTIP: separate class names with spaces, like class="threadlist bigblock"

The div that I wanted to add is a contradiction of the thing above... but oh well. It's just a tag-with-class to make a double border like pseud0ch

So, this markup

<div class="thread">
<h2>...</h2>
<div class="thepost">...</div>
<div class="postform">...</div>
</div>


would become:

(Post truncated.)

Name:Email:
4

1 2008-08-06 11:00 Anonymous

Are you female?
Post pics, please.

2 2008-08-06 19:20 HAHAHaruhi!6mHaRuhies

- she is
- she probably won't

3 2008-08-07 19:48 Cudder !MhMRSATORI

Yes.
Not right now.

4 2008-09-07 18:22 Anonymous

tripcodes are broken...

5 2009-01-11 14:17 MgckfhnDcKfhc

1eY4jQ <a href="http://xtecyflvjdir.com/">xtecyflvjdir</a>, [url=http://ypiiuliinpsr.com/]ypiiuliinpsrurl, [link=http://cwxadqjygrsh.com/]cwxadqjygrshlink, http://vkxeeenlwrfq.com/

6 2009-01-15 04:24 Anonymous

>>5

is dat sum sekret code?

Name:Email:
7

1 2008-04-15 17:00 !M72rV2sGj2

let's find out.

39 2008-05-05 23:47 !yGAhoNiShI

trip testing...

40 2008-09-07 18:21 !naMtu5JvTc

trip testing...

41 2008-10-21 11:46 Anonymous

Quite shitty.

42 2008-11-14 08:34 Anonymous

Fail for PHPfaggotry.

43 2008-11-17 12:27 Fail

FAIL
FAIL

44 2008-12-08 21:42 Anonymous

durr

Name:Email:
45

1 2008-04-16 00:33 Cudder !MhMRSATORI

According to logs, rechan.da.ru has delivered 120MB of content since we moved to a new host.

But there's a 219-byte file at http://rechan.da.ru/

Which means that REchan received almost 550,000 hits in 4 days.

WTF? I didn't think we were that popular!?!?

2 2008-04-16 18:16 Anonymous

DDOS, watch out.

3 2008-04-21 14:23 Cudder !MhMRSATORI

woah... seriously.

http://img155.imageshack.us/img155/9472/lolusagenh3.png

Name:Email:
4

1 2008-05-02 02:41 Anonymous

1. I heard you're a girl. Confirm/Deny?
2. Can I hax your anus?

2 2008-05-02 02:57 Cudder !MhMRSATORI

1. No.
2. No. Fuck off back to 4chan's /prog/ with your retarded memes.

3 2008-05-02 18:59 Anonymous

>>1
get out and go back to /vip/

Name:Email:
4

1 2008-04-14 06:55 Cudder !MhMRSATORI

...is what we're running on right now. Take a look:

http://rechan.eu.org/script

2 2008-04-14 18:26 Anonymous

Only one thing I can see wrong.

Using /res/1234567.html is mainly used for imageboards, textboards are /read/, if you plan on keeping static files.

3 2008-04-15 00:15 Cudder !MhMRSATORI

You can change that, if I remember correctly it's $HTML_PREFIX.

Inter-post-linking isn't implemented yet, I'll get around to it...

4 2008-04-16 00:06 Anonymous

REchan is now upgraded to REchan r4 script.

5 2008-08-07 20:49 Anonymous

Just testing more stuff.

Name:Email:
6

1 2008-05-01 07:27 Cudder !MhMRSATORI

Should we setup a separate board just for the discussion of anoncoreutils, and put each utility in its own thread (i.e. each post in a thread can be a patch of the original, with I dunno, the full file every x posts?) since the current single-thread is going to get unworkable?

If you agree with the creation of a separate /ac/ board, should I use REchan r4, Kareha, or some other anonymous textboard script? (No Kusaba. Just... no.)

The future of REchan is in your hands, Anonymous.

2 2008-05-01 18:40 Anonymous

put each utility in its own thread
Sounds nice.

> should I use REchan r4, Kareha, or some other anonymous textboard script? (No Kusaba. Just... no.)

Stay with something that uses BBCode, please. The REchan script is fine, since you are mantaining it.

> (i.e. each post in a thread can be a patch of the original, with I dunno, the full file every x posts?)
Hm, then, why is git there? Extending the REchan script to interoperate with it would be great (by the way, what does this hosting allow to do?)

3 2008-05-01 22:20 Cudder !MhMRSATORI

Hm, then, why is git there?
We can't really do any discussion with the git, but it would make a good place to periodically backup the code posted, in case anything happens to REchan itself.

4 2008-05-05 22:24 Anonymous

>>3
also changelogs

bampu pantsu~

Name:Email:
5

1 2008-05-02 19:24 Anonymous

Halp, i forgot how to update my git

2 2008-05-02 21:43 Anonymous

Fine, this will become a git documentation thread.

http://dis.4chan.org/read/prog/1205888669/
http://www.kernel.org/pub/software/scm/git/docs/tutorial.html
http://git.or.cz/course/svn.html

3 2008-05-02 21:44 Cudder !MhMRSATORI

wait a fucking second...

this ain't /prog/! i must've messed up the config again

*facepalm*

4 2008-05-02 22:35 Anonymous

...that's better now.

5 2008-05-09 16:18 Anonymous

>>2
That thread is a mess.

>>3
What

6 2008-09-11 11:32 Anonymous

>>5

The board script is a mess.

7 2008-09-16 14:15 Anonymous

>>6
It's trevorchan, textboard edition!

Name:Email:
8

1 2008-04-14 05:53 Cudder !MhMRSATORI

REchan is back again to REinitiate the Anonymous software development community! Enjoy the REvised site!

The REvolution is still alive!

28 2008-06-25 21:17 HAHAHaruhi!6mHaRuhies

>>27
sure, just post.

29 2008-07-18 00:20 Anonymous

Two suggested changes to r4:

echo "<body>The picture is changed</body></html>";
change to
echo "<body>".$MSG_SUCCESS."</body></html>";

The variable $MSG_SUCCESS is already in config.php, but you never use it.

Next, this is in Shiichan:
if (count(explode("<br>", $_POST[mesg])) > 100)
fancydie("Your post has far too many lines in it!");
It can be changed to:
if (count(explode("\n",$txt)) > $MSG_LINE_MAX)
error($ERROR_OVERFLOW);
And added right after:
if(strlen($txt) > $MSG_MAX || (strlen($em) > 128) ||
(strlen($nm) > 128) || (strlen($sub) > 128))
error($ERROR_OVERFLOW);
Or included in it, your choice.

30 2008-07-18 17:17 Anonymous

Hai Gais, I has a bug fix fer yer skript:

if($MAX_THREADS_PER_BOARD &&
count($loglines=explode("\n",$logstr))>MAX_THREADS_PER_BOARD)

Should read

if($MAX_THREADS_PER_BOARD &&
count($loglines=explode("\n",$logstr))>$MAX_THREADS_PER_BOARD)

With the dollar sign on the last variable. I tried to use $MAX_THREADS_PER_BOARD and it kept deleting my first post, and this fixed that.

31 2008-07-18 20:51 Cudder !MhMRSATORI

>>29
>>30
I've applied those changes to my local copy, but the current 1-script-per-board is beginning to get unmanageable. As I've explained before, r4 was never intended as a long-term solution, but rather an interim workaround since I couldn't find any suitable board scripts at the time.

If there are any more bugs with r4 I'm going to start working on s0, which will be more of a Shiichan style 1 script and global config file, followed by 1 config file for each board.

32 2008-07-18 22:29 Anonymous

>>31
One-script-per-board is nice for someone like me, who doesn't know any PHP. I know enough about programming in general, however, to change simple working code to suit my needs. Any suggestions for a place to host a site?

Now an on topic idea, a way to manually ban someone: add someone's ID to limiter.txt, putting in a time in the future as the time of their last post. One hundred thousand seconds is a little over a day, go from there.

33 2008-07-22 05:19 Cudder !MhMRSATORI

One last bug has been found in r4, and s0 work will now begin.

For hosting? Try fohdnet.com, it's the same host who hosts REchan; also, run by a pair of anons.

> Now an on topic idea, a way to manually ban someone: add someone's ID to limiter.txt

That's what I did to squelch an anus-haxing flood a few weeks ago (before the unfortunate vacation).

Name:Email:
34

1 2008-06-25 06:26 fohdeesha

ohi

2 2008-06-25 12:50 Anonymous

obye

3 2008-06-26 00:26 Anonymous

>>1
thanks for the hosting lol

4 2008-06-26 10:51 fohdeesha

congrats on actually using it

5 2008-06-26 11:26 Anonymous

You mean it was dead before?

Also, thanks fohdeesha.

6 2008-06-26 12:51 fohdeesha

I just mean I'm hosting a lot of people who haven't even touched it

7 2008-07-01 00:49 Anonymous

I'm touching it. Does it feel good?

8 2008-07-01 13:04 fohdeesha

my mouth is a lock and your dick is the key

Name:Email:
9

1 2008-07-30 04:20 Cudder !MhMRSATORI

We are now running on the newest version of the REchan script, s0.

Quotes work fine now:

See?
Double quotes too.
And triple quotes.
And I'm not telling you how to do this ^_^

More improvements to come... source for s0 will be released soon.

14 2008-08-07 19:58 Anonymous

goddamn \"magic quotes\" shit == RAAAAAAAAAAGE

try # 2

apostrophes:
\' \' \' \' \' \' \'

15 2008-08-07 19:59 Anonymous

try #3

\' \' \' \' \' \' \' \' \'

16 2008-08-07 20:06 Anonymous

this time it damn well better work...

' ' ' ' ' '

17 2008-08-08 19:31 Cudder !MhMRSATORI

s0 is out

get it at the usual place

18 2008-08-23 18:50 Anonymous

this isn't related to the script software but can you change the server's MIME types so i can view the .c files in the anonix folder in the browser instead of downloading them?

19 2008-08-24 19:38 Cudder !MhMRSATORI

>>18
AddType text/plain .c

Done.

Name:Email:
20

1 2008-07-15 18:15 Anonymous

Now, RULE #1 states: "Do not upload, post, discuss, request, or link to, anything that violates local or United States law. This will be severely punished and strictly enforced." Do you, the site admins, really take crap (like from your host and/or law enforcement) for this? Now, I realize that discussions pertaining to illegal things can make the host leery: that's to be understood.

Why I ask is that I've had an idea for a textboard (strictly text only), an evil den of trolling and spamming, founded on the principal of no moderation what-so-ever. Now, I see that if the site is hosted in, say, Germany, it would break German law to have neo-nazis take residence on the board and promote Hitler. However, I am uncertain as to the extent site administration is responsible for user-driven content in the US. Does anyone have some legal advice for me?

2 2008-07-17 06:05 HAHAHaruhi!6mHaRuhies

And what does this have to do with REchan?

3 2008-07-17 19:45 Anonymous

Nothing, really, but do you have a better place for such a question? " ' \

4 2008-07-17 19:53 Anonymous

Okay, now I do have an r4 related question:
I downloaded r4 and am running it on my computer: Apache 2, PHP 5.
Everytime I enter in a ' " or \ I get \' \" and \\.
Seems very mysterious to me, any thoughts?

5 2008-07-17 20:58 Anonymous

Okay, I figured it out. I have PHP 5.2.0 installed as a module to Apache 2. It seems to escape ' " and &#92;, as if someone would be stupid enough to pass something entered into a form to the shell or something. I figured out a work-around. Sorry for bothering you.

6 2008-07-17 21:18 Anonymous

Same person, agian. I am sorry for posting >>1 here. I have taken the question somewhere else. It took me a while to rationalize, but here's what my question has to do with REchan:
For me in the US, reverse engineering is a legally gray area, due to bullshit such as the DMCA and EULAs. This is an area where text-only posts could get someone into trouble with the laws. If I posted all of the encryption keys for AACS here, you would get in trouble. That is the extent of my knowledge of what an administrator could get in trouble for, and I was just wondering if you could advise me further. Sorry for wasting your time.

7 2008-07-18 00:59 Anonymous

>>4
>>5
That's called magic_quotes, an extremely retarded "feature" of PHP. (They removed it in PHP 6 though.)

>>6
You mean 09 F9 ... etc.? I think they've pretty much given up with it, a quick Google shows there's still about 9 million other sites out there with the whole thing.

Name:Email:
8

1 2008-05-01 19:30 Anonymous

So I wanted to write a quick patch to improve the HTML (to implement padding properly and add a div to help making it look like pseud0ch)

Long story short, the whole script is in r4.php, which is valid perl code, full of compressed statements, inlined html built with concatenated strings inside if/else blocks, complete lack of structure or abstraction, and some other uglyness.

PHP is not my favorite language. I haven't coded anything with that since a long time. The last time I did, it felt pretty annoying, but well, I thought i would give it a shot this time. Fuck.

Sincerely, I have found there everything that is wrong with php. Well, all but the newly-added ENTERPRISE feature bloat. I can't understand how can someone maintain this code.

2 2008-05-01 22:11 Cudder !MhMRSATORI

PHP is not my favorite language either, but when our last host dumped us, let's just say that desperate times call for desperate measures. I chose it because of its popularity; because almost every host out there supports it, I can just drop and run. I find it annoying as fuck to read/write too.

Look at Futaba, which is what 2chan uses. It's pretty much in the same style, only the comments are not English. REchan (the script) was not written with anything in mind other than to be as small and efficient as possible while having the needed functionality.

I'm also thinking of rewriting the whole thing from scratch, to unify all the text boards under one script like what Shiichan does. It'll be called REchan s0 initially, both because it's the next letter and coincidentally alludes to Shiichan. But if the current r-series script is sufficient, I won't do it; the only gripe I have with r4 is the need to update the script for each board individually.

What are the specific changes you want? Where do you want a div added? How should the padding be done? Be more detailed and I might go through with your suggestion.

3 2008-05-02 19:19 Anonymous

Oh well, if you are going to rewrite it, at least separate html from php properly. When i wrote >>1 i was on RAGE, but i'm fine now. Whatever. It's your own code, you know what it does and where was that written.

> What are the specific changes you want? Where do you want a div added? How should the padding be done? Be more detailed and I might go through with your suggestion.

Well, everything started with a quick look at firebug:

<div class="header">
</div>
<div class="vpad"/>
<div class="threadlist">
</div>
<div class="vpad"/>
<div class="thread">
</div>
<div class="vpad"/>
<div class="thread">

I'd just replace that with margin-top and margin-bottom in .thread, .threadlist, and other blocks. ENTERPRISE PROTIP: separate class names with spaces, like class="threadlist bigblock"

The div that I wanted to add is a contradiction of the thing above... but oh well. It's just a tag-with-class to make a double border like pseud0ch

So, this markup

<div class="thread">
<h2>...</h2>
<div class="thepost">...</div>
<div class="postform">...</div>
</div>


would become:

(Post truncated.)

Name:Email:
4

New Thread

Subject:
Name:Email:
- REchan s0-lrm6 (091122) -