Yaptest Configuration Wizard

Some users commented that the creation of new tests (i.e. databases and “test area”) was unnecessarily difficult.  Version 0.0.5 of yaptest now includes a interactive Wizard, yaptest-wizard.pl that takes users step by step through setting up a new test.  The old method using yaptest-new.pl and yaptest-new-test-area.pl is still supported.

Thanks to all those who have tested yaptest and given feedback.

THIS PAGE HAS BEEN OBSELETED BY THE USER GUIDE

The Wizard basically lets you create a new database, lists the test areas you’ve created and lets you create new test areas:

$ yaptest-wizard.pl

**************************************************************************
*                       Starting yaptest-wizard.pl                       *
*  [ Using yaptest v0.0.5 - http://pentestmonkey.net/projects/yaptest ]  *
**************************************************************************

    THIS WIZARD CURRENLTY ONLY DEALS WITH THE CREATION OF NEW DATABASES
                               AND TEST AREAS

=========================================================================
Database Configuration

You are currenlty not configured to use a database.

Options:
  1: Create a new database
  q: Quit

NB: If you previously created a database and want to use it,
    quit, change to the corresponding directory,
    'source env.sh', then re-run this wizard.

Enter option (1, q): 1
-------------------------------------------------------------------------
=========================================================================
Create New Database

Enter a name for the new database.  A subdirectory of the same name will
be created at the same time.

Current Directory: /home/user
Enter name for new yaptest database (or CTRL-C to quit): abc_co
-------------------------------------------------------------------------
Database name: abc_co
Creating directory 'abc_co'...done
Creating database 'abc_co'
Config file: /home/user/abc_co/yaptest.conf
Writing to config file /home/user/abc_co/yaptest.conf
Creating file env.sh
Restarting wizard with new configuration

**************************************************************************
*                       Starting yaptest-wizard.pl                       *
*  [ Using yaptest v0.0.5 - http://pentestmonkey.net/projects/yaptest ]  *
**************************************************************************

    THIS WIZARD CURRENLTY ONLY DEALS WITH THE CREATION OF NEW DATABASES
                               AND TEST AREAS

=========================================================================
Database Configuration

You are currently configured to use:
  Database:    abc_co
  Test Dir:    /home/user/abc_co

The following test areas exist in this database:
  <none>

Options:
  1: Create a new test area in above database
  2: Create a new database
  q: Quit

NB: If you previously created different database and want
    to use it, quit, change to the corresponding directory,
    'source env.sh', then re-run this wizard.

Enter option (1, 2, q): 1
-------------------------------------------------------------------------
=========================================================================
Create New Test Area

To create a new test area (internal, vlan100, network123, etc.) enter the
test area name below.  A directory of the name name will be created at
same time.

Current Directory: /home/user/abc_co
Enter name for new test area (or CTRL-C to quit): vlan123
-------------------------------------------------------------------------
Database name: vlan123
Creating directory 'vlan123'...done
Creating test area 'vlan123'
Writing to config file yaptest.conf
Creating file env.sh
-------------------------------------------------------------------------
=========================================================================
Database Configuration

You are currently configured to use:
  Database:    abc_co
  Test Dir:    /home/user/abc_co

The following test areas exist in this database:
  vlan123

Options:
  1: Create a new test area in above database
  2: Create a new database
  q: Quit

NB: If you previously created different database and want
    to use it, quit, change to the corresponding directory,
    'source env.sh', then re-run this wizard.

Enter option (1, 2, q): 1
-------------------------------------------------------------------------
=========================================================================
Create New Test Area

To create a new test area (internal, vlan100, network123, etc.) enter the
test area name below.  A directory of the name name will be created at
same time.

Current Directory: /home/user/abc_co/vlan123
Enter name for new test area (or CTRL-C to quit): external
-------------------------------------------------------------------------
Database name: external
Creating directory 'external'...done
Creating test area 'external'
Writing to config file yaptest.conf
Creating file env.sh
-------------------------------------------------------------------------
=========================================================================
Database Configuration

You are currently configured to use:
  Database:    abc_co
  Test Dir:    /home/user/abc_co

The following test areas exist in this database:
  external
  vlan123

Options:
  1: Create a new test area in above database
  2: Create a new database
  q: Quit

NB: If you previously created different database and want
    to use it, quit, change to the corresponding directory,
    'source env.sh', then re-run this wizard.

Enter option (1, 2, q): q
-------------------------------------------------------------------------
IMPORTANT: To use your newly created test areas you must first:
           $ cd mydb/mytestarea
           $ source env.sh

Tags:

Posted in Using