<<

NAME

CTF::FlagClient - SSL'd Client for communicating with CTF::FlagServer

SYNOPSIS

    use CTF;
    CTF->load_from_io($config);

    my $client = CTF::FlagClient->new();
    $client->connect('localhost');
    my $httpflag = $client->get_flag($service);
    $client->set_flag($service, $newflagdata);

ABSTRACT

Communicates with CTF::FlagServer to exchange flag data for various services.

Flag data can be an arbitrary string. $service is the name of a service recognized by the FlagServer.

DESCRIPTION

The FlagClient communicates with a CTF::FlagServer, to exchange the content of the flag for services. FlagClients may get and set flags identified by a service name.

The FlagClient also performs SSL validation. The FlagClient and FlagServer must both be configured to use the same CA certificate.

Methods

SEE ALSO

http://crew.ccs.neu.edu/wiki/CaptureTheFlag

AUTHOR

Marc Dougherty <[email protected]>

Ian Langworth <http://langworth.com>

COPYRIGHT AND LICENSE

Copyright 2004 by Marc Dougherty

This software is released under the terms of the GPL. A copy of the GPL can be obtained here: http://www.fsf.org/licenses/gpl.html

<<

Unless otherwise noted, all content is copyright Marc Dougherty and is subject to a Creative Commons license.