Closed Ri1a closed 6 years ago
Tried it again on linux and it worked fine now.
Its not working on windows 10 same issue.
this code will help to bypass that error, just paste below code in connect.php file. ask chatgpt for more errors. Happy Hacking :)
<?php
/*
bWAPP, or a buggy web application, is a free and open source deliberately insecure web application.
It helps security enthusiasts, developers, and students to discover and prevent web vulnerabilities.
bWAPP covers all major known web vulnerabilities, including all risks from the OWASP Top 10 project!
It is for security-testing and educational purposes only.
Enjoy!
Malik Mesellem
Twitter: @MME_IT
bWAPP is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License (http://creativecommons.org/licenses/by-nc-nd/4.0/). Copyright © 2014 MME BVBA. All rights reserved.
*/
// Connection settings
include("config.inc.php");
// Connects to the server
$conn = mysqli_connect($server, $username, $password, $database);
// Checks the connection
if (!$conn) {
die("Could not connect to the server: " . mysqli_connect_error());
}
// No need to select the database separately in mysqli
// Commenting out mysql_close as it's not necessary in mysqli
// mysqli_close($conn);
?>
i have new error
C:\xampp\htdocs\bWAPP\sqli_13.php
So, I've recently installed bWAPP. The first bugs worked fine, but when I want to start an SQL-injection attack it throws me this error:
This is the line in the connect.php that throws an error:
I run bWAPP locally, why should it connect to a server? Any ideas?