6,501

(8 replies, posted in Feature requests)

Err, what?
http://punbb.org/forums/profile.php?id=2
Avatars are shown

Well, I found the rule (or a ruleset containing it)
http://www.gotroot.com/downloads/ftp/mo … rules.conf

#PunBB version <= 1.2.2 auth bypass exploit
SecFilterSelective REQUEST_URI "profile\.php\?section=admin\&id=.*\&action=foo"

I can't find any "auth bypass" that existed that would be prevented by that line.

6,503

(69 replies, posted in News)

I think you'll have to do a complete re-install, just like 1.1 - 1.2: there would just be too many changes

6,504

(4 replies, posted in PunBB 1.2 troubleshooting)

No, there is no such exploit, nor is it possible through PunBB's code as far as I can tell (especially with the protection Rickard added in 1.2.9)
A couple possibilities:
The guy figured out your password and is logging in as you to unban himself
The guy can access your DB
Your PunBB isn't fully updated. He's using an exploit that you didn't fully patch to gain access.

Now, three things that might help you:
1. Upgrade to 1.2.10
The removal of reliance on X_FORWARDED_FOR means it becomes harder for him to fake his IP
2. Change yout password to something complicated and hard to figure out
3. If you have access to the access_log, paste us the relevant parts and we can try and figure out if it was actually an exploit

6,505

(69 replies, posted in News)

Connorhd wrote:

http://dev.punbb.org/changeset/286 - my IP address is now wrong sad

I can write a mod to store X_FORWARDED_FOR somewhere if you want smile

6,506

(5 replies, posted in PunBB 1.2 bug reports)

Yeah, Sulfur is the default error style tongue

Except that isn't an arcade and it isn't integrated, via the database or even via design, at all. All it is is a bunch of games hosted on a website

6,508

(5 replies, posted in PunBB 1.2 discussion)

There's not a script that lets you add a new page, but you can add links in Admin Options (additional navlinks)

6,509

(114 replies, posted in PunBB 1.2 discussion)

mariacallas.org wrote:

just add PM and poll systems to the core, please

Rickard wrote:

The subject is "What is planned for PunBB 1.3 then?", not "Post your feature requests here!".

And as has been said many times now, extensions will allow polls/PM to be installed much more easily

6,510

(3 replies, posted in Feature requests)

I have ICQ and AIM (silly, I know, to run both when ICQ #s work with AIM and AIM nicknames work with ICQ), I know people who use that and Jabber (usually through Google Talk) and MSN
But most people don't need all of them at once: they just need some of them. But take a group of people, probably at least one person will have used each one smile

6,511

(3 replies, posted in Feature requests)

They're there already
Just replace everywhere it says "Yahoo" or "AIM" with the name of your instant messenger in the language file

6,512

(114 replies, posted in PunBB 1.2 discussion)

Raybo: Like I said to you before, I wrote a plugin for you to do just that: and I wasn't the only one tongue

Rickard said he was going to take a look at it

6,514

(13 replies, posted in PunBB 1.2 troubleshooting)

Paul: exactly my point, print out the whole post and let the stylesheet decide how much people "see"

6,515

(13 replies, posted in PunBB 1.2 troubleshooting)

Aha, I never actually checked the code, I just noticed that a lot less of the post is shown thanks to the div
and FYI: I made a really long post to test it, but when I did a strlen I found out that the number of characters shown was actually 1010.
What's the point of only showing part of the post though, if the div hides most of it?

6,516

(13 replies, posted in PunBB 1.2 troubleshooting)

Rickard: except all of the post is shown, it's just "hidden" by the div

6,517

(6 replies, posted in PunBB 1.2 troubleshooting)

I think it did smile
You tried entering "localhost" as your database hostname. That doesn't work with Dreamhost, since they have external DB servers: you have to use the address they give you

6,518

(114 replies, posted in PunBB 1.2 discussion)

Probably something where you give it a user agent/IP list and if a guest matches that, they get fed a certain style and are marked as a certain bot smile

6,519

(9 replies, posted in PunBB 1.2 discussion)

Well, just a link to PunRes would work then tongue

6,520

(32 replies, posted in PunBB 1.2 troubleshooting)

Try this:

  $data = shell_exec('uptime');
  $uptime = explode(' up ', $data);
  $uptime = explode(',', $uptime[1]);
  $uptime = $uptime[0].', '.$uptime[1];

6,521

(32 replies, posted in PunBB 1.2 troubleshooting)

Edit: new code

<?php

$s = explode( " ", exec("/sbin/sysctl -n kern.boottime") );
$a = str_replace( ",", "", $s[3]);
$uptime = time() - $a;    

?>

Oh, and what's your PHP_OS set as?

6,522

(32 replies, posted in PunBB 1.2 troubleshooting)

Edit: My mistake, basically $load_averages is filled with the results

Try removing the @ from exec('uptime')

check out Admin Options and search the page for the word "dot"
I believe it's disabled by default

6,524

(9 replies, posted in PunBB 1.2 discussion)

One question: why? smile
Oh, and this should be in Show Off

6,525

(32 replies, posted in PunBB 1.2 troubleshooting)

OK, run this in a test file then

var_export(preg_match('/averages?: ([0-9\.]+),[\s]+([0-9\.]+),[\s]+([0-9\.]+)/i', @exec('uptime'), $load_averages))