Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
Acmlm's Board - I2 Archive - - Posts by Jesper
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
User Post
Jesper
Busy, busy, busy.
Level: 69

Posts: 2155/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-04-05 06:43 PM, in Apple announces display iPods that... SOME people can afford; photo iPods not thicker than yo mama. Link
You've got your mother's wits - it seems her are gone, so it's only logical.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2156/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-04-05 06:45 PM, in Mozilla/Firebird and File Association problems Link
Originally posted by HyperHacker
Jesper: I need to get around to that sometime. Is there a way to fix the existing profile though?
No way that's not a pain in the ass. You don't even know what happened in the first place, you just know that it's something in your profile, which is like trying to perform medical surgery on yourself with the complete journal content being "it hurts".
Jesper
Busy, busy, busy.
Level: 69

Posts: 2157/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-04-05 06:56 PM, in Firefox tabbed browsing extension that doesn't suck. Link
I used to use Tabbrowser Extensions which was great and provided a metric assload of configurability. The downside was that it's a bit of a memory hog - a result of the author literally rewriting the entire tabbed browsing part - "tabbrowser". But now, someone has thought hard and come up with the fact that "hey, we have these fifty small-purpose tabbed browsing extensions, but wouldn't it be neat if we just made one extension with most of the features in TBE instead?", and so they did.

Tab Mix is a kick-ass extension that makes tabbed browsing more flexible. It can help spawn multiple rows when the tabs overflow (like TBE), it can do drag and drop reordering of tabs (like TBE), even combine these (UNlike TBE) and it also has lots of setting to tweak like how to behave in the way of spawning new tabs or windows depending on what link or bookmark you click or URL you enter - less than TBE, but I find that I don't miss the extra options because it behaves the same way now as when I had TBE installed. And since it doesn't have to rewrite the tab component, it's lighter and Firefox, while not exactly slow before, is definitely snappier now.

The home page of the extension warns that it may be instable, but I've been using it for a few days now and it hasn't crashed once. I highly recommend this extension. If you are using Firefox, install this extension now. It's that good.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2158/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-04-05 07:04 PM, in Happy birthday Ziff Link
Originally posted by NSNick
On your birthday, you should let the Necrowizard free all day.
Is that an euphism for "don't put on any underwear"?

I'm late, late, late! Belated happy birthday.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2159/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-05-05 01:27 PM, in Firefox tabbed browsing extension that doesn't suck. Link
Originally posted by Xkeeper
Yet I bet you still can't move the location of the tabs around to different areas of the screen.
(restricted)
Jesper
Busy, busy, busy.
Level: 69

Posts: 2161/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-05-05 03:28 PM, in Chocolate Bars Link
Uh. If you only like chocolate bars with coffee in them, then you like coffee and not chocolate.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2162/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-05-05 03:41 PM, in SMI unfinished: Get it here Link
He's not releasing his hack, he's just putting it on the sidewalk with a post-it note saying "take it if you want to". Screenshots aren't required.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2163/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-05-05 06:01 PM, in Fuckhead Link
What makes a Fuckhead?

The Fuckhead will defend his or her inflexibility by saying, "I have every right to my opinion," and "I have every right to participate in this discussion." And, in the egalitarian world of IRC and Usenet, the Fuckhead is correct. But the Fuckhead will find that other participants, who do not appreciate the Fuckhead's presence or contributions, will make use of tools such as "Ignore" commands or killfiles. These tools would not exist if it weren't for the Fuckheads.

You can count on the Fuckhead to shriek "Censorship!" when you tune out their input. You can count on the Fuckhead saying rude things about you when he/she is sure you're no longer listening. But it will never occur to the Fuckhead to approach topics and people differently, and never, ever occur to the Fuckhead to avoid venues where the atmosphere is unfriendly. This inability to exit gracefully is a distinguishing mark of a Fuckhead.


I know I've been a part-time Fuckhead. I know others are or have been. It's the permanent Fuckheads I have problems with.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2164/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-05-05 07:32 PM, in Acmlm's Board: 2020. Link
Originally posted by Banedon
Originally posted by Jarukoth
- AcmlmBoard 2.0 will probably be out by then.


