Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table 'dvwa.users' does'nt exist. #4

Closed
muatif16 opened this issue Jul 26, 2013 · 7 comments
Closed

Table 'dvwa.users' does'nt exist. #4

muatif16 opened this issue Jul 26, 2013 · 7 comments

Comments

@muatif16
Copy link

I am using DVWA 1.0.8 and 1.0.7 respectively but doing all my effort and follows all the recommendation i got and error message after typing Username and Password that is Table 'dvwa.users' does'nt exist. Please help me if anybody solved it earlier. Or send me any file or description at: atif.iqra@gmail.com

@erran
Copy link

erran commented Jul 26, 2013

Did you visit /setup.php? You can reinitialize the DB there. I'm working on a Chef cookbook for DVWA. It'll install version 1.0.7. Visit the readme at rapid7-cookbooks/dvwa.

@erran
Copy link

erran commented Jul 26, 2013

@muatif16 I just updated the README on the DVWA cookbook. You can clone the repository and run a few commands after downloading Vagrant and VirtualBox and you should have DVWA set up within a few minutes on a VM at http://33.33.33.10/dvwa

@ethicalhack3r
Copy link
Collaborator

Nice! Thanks @ipwnstuff

@erran
Copy link

erran commented Jul 26, 2013

No problem. Don't be surprised if I send a PR in a few days to add it and some other stuff to the README. I also seen that some dead PRs with code examples on here, I'll handle it whenever I have time for the updates the the README.

@muatif16
Copy link
Author

if you don't mind kindly post some detail doc. or any video which would
help me for solving this problem.

On Fri, Jul 26, 2013 at 10:00 PM, Erran Carey notifications@github.comwrote:

Did you visit /setup.php? You can reinitialize the DB there. I'm working
on a Chef cookbook for DVWA. It'll install version 1.0.7. Visit the readme
at rapid7-cookbooks/dvwa https://github.com/rapid7-cookbooks/dvwa.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-21633981
.

**

@erran-r7
Copy link

@muatif16 Can you tell me whether you visited /setup.php? Did anything change if so? I still think it sounds like you didn't initialize your DB.

As for docs DVWA is pretty well documented if you look around. I'll add some more documentation to the above cookbook which would let you start a new instance inside of a VirtualBox VM. The cookbook is the simplest way besides the live CD IMO.

@erran-r7
Copy link

@muatif16 Here are the two solutions I can think of:

  • Reinitializing your database, replace http://0.0.0.0 with whatever address/port you're using. Make sure you use /setup.php or /dvwa/setup.php in respect to where you installed DVWA.
curl --data 'create_db=Create+%2F+Reset+Database' http://0.0.0.0/dvwa/setup.php# --cookie PHPSESSID=1 
  • Straight from the DVWA cookbook's README:

To run in a Vagrant Environment, install VirtualBox here and then
install Vagrant here.
Run the following commands to get started with this cookbook:

git clone https://github.com/rapid7-cookbooks/dvwa
cd dvwa
bundle install
vagrant plugin install bindler
vagrant bindler setup # Only needed once
vagrant plugin bundle
vagrant up xampp # or you can run standalone to install without XAMPP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants