Coder Social home page Coder Social logo

Can't log in. about xvwa HOT 20 CLOSED

s4n7h0 avatar s4n7h0 commented on July 29, 2024
Can't log in.

from xvwa.

Comments (20)

s4n7h0 avatar s4n7h0 commented on July 29, 2024 1

@AliBawazeEer please check the script you are running. I assume you might have "wget"ed the html page ?

from xvwa.

s4n7h0 avatar s4n7h0 commented on July 29, 2024

have you configured the database configuration - config.php ? If this is done, set up the tables at http://localhost/xvwa/setup/

from xvwa.

lfatty avatar lfatty commented on July 29, 2024

I had the same issue yesterday. i checked the configuration file, mysql and apache2 and all were fine. However, when i go to the url for configuration i got some error.

from xvwa.

lfatty avatar lfatty commented on July 29, 2024

@s4n7h0
By the way, kudos to you for taking your time to building this learning app.

from xvwa.

s4n7h0 avatar s4n7h0 commented on July 29, 2024

@lfatty can you post the error here ? I believe you did the setup before you login. http://localhost/xvwa/setup/

from xvwa.

0xdeadbeefJERKY avatar 0xdeadbeefJERKY commented on July 29, 2024

I'm having similar issues. Whenever I attempt to run the setup, the string Setup finished is written to the setup page, but the database and tables are never created (hence the inability to log in). I've double-checked the configuration files and they're correct.

from xvwa.

s4n7h0 avatar s4n7h0 commented on July 29, 2024

@TheBananaStand you should be able to see something like this, if the tables were created successfully.

xvwa_setup

from xvwa.

andrewmclagan avatar andrewmclagan commented on July 29, 2024
  • 1 great resource, I have a couple of PRs coming to this repo

from xvwa.

sambowne avatar sambowne commented on July 29, 2024

I had the same problem. The setup.php file in this repository is broken; it is all commented out. I replaced it with this setup.php file and now it works:


  "; echo "Connected to database Sucessfully.
"; // creating tables $table_comment=mysql_query('create table comments(id int,comment varchar(100),date date)',$conn); if(table_comment){ $insert_comment=mysql_query("INSERT INTO comments (id,user,comment,date) VALUES ('1', 'admin', 'Keep posting your comments here ', '2015-08-10'",$conn); if(insert_comment){ echo "  "; echo "Table comments created sucessfully.
"; }else{ echo "  "; echo "Can not create table comment. Try submit/reset again.
"; } }else{ echo "  "; echo "Failed to use/select database. Check the configuration file.
"; } } ## ?>

from xvwa.

s4n7h0 avatar s4n7h0 commented on July 29, 2024

Hi @sambowne I just pushed some minor commit. The setup.php page was created just for developer reference. It just shows some table structures and queries. You can access http://localhost/xvwa/setup/ for database setup. The submit/reset button will do all setup functions as shown in my previous comment. Let me know if you still face any issues sir.

from xvwa.

s4n7h0 avatar s4n7h0 commented on July 29, 2024

Hey folks, @TheAngryAvocado @lfatty @TheBananaStand I made a short script for auto configuring xvwa with latest repo from GitHub. This issue should be closed with it https://github.com/s4n7h0/Script-Bucket/blob/master/Bash/xvwa-setup.sh

from xvwa.

sashthamanik avatar sashthamanik commented on July 29, 2024

Its not work cz--> if(insert_comment){
}
Its work if($insert_comment){
}

from xvwa.

s4n7h0 avatar s4n7h0 commented on July 29, 2024

@sashthamanik how did the auto setup work for you ? https://github.com/s4n7h0/Script-Bucket/blob/master/Bash/xvwa-setup.sh

from xvwa.

AliBawazeEer avatar AliBawazeEer commented on July 29, 2024

whenever i access the following link http://192.168.56.103/xvwa/ i get blank screen

additionally when i run the auto script i get the below error message .

./xvwa-setup.sh
./xvwa-setup.sh: line 5: syntax error near unexpected token newline' ./xvwa-setup.sh: line 5:'

from xvwa.

nizarakbarm avatar nizarakbarm commented on July 29, 2024

I'm success in installation xvwa but there is only blank page when i open http://localhost/xvwa

from xvwa.

nizarakbarm avatar nizarakbarm commented on July 29, 2024

and also when http://localhost/xvwa/setup is also showing blank page too

from xvwa.

s4n7h0 avatar s4n7h0 commented on July 29, 2024

@elneunizar most likely because the config.php file has some wrong parameters. please check if it is same as mentioned here https://github.com/s4n7h0/xvwa#manual-installation-method
Do let me know if this works or you still facing issues ?

from xvwa.

nizarakbarm avatar nizarakbarm commented on July 29, 2024

still same

from xvwa.

nizarakbarm avatar nizarakbarm commented on July 29, 2024

i already follow all instruction

from xvwa.

s4n7h0 avatar s4n7h0 commented on July 29, 2024

@elneunizar could you provide remote access to your setup ? I can look into the issue and fix it for you. It didnt cause any issue for my setup (kali linux + automated script + change settings in config.php)

from xvwa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.