localhost/dvwa not displaying correctly
2 Attachment(s)
localhost/dvwa webpage is displaying like in the attachment,only words are there,no links for database setup or login.
Instead of how locathost/dvwa should normally display(2nd attachment) I tried to remove and recreate the SQL database, re-download DVWA files, checked apache2 and DVWA configuration files, but did not find any problem. Can anyone point out the problem? Edit:Also i read somewhere that this is the problem with my external .css files, either i deleted them or the path is incorrect.If that is the case,how to correct it? |
Quote:
Cheers |
Quote:
|
Quote:
Also you didn't mention your distro. I guess it's a debian/ubuntu one, because you used apache2 in your OP. If that's the case check under /var/log/apache2 and post the relevant part of error_log. |
Quote:
[Sun Jul 23 22:36:47.229208 2017] [mpm_event:notice] [pid 7668:tid 139627725497536] AH00489: Apache/2.4.25 (Debian) configured -- resuming normal operations [Sun Jul 23 22:36:47.229304 2017] [core:notice] [pid 7668:tid 139627725497536] AH00094: Command line: '/usr/sbin/apache2' [Sun Jul 23 22:37:59.056174 2017] [mpm_event:notice] [pid 7668:tid 139627725497536] AH00491: caught SIGTERM, shutting down [Sun Jul 23 22:37:59.105459 2017] [mpm_event:notice] [pid 7743:tid 140609752323264] AH00489: Apache/2.4.25 (Debian) configured -- resuming normal operations [Sun Jul 23 22:37:59.105552 2017] [core:notice] [pid 7743:tid 140609752323264] AH00094: Command line: '/usr/sbin/apache2' [Sun Jul 23 23:04:40.236583 2017] [mpm_event:notice] [pid 7743:tid 140609752323264] AH00491: caught SIGTERM, shutting down [Sun Jul 23 23:04:40.454367 2017] [mpm_event:notice] [pid 8068:tid 139740921361600] AH00489: Apache/2.4.25 (Debian) configured -- resuming normal operations [Sun Jul 23 23:04:40.454495 2017] [core:notice] [pid 8068:tid 139740921361600] AH00094: Command line: '/usr/sbin/apache2' [Sun Jul 23 23:56:54.394579 2017] [core:error] [pid 8070:tid 139740653254400] (13)Permission denied: [client 127.0.0.1:58350] AH00035: access to /dvwa/index.html denied (filesystem path '/var/www/html/dvwa/index.html') because search permissions are missing on a component of the path [Sun Jul 23 23:56:54.460439 2017] [core:error] [pid 8070:tid 139740653254400] (13)Permission denied: [client 127.0.0.1:58350] AH00035: access to /dvwa/index.cgi denied (filesystem path '/var/www/html/dvwa/index.cgi') because search permissions are missing on a component of the path [Sun Jul 23 23:56:54.460512 2017] [core:error] [pid 8070:tid 139740653254400] (13)Permission denied: [client 127.0.0.1:58350] AH00035: access to /dvwa/index.pl denied (filesystem path '/var/www/html/dvwa/index.pl') because search permissions are missing on a component of the path [Sun Jul 23 23:56:54.460545 2017] [core:error] [pid 8070:tid 139740653254400] (13)Permission denied: [client 127.0.0.1:58350] AH00035: access to /dvwa/index.php denied (filesystem path '/var/www/html/dvwa/index.php') because search permissions are missing on a component of the path [Sun Jul 23 23:56:54.460575 2017] [core:error] [pid 8070:tid 139740653254400] (13)Permission denied: [client 127.0.0.1:58350] AH00035: access to /dvwa/index.xhtml denied (filesystem path '/var/www/html/dvwa/index.xhtml') because search permissions are missing on a component of the path [Sun Jul 23 23:56:54.460603 2017] [core:error] [pid 8070:tid 139740653254400] (13)Permission denied: [client 127.0.0.1:58350] AH00035: access to /dvwa/index.htm denied (filesystem path '/var/www/html/dvwa/index.htm') because search permissions are missing on a component of the path [Mon Jul 24 00:14:24.092287 2017] [mpm_event:notice] [pid 8068:tid 139740921361600] AH00491: caught SIGTERM, shutting down [Mon Jul 24 00:14:24.548878 2017] [mpm_event:notice] [pid 9015:tid 140541212284096] AH00489: Apache/2.4.25 (Debian) configured -- resuming normal operations [Mon Jul 24 00:14:24.580721 2017] [core:notice] [pid 9015:tid 140541212284096] AH00094: Command line: '/usr/sbin/apache2' |
Quote:
|
Quote:
Code:
find /var/www/html -type d -exec chmod 755 {} \; Quote:
|
Quote:
Without the semicolon at the end,I I ran the code it just displays > Do i nsed to type in anything beside that? |
Quote:
Without further info, I can only suggest you, that you have to run the command as root, or through sudo. |
[QUOTE=bathory;5740628]Yes it's needed to end the command. And you should post the error you get, because "giving an error" says nothing to us.
Without further info, I can only suggest you, that you have to run the command as root, or through sudo.[/Quote/] Sorry it was just a typo...afterwards the command executed successfully ,but nothing else happened:( |
Quote:
In case of errors post the new logs. |
Quote:
[Thu Jul 27 19:47:39.895363 2017] [mpm_event:notice] [pid 2364:tid 139946303706304] AH00489: Apache/2.4.25 (Debian) configured -- resuming normal operations [Thu Jul 27 19:47:39.895654 2017] [core:notice] [pid 2364:tid 139946303706304] AH00094: Command line: '/usr/sbin/apache2' [Thu Jul 27 22:30:19.357105 2017] [mpm_event:notice] [pid 2068:tid 140345787389120] AH00489: Apache/2.4.25 (Debian) configured -- resuming normal operations [Thu Jul 27 22:30:19.460495 2017] [core:notice] [pid 2068:tid 140345787389120] AH00094: Command line: '/usr/sbin/apache2' [Fri Jul 28 00:25:06.347292 2017] [mpm_event:notice] [pid 1594:tid 139651111474368] AH00489: Apache/2.4.25 (Debian) configured -- resuming normal operations [Fri Jul 28 00:25:06.364693 2017] [core:notice] [pid 1594:tid 139651111474368] AH00094: Command line: '/usr/sbin/apache2' |
Quote:
If you see nothing but a blank page, you need to enable php logging Regards |
Quote:
Edit:Tried doing what the blog said,but i dont have php5..i have php 7..so i also tried by putting in 7 instead of 5...that 1st command with nano.. it just opened a blank screen..saying no such file or directory |
Quote:
Anyway since you're a newbie that doesn't try to use a search engine in order to solve problems, here is a link on how to install dvwa in ubuntu with php7. Try to adopt it to fit your setup. Also IMO as a noob, you should have used a more user friendly distro and not Kali that is intended for more experienced users |
All times are GMT -5. The time now is 01:48 PM. |