Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * @author: Aeronix
- * @description: This MySQL connector is meant to be used to connect to MySQL servers, self explanitory for what it can be used for.
- */
- ERROR_REPORTING(E_ALL);
- if(isset($_GET['host']) && isset($_GET['user']) && isset($_GET['pass']))
- {
- $connection = mysql_connect($_GET['host'], $_GET['user'], $_GET['pass']);
- if($connection) {
- echo "<font color=\"Green\"><strong>Granted</strong></font><br />";
- } else {
- echo "<font color=\"red\"><strong>Denied</strong></font><br />";
- }
- }
- ?>
- <div align="center">
- <form action="?" method="GET">
- <p><font size="24pt">Aeronix MySQL Connect0r</font></p>
- <label for="host">Host:</label> <input type="text" name="host" id="host" /><br />
- <label for="user">User:</label> <input type="text" name="user" id="user" /><br />
- <label for="pass">Password:</label> <input type="text" name="pass" id="pass" /><br />
- <input type="submit" value="Connect" />
- </form>
- </align>
Advertisement
Add Comment
Please, Sign In to add comment