#25 Target web-apps missing in /etc/hosts

WTF v2.0
closed
Raul Siles
None
5
2013-09-13
2012-09-08
Raul Siles
No

After installing SamuraiWTF to hard disk the target web-apps hostnames are missing in /etc/hosts.

Solution:
$ sudo cp /etc/hosts.samurai /etc/hosts

Discussion

  • Raul Siles
    Raul Siles
    2012-09-08

    This will be fixed in 2.1.

     
  • Raul Siles
    Raul Siles
    2012-09-08

    Additionally, it is required to add the current hostname as a valid hostname for 127.0.1.1 (currently contains samurai-wtf references) in /etc/hosts, so that the execution of sudo does not complaint.

     
  • Jason Gillam
    Jason Gillam
    2012-10-06

    Yeah - finding WebGoat posed a bit of a challenge. I was eventually able to bring it up in my browser after tracking down the IP address in the tomcat config file. I had assumed (wrongly) that "localhost" would work. I would also recommend adding bookmarks for each of the targets to all the installed browsers. I haven't checked them all yet but Firefox doesn't have them (except under "Most Visited").

     
  • Justin Searle
    Justin Searle
    2013-09-13

    • status: pending --> closed
     
  • Justin Searle
    Justin Searle
    2013-09-13

    Fixed in 2.1