Sunday, November 4, 2012

Portable WAPT Hacme Travel Setup


In this post, the last of setting up the Hacme Applications, Hacme Travel will be setup. Again its assumed Hacme Travel is setup on same XP system that the other Hacme Applications are setup on.

First download Hacme Travel:


There are no other prerequisites, but the SQL authentication mode must be changed to mix mode. The following article details the steps to accomplish this:


Open the Registry using regedit and browse to HKLM\Software\Microsoft\MSSqlserver\MSSqlserver\LoginMode. If the value of the key is set to 1 SQL is using Windows authentication. Change the value to 2. Close regedit and restart the SQL server.

With SQL prepared, next extract Hacme Travel and double click the install file. Accept the defaults, including integration with Hacme Bank. For the database setup select trusted connection, and when asked enter in an Administrator account and password for user management.

After setup is complete start Hacme Travel by clicking on Start, All Programs, Foundstone Free Tools, Hacme Trave 1.0, Start Foundstone Hacme Travel Server.bat. Once started you must use the Hacme Travel Agent client to connect. The Hacme Travel Agent is a windows executable that could potentially be ran from a remote system.

With the last of the Hacme applications setup there a couple of “house cleaning” items to perform to make the lab a bit easier to use.  In the next post I will cover these items. 

Sunday, October 7, 2012

Portable WAPT Hacme Books Setup


In this post we will install Hacme Books on the same VM that all of the other Hacme Applications are installed on. Hacme Books is probably the second easiest of the Hacme series to install.

First download Hacme Books and the prerequeistes required for installation.


Once all software is downloaded, begin by installing the Java Development Kit (JDK). I am going to install a JDK that is a few versions behind, in this case Java 6 update 27 (which was randomly picked). Double click on the Java install executable. Accept the defaults and Java will install.

Next, extract Hacme Books and browse to the install file and double click. Accept the defaults and Hacme Books will be installed.

To test successful installation, click on Start, All Programs, Foundstone Free Tools, Hacme Books 2.0, Hacme Books Server START. In a web browser, browse to this URL:


If you see the Hacme Books 2.0 web site you have successfully installed Hacme Books.

Next, to ensure that Hacme Books always starts copy the Hacme Books Server START script from above and place in the startup folder. Browse to:

C:\Program Files\Foundstone Free Tools\Hacme Books 2.0\tomcat\bin\

Right click startup.bat and create a short cut. Move this short cut to:

C:\Documents and Settings\All Users\Start Menu\Programs\Startup

Reboot the system and the Hacme Books should start automatically now.

The last step is to make Hacme Books accessible over the network. Browse to:

C:\Program Files\Foundstone Free Tools\Hacme Books 2.0\tomcat\conf

Open server.xml with a text editor. Go to the line that says:

Connector port="8989" address="127.0.0.1" maxThreads="150" minSpareThreads="25"
               maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100"
               debug="0" connectionTimeout="20000"
               disableUploadTimeout="true"

Change the address to “0.0.0.0”. Restart Hacme Books via the start menu. From your Samurai WTF browse to:


Hacme Books is now accessible from the network and will start automatically. In the next post I will describe setting up Hacme Travel.

 
Site Meter