Nah, they'll probably go all the way up to Acmlmboard 1.Z9 and then use ASCII symbols to avoid reaching 2.0.
1.FF is the max version under the new system. We're using Hex for both numbers, and for the integer part as well.

That said, even though it's impossible to predict, I tried anyway, but I can't even decide on a coherent theory myself. There's just too many ways every little detail can change.
(restricted)
Jesper
Busy, busy, busy.
Level: 69

Posts: 2166/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-05-05 10:17 PM, in Let's talk about exploits. OR "Please Jesper, can you fix my exploits?" Link
The last few months exploits have been (re-)discovered and used on this board and, primarily, on other, old or relatively new, AcmlmBoards. During this period, me and ||bass have been basically buried under "oh my fucking god, someone has admin and I didn't give him admin, plz help" requests.

The good news is that exploits have been fixed in this board version, and that we're planning to put out a new dist before March ends. The good news ends here.

To put it simply, AcmlmBoard was *not* designed to be safe from exploits. Not in the slightest. It has basic protection in some cases, but for the most part it's an open wound. By far, SQL injections are the most common tricks, so I'll be detailing here how to fix those.

Imagine a typical SQL query. SELECT * FROM table1 WHERE id=$id. Pretty basic. What if $id is "0; UPDATE table2 SET admin=1 WHERE id=insertmyidhere"? Not good. So what can one do to prevent this? Here's what you can do:

$id = intval($id); This uses the intval PHP function, which basically says "here's this variable, take whatever integer value - number without decimals - you can find, if any, return that value, and shove the rest of it". This protects you against these kinds of attack.

Why are not queries like the following affected? SELECT * FROM table1 WHERE name="$name". Because you have already run - or won't need to run, depending on server configuration - addslashes, another PHP function, on $name. What that does is it escape every occurance of " and \ so that content in $name can't 'break out' of the SQL query by containing something like "; UPDATE table2 SET admin=1 WHERE id=insertmyidhere; SELECT * FROM table1 WHERE " (the quotes are INCLUDED in the variable value). The quotes would be escaped to \", and conversely you couldn't even break the query by just entering \, which would be converted to \\.

If you have no idea what I just said through any of this - learn PHP, or get someone who knows to either help you or teach you enough PHP so you'll be able to fix things like this. If you're running or caring for an AcmlmBoard without knowing how to fix it, it's like flying a plane knowing how to steer but not much else. When that gas runs out (those exploits hit you) you're going to wish you knew a little more about flying a plane (use PHP).

I'll end on this note: I told you that a new distributable version of AcmlmBoard will be out before the end of March. However, listen closely. There are basically very few copies of AcmlmBoard in circulation that are untouched - that haven't been 'hacked' in one way or another, and I'll wage that that number is zero for those of us who read this forum.

You will need to leave your old AcmlmBoard setup, however magnificent, hacks and all, if you want the security that this new version will offer. Either that, or you'll need to close these exploits by yourself.

