Review your favorite Linux distribution.
Go Back > Blogs > unSpawn
User Name


Uncategorized Entries with no category

Bash input validation

Posted 01-11-2006 at 08:28 PM by unSpawn

Takes argument and stops when character outside restricted set is found.
Don't know how much slower, didn't run any timing tests with or without yet.

val_str() {
        declare -r str_allow="1234567890-_.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ "
        declare -r str_len="128"; str=( "$1" ); if [ -z "${str}" -o "${#str}" -gt "${str_len}" ]; then return 1; fi
Posted in Uncategorized
Views 2740 Comments 1 unSpawn is online now

PHP, aka Pretty Hosed Programming

Posted 01-11-2006 at 08:02 PM by unSpawn

If you've read the SANS Top 20 of 2005 ( there is a clear message with respect to deploying PHP-driven applications: be paranoid or be cracked. A short tour of a few vulnerability reporting sites show that with programmers who can't be arsed to follow the most basic principles of programming, who force users to run their app with all essential security features off and with undereducated users running apps without questioning this will be another wonderful year for your...
Posted in Uncategorized
Views 898 Comments 0 unSpawn is online now

Vista Iced 'til 2010, Microsoft says.

Posted 01-10-2006 at 09:52 AM by unSpawn

"In an effort to regain dwindling consumer trust Microsoft has decided to reschedule the release of Micosoft's Vista.
All resources are being redirected to building a more secure O.S. before introducing new bugs."
OK. So that's not going to happen, right? I think it should. Those who (are forced to) pay to use Mockerysofts products should have a vote in what should happen next instead of letting the marketoids reign.
Posted in Uncategorized
Views 794 Comments 2 unSpawn is online now


Posted 01-10-2006 at 09:39 AM by unSpawn

This is my scratchpad.
It's not a Blog.
I don't read Blogs.
Posted in Uncategorized
Views 809 Comments 0 unSpawn is online now


All times are GMT -5. The time now is 01:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration