Skip to content

Instantly share code, notes, and snippets.

@WarGaming
WarGaming / injection.php
Created June 12, 2011 17:29
Sample SQL injection
<div style="text-align:center;">
<p>
The idiot who wrote this form's handler pretty much sucks. There's a few reasons why.
</p>
<form method="post" action="">
<label for="ext">Username:</label><br />
<input type="text" name="username" class="textbox" value="" /><br /><br />
<label for="password">Password:</label><br />
<input type="text" name="password" class="textbox" value="" /><br /><br />