The fact is that I would have preferred a set of patches for closing the most common exploits. But things have moved around a lot in the latest versions and so we'd basically need different patches for different versions of AcmlmBoard, which are at least 1.65, 1.8, 1.9 beta and 1.92, and let's not even get into Acmlm+Erk. (We don't support any of the versions beyond doing it as a courtesy, but Acmlm+Erk is a dist built upon a lot of hacks, which makes it all the more painful to upgrade from or to and which we conversly support even less, if you can believe that.)

For those of you that remember which places you changed and what changes you did, I encourage you to make new threads in here with instructions on how to patch what on which version. Oh, and if you're going to patch it on your own? Trust me, you'll want to do this in *every file*, near *every SQL query*, with *everything featured in every SQL query*. Do it, or sit back, moan, and be hit by the exploits. It's not easy.

And I'd like it if you ran *here* instead of to me and ||bass regarding fixing exploits on your boards. I'll be spending most of my time regarding these things on working on the development board, and occasionally go in here and set things straight if they need be - but I'll still accept reports of existing exploits via PM. ||bass won't be spending any time on this, because he's no longer on the development team.


(edited by Jesper on 03-05-05 01:24 PM)
Jesper
Busy, busy, busy.
Level: 69

Posts: 2167/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-05-05 10:21 PM, in Hey motherfucker Link
Read this, if you haven't already. It covers ground on how to fix the most serious exploits - as a general method rather than specific places, because specific places are *everywhere* - and what the dev team (which is currently just me, yes, but that might expand) is doing in terms of putting out a new dist.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2168/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-05-05 10:59 PM, in Acmlm's Board: 2020. Link
Originally posted by Banedon
Yeah, but you didn't decide on using hex version numbers until you would have called the next version 2.0...so maybe after 1.F, you'll say "Screw this, let's make it base 36. The next version is 1.G."
Uh. No. We were at 1.93 and still had 1.94 thru 1.99 to go, we just felt that some of the versions added more than some of the versions who jumped 0.2 steps before them and we wanted to make that more clear.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2169/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-06-05 12:58 AM, in For people working in electrics and electronics Link
I used Electronic Workbench for the electronic classes I had, plus a few (mostly) half-assed microprocessor programming simulators/editors. This was three years ago, though, and I only used it during those classes.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2170/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-06-05 01:09 AM, in PHP: mime_content_type return Link
If you're just dealing with images, which it seems you are, and you use PHP 4.3.0 or higher, why not use image_type_to_mime_type()? It has no extension dependencies (just the version dependency as mentioned above) but I don't know what it does when passed, say, a text file or something. Try and see, and just check that the mime type is not that (or better yet, confine it to jpegs, pngs and gifs to start with) to acheive valid data.

PHP extensions on Windows have the uncanny ability to fail at the drop of a hat, and I'm not going to swear by it, but the two times I've experienced the most problems were with Apache 2. The EXIF extension even gave me some flak because I didn't have a japanese text handling extension enabled, and when I turned that on it just crashed on me.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2171/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-06-05 01:36 AM, in Connection problems Link
akron.oh.us.irc.acmlm.org.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2172/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-06-05 01:43 AM, in If you had a clone... Link
You're asking the wrong question. If you had sex with the clone, would it be masturbation?
Jesper
Busy, busy, busy.
Level: 69

Posts: 2173/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-06-05 02:07 AM, in Let's talk about exploits. OR "Please Jesper, can you fix my exploits?" Link
People don't read stickies.
Jesper
Busy, busy, busy.
Level: 69

Posts: 2174/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 03-06-05 04:23 AM, in Let's talk about exploits. OR "Please Jesper, can you fix my exploits?" Link
Originally posted by Xeogred
I thank you Jesper, for posting this, and passing up some folks ignorance.

I do have a question though, originally in a PM (or maybe when I talked with you over AIM) you told me to even put Useranks through intval.

Well that just turned out to mess things up. Whenever users would edit their profile, ranks would be set to 'off' for that user.

But ... keep in mind I use Acmlm+Erk ...
It seems you just used the intval function before the variable was correctly set in the first place, so it'd be empty, which would translate into 0 which might very well be Rank set. Solution: move the intval-line to after the line where it's being set for real. (If you're uncertain, always "intval" as soon as possible!)

This is something right out of the proverbial manual, by the way. You should be able to debug and deduce these kinds of things, or you should strongly consider getting another board. AcmlmBoard is very easily hackable, but the downside is that you *should* be able to go into every nook and cranny when things go wrong and fix them! Thankfully we have a helpful few in here that *do* have this sort of knowledge and are willing to share. This is worth very much.

To re-iterate my point, if it hasn't been driven home already, I'll always enjoy doing code work on AcmlmBoard to develop it. That's the fun part. Fixing bugs is still productive if it's done at the core and these fixes will benefit other people... but fixing bugs or exploits for others where the code might even vary (and thus be based on code that I or Acmlm didn't even write and that I am thusly not familiar with) is - relatively seen - a chore. I try to help out where I can, but between other personal projects and jobs where actual money is offered, I can't help everyone, and I can't even guarantee that I won't be tired as hell and just want to rest.

I don't want to come off as greedy, but I make my money by working, and I can't do good work eight hours per day, go home and work on the development version of the board and then spend even another hour or so helping others fix bugs. It's just not tenable. In a large percentage of the cases, you can get competent help here too. So I ask of you atleast during this period to please consider posting about your worries here instead of bugging me first thing you do.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
Acmlm's Board - I2 Archive - - Posts by Jesper


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.021 seconds.