Created
April 23, 2020 23:58
-
-
Save ajesaramos/7d345b0b043fd2f08e27572ee1a8e761 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//vars | |
$servername = "vulnerable"; | |
$username = "alvaro"; | |
$password = "g1v3m3d4t4"; | |
$dbname = "vulnerable"; | |
//crear coneccion | |
$conn = new mysqli($servername, $username, $password, $dbname); | |
//check connection | |
if ($conn->connect_error) { | |
die("Connection failed: " . $conn->connect_error); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment