TracNav menu
-
Definitions
-
Terms
- honeyclient
- internal network
- firewall
- host
- dmz network
- remote resource
-
Components
- HoneyClient::Agent
- HoneyClient::Manager
- HoneyClient::Util
-
FAQ
- General
- Licensing
- Troubleshooting
- Related Work
-
User Guide
- Setup Host
- Setup Firewall VM
- Setup Honeyclient VM
- Setup Drone
- Startup
- Notes
- Troubleshooting
-
Developer Guide
- Repository Layout
- Code Stability Status
- Anonymous Checkout
- Authenticated Checkout
- Committing Code
- Packaging
-
Methodologies
- Lockdown VM Guide
- Registry Parsing
- Scanning Active Content
- Scoring HTML Links
How To Create a CPAN Installation Bundle
Install Module::Starter and prerequisites
module-starter —module=Bundle::HoneyClient::Agent —author="MITRE Honeyclient Project" —email=honeyclient@mitre.org
mv Bundle-HoneyClient-Agent/ Bundle-HoneyClient-Agent-1.0.1/
cd Bundle-HoneyClient-Agent-1.0.1/
nano lib/Bundle/HoneyClient/Agent.pm
The only information you need is:
package Bundle::HoneyClient::Agent; use warnings; use strict; =head1 NAME Bundle::HoneyClient::Agent - The great new Bundle::HoneyClient::Agent! =head1 VERSION Version 1.0.1 =cut our $VERSION = '1.0.1'; 1; =head1 CONTENTS ExtUtils::CBuilder ExtUtils::MakeMaker ExtUtils::ParseXS Other::Perl::Modules ...
tar czvf Bundle-HoneyClient-Agent-1.0.1.tar.gz Bundle-HoneyClient-Agent-1.0.1/
place Bundle-HoneyClient-Agent-1.0.1.tar.gz in either (.cpan OR honeyclient/cpan)/sources/authors/id/M/MI/MITREHC
To update the CPAN CHECKSUMS file
install CPAN::Checksums
create the following code (if it's not already in honeyclient/bin/UpdateBundleChecksum.pl)
#!/usr/bin/perl use CPAN::Checksums qw(updatedir); my $success = updatedir($ARGV[0]);
Then (assuming you're using the local cpan copy) call it as
./UpdateBundleChecksum.pl /home/user/honeyclient/cpan/sources/authors/id/M/MI/MITREHC
