problem z localhost

Pytania dla zielonych dotyczące bezpieczeństwa.
dogfelek
Posty: 1
Rejestracja: 18 kwie 2017, 02:47

problem z localhost

Post autor: dogfelek »

dzień dobr jestem początkujący i wyje*łem się na starci mam problem z plikiem DVWA po przeniesieniu go do folderu htdocs mój localhost przestał działać i wyświetla -


DVWA System error - config file not found. Copy config/config.inc.php.dist to config/config.inc.php and configure to your environmen



POMOCY PLS
Awatar użytkownika
sliwaczenko
Posty: 21
Rejestracja: 07 lut 2017, 19:18

Re: problem z localhost

Post autor: sliwaczenko »

Oto moj config.inc.php dvwa

Kod: Zaznacz cały

<?php

# If you are having problems connecting to the MySQL database and all of the variables below are correct
# try changing the 'db_server' variable from localhost to 127.0.0.1. Fixes a problem due to sockets.
#   Thanks to @digininja for the fix.

# Database management system to use
$DBMS = 'MySQL';
#$DBMS = 'PGSQL'; // Currently disabled

# Database variables
#   WARNING: The database specified under db_database WILL BE ENTIRELY DELETED during setup.
#   Please use a database dedicated to DVWA.
$_DVWA = array();
$_DVWA[ 'db_server' ]   = 'localhost';
$_DVWA[ 'db_database' ] = 'dvwa';
$_DVWA[ 'db_user' ]     = 'root';
$_DVWA[ 'db_password' ] = '1234';

# Only used with PostgreSQL/PGSQL database selection.
$_DVWA[ 'db_port '] = '5432';

# ReCAPTCHA settings
#   Used for the 'Insecure CAPTCHA' module
#   You'll need to generate your own keys at: https://www.google.com/recaptcha/admin/create
$_DVWA[ 'recaptcha_public_key' ]  = '6LdF8xYUAAAAAI3FtK4MzqW75A0dlUCs3bTUgYzB';
$_DVWA[ 'recaptcha_private_key' ] = '6LdF8xYUAAAAAHBhmC6gIB9EKMLtbq_IKQEGbPP6';

# Default security level
#   Default value for the secuirty level with each session.
#   The default is 'impossible'. You may wish to set this to either 'low', 'medium', 'high' or impossible'.
$_DVWA[ 'default_security_level' ] = 'low';

# Default PHPIDS status
#   PHPIDS status with each session.
#   The default is 'disabled'. You can set this to be either 'enabled' or 'disabled'.
$_DVWA[ 'default_phpids_level' ] = 'enable';

# Verbose PHPIDS messages
#   Enabling this will show why the WAF blocked the request on the blocked request.
#   The default is 'disabled'. You can set this to be either 'true' or 'false'.
$_DVWA[ 'default_phpids_verbose' ] = 'false';

?>
Oczywiscie musisz polaczyc z baza danych dodajac new database "dvwa"
W 1/2 Technik-Mechanik Pojazdow Samocodowych
miodek557
Posty: 1
Rejestracja: 27 kwie 2017, 14:21

Re: problem z localhost

Post autor: miodek557 »

witam,
Dołączam się do problemu. Mam identyczny komunikat i nie wiem co zrobić.
Proszę o pomoc.
Pozdrawiam
xadat
Posty: 1
Rejestracja: 29 maja 2017, 17:03

Re: problem z localhost

Post autor: xadat »

mam ten sam problem, mógłby ktoś pomóc?
michzal
Posty: 1
Rejestracja: 20 cze 2017, 15:08

Re: problem z localhost

Post autor: michzal »

w pierwszym folderze od góry jest plik konfiguracyjny, trzeba usunąć rozszerzenie .dist
ODPOWIEDZ