Page 2 of 2
Re: Truncate
Posted: Sat Feb 20, 2010 7:08 pm
by hallsofvallhalla
off topic:
http://www.indie-resource.com/w/index.p ... =Main_Page
current wiki...
see why someone needs to work on it

Re: Truncate
Posted: Sat Feb 20, 2010 10:08 pm
by jpoisson
Interesting wiki, I will give it the breath of life

now just need to go off and find some helpers once I kinda reorganize it a little.
Re: Truncate
Posted: Sun Feb 21, 2010 1:46 pm
by MAruz
As to the SQL injections I've seen examples of people making themselves registered as admins when they register a new (user) account. They need to know how you structure your tables though, but appending admin=1 to the sql injection would often do the trick.
Re: Truncate
Posted: Sun Feb 21, 2010 7:49 pm
by jpoisson
that is why you rarely use admin as a column name it is better to use status and have a general settin 1 = normal users 5 = admin, 2 = moderators, 3= banned, 4= what ever else.
Re: Truncate
Posted: Sun Feb 21, 2010 8:12 pm
by MAruz
Yeah that's similar to what I do...