Difference between revisions of "OWASP JBroFuzz Install Guide"

From OWASP
Jump to: navigation, search
m
m
Line 31: Line 31:
 
uncompress jdk-6u17-solaris-i586.tar.Z | tar xvf -
 
uncompress jdk-6u17-solaris-i586.tar.Z | tar xvf -
 
</pre>
 
</pre>
 +
 +
You can also use zcat instead of uncompress. From the [[http://java.sun.com/javase/6/webnotes/install/jdk/install-solaris.html| Solaris Java 1.6 Installation Notes]], come the following steps:
 +
 +
The above command creates several directories (SUNWj6rt, SUNWj6dev, SUNWj6cfg, SUNWj6man, SUNWj6dmo, and SUNWj6jmp) plus a few files in the current directory.
 +
 +
Become root by running su and entering the super-user password.
 +
 +
<pre>
 +
su
 +
</pre>
 +
 +
Uninstall any earlier installation of JDK packages.
 +
 +
If your machine has an earlier installation of this version of the JDK in the default location (/usr/jdk/jdk1.6.0), you must remove it before installing this version at the same location.
 +
 +
You can skip this step if you intend to install the JDK in a non-default location. For more details, see Selecting the Default Java Platform.
 +
 +
As an example, to uninstall the Solaris packages for this version of the JDK, remove them by running:
 +
 +
On all processors, if you wanted to remove java 1.6:
 +
 +
<pre>
 +
pkgrm SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo
 +
</pre>
 +
 +
Run the pkgadd command to install the packages. On all processors:
 +
 +
<pre>
 +
pkgadd -d . SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo
 +
</pre>
 +
 +
This command installs the JDK into /usr/jdk/jdk1.6.0.
 +
 +
==Obtain the latest version of JBroFuzz==
 +
 +
You will need the latest version of JBroFuzz. In this case, we will use JBroFuzz 1.8; you can obtain it from sourceforge:
 +
 +
* JBroFuzz 1.8 (jbrofuzz-jar-18.zip) {3.6 MB}
 +
 +
Unzipping the contents, yields:
 +
 +
<pre>
 +
unzip jbrofuzz-jar-18.zip
 +
</pre>
 +
 +
The important file is the JBroFuzz.jar file. There will also be a subversion examples directory, plus a JBroFuzz.sh.
 +
 +
==Running JBroFuzz==
 +
 +
At the command prompt:
 +
 +
<pre>
 +
java -jar JBroFuzz.jar
 +
</pre>
 +
 +
Or, with more memory:
 +
 +
<pre>
 +
java -Xmx256m -jar JBroFuzz.jar
 +
</pre>
 +
 +
A screenshot of JBroFuzz, running in Solaris 10 is depicted below:
 +
 +
 +
 +
==Note for Solaris 8 & 9==
 +
 +
The version of java 1.6 detailed above, does not automatically become the default Java platform on Solaris 9 or earlier (unless there was no default), but does become the default on Solaris 10. If you want 6.0 to be the default on Solaris 8 or 9, then dig out and follow Sun's instructions at Default Installations of Java Platform.
 +
 +
See the pkgadd(1) and admin(4) man pages for information on installing the JDK in a non-default location.

Revision as of 11:13, 5 January 2010

Contents

Introduction

This section serves as the installation guide for JBroFuzz on different operating systems.

Installing JBroFuzz in Solaris 10

By default, Solaris 10, ships with java 1.5. Earlier flavours are also present, with packages like SUNWj3dmo SUNWj3man SUNWj3dev SUNWj3rt in existence. In order to run JBroFuzz, you will need to install a 1.6 java.

Prerequisites

A Java Development Kit (JDK) or a Java Runtime Environment (JRE) version 1.6 or later installed

You can obtain the latest version from:

http://java.sun.com/

Under Downloads -> Java SE (Standard Edition)

In this particular case, the Java SE Development Kit 6u17 for Solaris x86. You can choose to skip the registration popup window that appears and proceed to download either of the two:

  • Java SE Development Kit 6u17 (jdk-6u17-solaris-i586.tar.Z) {130.51 MB}
  • Java SE Development Kit 6u17 (jdk-6u17-solaris-i586.sh) {76.90 MB}

Naturally, these files will be obsolete in due course, but they were the latest files available from Sun at the time of writting this brief guide.

Java 1.6 Install

For the Java SE Development Kit 6u17 (jdk-6u17-solaris-i586.tar.Z) downloaded above, we need to uncompress and untar the file. At the prompt enter:

uncompress jdk-6u17-solaris-i586.tar.Z | tar xvf -

You can also use zcat instead of uncompress. From the [Solaris Java 1.6 Installation Notes], come the following steps:

The above command creates several directories (SUNWj6rt, SUNWj6dev, SUNWj6cfg, SUNWj6man, SUNWj6dmo, and SUNWj6jmp) plus a few files in the current directory.

Become root by running su and entering the super-user password.

su

Uninstall any earlier installation of JDK packages.

If your machine has an earlier installation of this version of the JDK in the default location (/usr/jdk/jdk1.6.0), you must remove it before installing this version at the same location.

You can skip this step if you intend to install the JDK in a non-default location. For more details, see Selecting the Default Java Platform.

As an example, to uninstall the Solaris packages for this version of the JDK, remove them by running:

On all processors, if you wanted to remove java 1.6:

pkgrm SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo

Run the pkgadd command to install the packages. On all processors:

pkgadd -d . SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo

This command installs the JDK into /usr/jdk/jdk1.6.0.

Obtain the latest version of JBroFuzz

You will need the latest version of JBroFuzz. In this case, we will use JBroFuzz 1.8; you can obtain it from sourceforge:

  • JBroFuzz 1.8 (jbrofuzz-jar-18.zip) {3.6 MB}

Unzipping the contents, yields:

unzip jbrofuzz-jar-18.zip

The important file is the JBroFuzz.jar file. There will also be a subversion examples directory, plus a JBroFuzz.sh.

Running JBroFuzz

At the command prompt:

java -jar JBroFuzz.jar

Or, with more memory:

java -Xmx256m -jar JBroFuzz.jar

A screenshot of JBroFuzz, running in Solaris 10 is depicted below:


Note for Solaris 8 & 9

The version of java 1.6 detailed above, does not automatically become the default Java platform on Solaris 9 or earlier (unless there was no default), but does become the default on Solaris 10. If you want 6.0 to be the default on Solaris 8 or 9, then dig out and follow Sun's instructions at Default Installations of Java Platform.

See the pkgadd(1) and admin(4) man pages for information on installing the JDK in a non-default location.