header image
Home arrow Yaptest
YaptestFE Overview
Front End
Aug 10, 2008 at 04:04 PM

Overview

YaptestFE is a Web Frontend for Yaptest.  As of version 0.9 it allows viewing of much of the information in the database used by Yaptest. 

The Frontend is designed to complement the command line interface.  Sometimes it's more convenient to browse the database using this web interface.  Other times it's more appropriate the use the command line utilities to grep and cut the data required.

The Frontend is optional: it is not required in order to use Yaptest.

yaptestfe2

 

Last Updated ( Nov 26, 2008 at 09:53 PM )
Read more...
The Yaptest run_test API
Using
Apr 05, 2008 at 08:24 PM

This page documents how to use the run_test API from your own home-brew yaptest scripts.

 

Last Updated ( Nov 01, 2008 at 11:55 AM )
Read more...
Associating Hosts with Security Issues in Yaptest
Using
Apr 01, 2008 at 05:48 PM

Version 0.0.9 of yaptest introduced yaptest-issues.pl.  This script is responsible for storing associations between hosts and security issues that you (or yaptest) have identified (e.g. 10.0.0.1 has the "telnet -fuser" vulnerability).

This page illustrates how to use yaptest-issues.pl. 

Last Updated ( Nov 01, 2008 at 11:54 AM )
Read more...
Getting Yaptest to work with Sudo
Using
Mar 31, 2008 at 09:41 PM

When you first install yaptest and try to use sudo you might get the following error:

$ sudo yaptest-nmap-udp.pl
ERROR: Environment variable YAPTEST_DBNAME is not set
 at /usr/local/lib/site_perl/yaptest.pm line 126
        yaptest::new('yaptest') called at /usr/local/bin/yaptest-hosts.pl line 8
        (in cleanup) Can't call method "disconnect" on an undefined value at /usr/local/lib/site_perl/yaptest.pm line 3247.

This is because sudo has (very sensibly) unset the environment variable YAPTEST_CONFIG_FILE which in turn prevents YAPTEST_DBNAME getting set.  The yaptest scripts no longer know which test they're supposed to be working on.

The solution is simple.  Add an entry like the following into /etc/sudoers: 

# Allow users in group users to export specific variables
Defaults:youruser      env_keep="DISPLAY YAPTEST_CONFIG_FILE"

This prevents sudo from unsetting the YAPTEST_CONFIG_FILE (and also DISPLAY because that can be a pain too).

 

Last Updated ( Nov 01, 2008 at 11:56 AM )
Storing Misc Host Information With Yaptest
Using
Mar 30, 2008 at 09:18 PM
As of version 0.0.7 yaptest is able to store arbitrary information about hosts.  This is particularly useful on large tests.  This page provides a few examples of how to use the yaptest-host-info.pl script.
Last Updated ( Nov 01, 2008 at 11:56 AM )
Read more...