https://github.com/kost/rapid7-nexpose-api-perl
CPAN module - Rapid7::NeXpose::API - perl library for communication with NeXpose via API
https://github.com/kost/rapid7-nexpose-api-perl
Last synced: about 2 months ago
JSON representation
CPAN module - Rapid7::NeXpose::API - perl library for communication with NeXpose via API
- Host: GitHub
- URL: https://github.com/kost/rapid7-nexpose-api-perl
- Owner: kost
- Created: 2010-12-22T09:44:27.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2016-08-28T06:37:20.000Z (over 8 years ago)
- Last Synced: 2025-01-31T06:39:42.819Z (4 months ago)
- Language: Perl
- Homepage: http://search.cpan.org/perldoc?Rapid7::NeXpose::API
- Size: 9.77 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
Rapid7-NeXpose-API
This is Perl interface for communication with NeXpose scanner over API v1.1.
You can start, stop, pause and resume scan. Watch progress and status of
scan, download report, etc.Currently you can only start scan, list sites and delete site.
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make installEXAMPLE
use Rapid7::NeXpose::API;
my $n = Rapid7::NeXpose::API->new(
url=>'https://localhost:3780',password=>'test');
my $sl = $n->sitelist();
print "Starting scan for first site found: ";
printf "%s with ID: %s\n", $sl->[0]->{'name'}, $sl->[0]->{'id'};
$n->sitescan($sl->[0]->{'id'});NOTICE
This CPAN module uses LWP for communicating with NeXpose over its API via https.
Therefore, make sure that you have Net::SSL (provided by Crypt::SSLeay):
http://search.cpan.org/perldoc?Crypt::SSLeay
or IO::Socket::SSL:
http://search.cpan.org/perldoc?IO::Socket::SSLSUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.perldoc Rapid7::NeXpose::API
You can also look for information at:
RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Rapid7-NeXpose-APIAnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/Rapid7-NeXpose-APICPAN Ratings
http://cpanratings.perl.org/d/Rapid7-NeXpose-APISearch CPAN
http://search.cpan.org/dist/Rapid7-NeXpose-API/LICENSE AND COPYRIGHT
Copyright (C) 2010 Vlatko Kosturjak
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.See http://dev.perl.org/licenses/ for more information.