This Space Intentionally Left Blank

25 Thermidor CCXI (August 12, 2003)

(System Stuff) See The Tidal Wave Of Disappointment

I'm calling for a stress test here.

I've written a script to dump the contents of a file out as a text/html stream and I want to make sure I've built enough checks into it to prevent anyone from using it to access files I'd rather they didn't.

Update (Aug. 16): Found a more efficient way of doing what I was using that for. So the file's gone. Don't bother trying.

The file is http://heimdall.shacknet.nu/cgi-bin/file.cgi and you call it with a parameter equal to the filename you want to access.
i.e. http://heimdall.shacknet.nu/cgi-bin/file.cgi?test would dump out the file called test. (Path names are all relative to a particular directory)

So, try and access files you shouldn't be able to, but please let me know if you succeed.

Oh, and I reitterate my point about IE being a P.O.S. browser that can't display anything properly. God this site looks ugly in it.

Posted by g026r at 14:12
Comments

Speaking of not displaying properly...

This is what your site looks like when I first load up.  It fixes itself when I refresh.  It's with Galeon, on Linux, and Mozilla on Windows.  Probably a Gecko problem, but I figured I'd let you know.

Are you still having problems with mine?

Posted by peter at 25 Thermidor CCXI 19:23 (2003/08/12)

I've been trying to work on that one. I think it has something to do with the fact that it's not sure of the image size before it loads the rest of the webpage.

I've currently put everything in a giant table and haven't seen it since. Let me know if it keeps doing it and I'll mess with my img tags to see if I can fix it.

I'm not having any issues with your site anymore. I'm guessing it was just failing to get the new stylesheet.

Edit: Actually, judging by the entry at the top there, I'd say the table didn't fix anything. Time to mess with my script then.

Edit #2: Okay, let me know if it does that again.

Siteicon Posted by g026r at 25 Thermidor CCXI 19:32 (2003/08/12)

It didn't do it when I loaded it this time.

But boo for using tables for formatting.  You should know better than that. :)

Posted by peter at 25 Thermidor CCXI 23:31 (2003/08/12)

Yes yes yes. Tables for formatting == very bad. I know that. :P

Actually, the tables are gone now. I've replaced the  script that outputted the images with a server side include that outputs the <img> tags complete with height and width. Unfortunately it slows the loading of the page down what with all the server side includes that are now being called. I think I'm going to have to look into some way of making it faster.

Siteicon Posted by g026r at 25 Thermidor CCXI 23:58 (2003/08/12)
Post a comment







Past Entries

Past Entries