News for hackers. Stuff that matters.
Re:PHP to deprecate MySQL extension by pstadler on Friday July 15, 2011 @01:30PM (#2768292)
As a person who teaches PHP (and probably other languages too), you should definitely tell people not to do following mistakes:

  mysql_query("INSERT INTO table(field) VALUES('".$_POST['input']."')");
and not to forget, a truly classic one:

  include('pages/'.$_GET['page']);
When I started to learn PHP there was a contest between the students: Who brings hosts with vulnerable websites down faster. The trick was to recusrively include the same page (like index.php for example). The most funny thing though was to see the explosively rising load average by including /proc/uptime.

After having some fun, we usually sent emails to the administrators just to not receive any answers and to find the hosts still vulnerable months later...

Re:PHP to deprecate MySQL extension by pavel_lishin on Friday July 15, 2011 @01:45PM (#2768352)
I would consider e-mailing the administrators an e-mail with something along the lines of "<img src='http://vulnerable_host/?page=/proc/uptime />"

"The call is coming from inside the house!"

Re:PHP to deprecate MySQL extension by pstadler on Friday July 15, 2011 @02:01PM (#2768407)
It was much more fun to send them their own /etc/motd!