![]() |
Ruby + clamAV
Hi,
I am newbie to both programming and Ruby. But I need to complete this task - analyzing malware using ClamAV gem with Ruby. I do not understand how to analyze a file, say "abc.exe" based on the documentation here; http://rubydoc.info/gems/clamav/0.4.1/frames Let's say I have a code snippet like this: Code:
require 'rubygems'ClamAV#scanfile(filename[, options]) How should I put the function? Is it something like; Code:
ClamAV#scanfile('/home/test/abc.exe',CL_SCAN_RAW) |
| All times are GMT +1. The time now is 10:44 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.