rofl, paxton don't put everything on chmod 777. Serious security leak rofl.
What if u didn;t protect from all sqlinjection?
Let's execute this:
Select into outfile '/root/.bashrc' 'createuser hacker';
then the file bashrc would be executed each time user root connects and it would execute 'createuser hacker' but what if i choose to replace creatuser by eg installing rootkit code? Or dropping tables clearing logs opening firewalls exct.
Just put chmod to 764
then server users got full rights
and viewers only read only