Add MD5/SHA1/SHA256 file analysis hashing actions.

This commit is contained in:
Jon Siwek 2013-02-21 21:05:01 -06:00
parent ceb471fb36
commit 85410a7657
11 changed files with 271 additions and 42 deletions

View file

@ -5,20 +5,21 @@
#include "Val.h"
#include "Info.h"
#include "Action.h"
namespace file_analysis {
/**
* An action to simply extract files to disk.
*/
class Extract : Action {
class Extract : public Action {
public:
static Action* Instantiate(const RecordVal* args, Info* info);
~Extract();
virtual ~Extract();
virtual void DeliverChunk(const u_char* data, uint64 len, uint64 offset);
virtual bool DeliverChunk(const u_char* data, uint64 len, uint64 offset);
protected: