Automated SQL injection

Via Lockergnome Bytes:

Automated SQL injection: What your enterprise needs to know: “SQL injection exploits may soon be as common as those targeting Windows and Unix flaws, experts say. An estimated 60% of Web applications that use dynamic content are likely vulnerable, with devastating consequences for an enterprise. A presentation of an automated attack targeting SQL injection flaws is planned for Black Hat Briefings this week in Las Vegas. This two-part interview with SPI Dynamics CTO Caleb Sima will tell you what you should fear, why and…”

This is why PHP-Nuke should be avoided. It doesn’t attempt to be secure, with user-provided values passed directly to SQL queries without any error checking or quoting. Drupal, on the other hand, never passes any user-provided values directly to any query.

ADHOC Blogging

I’m now at the ADHOC conference and David Pogue is giving the keynote. My first impression is that it’s a lot smaller than the usual MacHack and has a very low-budget feel. There are only about 100 people rather than the usual 200-300. A lot of people who were here previous years weren’t here. I think this was the first MacHack that Leonard Rosenthal didn’t attend. Even Miro isn’t here.

We only have half of the main hall where the keynote & hack show was held. Internet access was a bit different. There’s no DHCP server; we have to obtain a static IP address.

At first there were no power strips in the atrium. We had to beg for them in the machine room. The keynote is as much fun as always, so maybe things will pick up for the rest of the conference.

Zipped Up

I’ve been concerned about MacMegasite’s bandwidth usage, so I’ve been looking into ways to reduce it. The first thing I did was re-compress the logo as an optimized gif, which reduced it from almost 12k to 4k, after trying several settings and comparing gif & png for size and quality.

Finally, I added gzip compression, which drastically reduces the page load time, and in a few days I should be able to see how it affects the bandwidth. It was simply a matter of adding the following lines to .htaccess:

   php_flag zlib.output_compression On
   php_value zlib.output_compression_level 5

I also made this same change to all of my other domains.

I’m not in danger of exceeding my bandwidth – I have 20G/month which I can distribute however I want between all of my domains. Right now I have 10G allocated to MacMegasite with the rest distributed among my other domains, which are well within their limits. For this month, MacMegasite is already over 7G. I can always allocate more bandwidth to it if necessary

The honorary revolutionaries

Interesting article about rappers in Senegal (via metafilter):

We’re not like the Americans, whose texts are just insults and abuse,’ many rappers assure me. ‘It’s not a question of money, weapons, sports cars, or beautiful women either. Senegalese rap, it’s the street speaking. We are journalists, reporters of everyday life.’ Others consider themselves teachers or educators of the masses who did not receive any schooling. The question is: who were their own teachers? Yes, they can read and write, but they barely finished grade school. Few are interested in secondary school training. The school uniforms are expensive, not to mention the writing materials, school bags, and copybooks. Besides, what’s the use of all the boring stuff they’re trying to teach you there?

Phpnuke.org attacked

Phpnuke.org is reporting a massive DoS attack to their server which damaged their forums. Maybe this will wake them up to the security issues which plague PHP-Nuke.

Categories Web

DirecTV Rocks

I love DirecTV since I got it a few weeks ago. I get DVD-quality video and sound from it since I connected the settop box to my TV’s S-video input instead of using the antenna connection as it was originally installed.

One channel I like is Link TV (channel 375). They often show World Music videos and last night they had a nice show about Baaba Maal. Tonight they have a show about Youssou N’dour.

Hate Amendment defeated

The senate voted 48-50 against proceeding with the Federal Marriage Amendment debate. 60 votes were needed to survive a procedural vote on cloture, which would prevent a filibuster. Bush is “deeply disappointed” with the vote, but considers it only a temporary setback.

Here is a complete rundown of the vote. As expected, the vote was divided pretty much along party lines, although 3 democrats – Byrd (WV), Miller (GA), and Nelson (NE) voted for the measure. I’m proud to say both Florida senators voted against it.

Maybe now the government can get back to more important business, like Iraq and the war on terrorism.