Sunday, January 20, 2013

How to Run website in local network using xampp server

How to Run website in local network using xampp server : Dava & Mutillidae websites

Today  we will discus that how a website is running on server in the home network this post gives you idea that how a website is running on the web-server, Here I am using xampp server to run a php website in my home network in my previous post i told you that   How to setup wordpress Blog In Lan Network & in this post we will setup vulnerable websites in the network so that we can complete our Lab for web Pentesting   

Here I have a two website Dava & mutillidea & we will setup these websites in our Lan network 

Requirement : 


  •  Xampp server ( running Apache and MySQL) you can download it from here 

  • also how to install & unable Apache and MySQL is given on this Page .

  • Window xp or Window 7 
  • Dava  or download from here 
  • Mutillidea websites download from here
follow the steps as 

Step 1: As i give you the Requirements download and install the xampp server in your window 



Step 2 : Now extract dava or mutillidea websites in the Directory C:\xampp\htdocs
and unclick on Show extracted files . and finish it 




Step 3 : Go to the directory and see the folder name DAVA and mutillidea

Step 4 : Now start the Apache and MySQL server from xampp as we start these server we are enable to run the websites in the home network



Step 5 : To access these websites start just open the Browser and type http://localhost/DAVA (http://ip-address of host/DAVA) for DAVA website and for mutillidea website  http://localhost/mutillidea (http://ip-address of host/mutillidea)


Now we have vulnerable websites in our home network & now we need to run vulnerability scanner & perform the attacks to hack these websites these all we learn in our next posts we also study that necessary tools & much more to hack a web application .


Friends enjoy Hacking with Techtecno2u | Cyber Angel   



4 comments:

  1. i tried your code but when i was accessing the page it show error Access forbidden
    tell me the solution thanks for this effort

    ReplyDelete
    Replies
    1. :p sorry for so much late response. please locate your web pages in right directory in "C:\xampp\htdocs"

      Delete
  2. It can run from any computer connected to this LAN??? Is it possible to run the code on the server and access from the client system???

    ReplyDelete
    Replies
    1. yes if you are in the same network then you can study about attacks from any client machine

      Delete