Hi Well I work too much with CaptureHPC, and i need to create some script for automate all the process, this include when CaptureHPC finish, send me and email to my account (gmail, hotmail, my company, etc), with and attach of a summary of all the content of log directory ...
Well the most importants things that you need to know are: HoneyClient.conf This is the configuration file, you need configure it first.... beta3.sh This is the main script, manage start, stop, backup, pack, call Email.pl, and use kill.sh for stop CaptureHPC kill.sh This script is our detective, becouse search some patterns to stop capture... hpc-log-parser-english.sh This script (maybe you know it), creates a summary of the log directory created by CaptureHPC Email.pl This Scrips its (like your name say) the script that create and send the email, you need to configure it... Note: In my computer that have CaptureHPC (server and client) I have installed Posfix to use this script becouse its need some daemon to send emails. Requires module MIME::Lite; how it works? ./beta3.sh /MaliciousUrls/file.txt o ./beta3.sh file.txt Please try it, If you have some problems, please let me know and I will fix it, or If you have some problems... I hope are be usefull for you :D Note: I recommend put all files on CaptureHPC_Home ... All of work that this scripts are doing are write in the terminal... I think all my code is very legible, and if you want you can change for your convenience ... Remeber I create this scripts with very lower computers (I mean Pentium 3 with 512 MB of RAM)
AutomatorForCaptureHPC.tar
Description: Unix tar archive
_______________________________________________ Capture-HPC mailing list Capture-HPC@public.honeynet.org https://public.honeynet.org/mailman/listinfo/capture-hpc