-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
58 lines (42 loc) · 1.71 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
./babushkafs.pl: Pluggable filesystem containers
Copyright (C) Vlatko Kosturjak, Kost. Distributed under GPL
WARNING!
This is Proof of Concept (PoC) implementation. Do not store important data.
FEATURES
========
Mount encrypted filesystem container using FUSE.
Currently supported containers:
- fsFile (store filesystem in file)
- fsNessusPolicies (store filesystem inside Nessus Policy)
- fsNessusReports (store filesystem inside Nessus Report)
REQUIREMENTS
============
Following CPAN modules are required:
Crypt::GCrypt
MIME::Base64
Fuse::Simple
Fuse
For file plugin:
File::Slurp
For nessus plugins:
XML::Simple
Net::Nessus::XMLRPC
USAGE
=====
Usage: ./babushkafs.pl [-n] <-s store> <-S name=value,name2=value2> <-E key=secret,iv=myiv> <mount-path>
-n create new filesystem
-s <s> use <s> plugin for storage
-S <s> set following options for storage plugin
-E <s> set following options for encryption plugin
-v verbose
-h this help message
EXAMPLES
========
Create the filesystem first with -n:
./babushkafs.pl -n -s file -S "filename=/tmp/myfs" -E "key=my secret key,iv=my init vector" /tmp
When filesystem is created, mount without -n :
./babushkafs.pl -s file -S "filename=/tmp/myfs" -E "key=my secret key,iv=my init vector" /tmp
Same rule apply, for other filesystems (in short, be careful with -n), here's
just few examples for other containers:
./babushkafs.pl -s nessus-policies -S "url=https://localhost:8834/,user=joe,password=mypassword,policyid=1" -E "key=my secret key,iv=my init vector" /tmp
./babushkafs.pl -s nessus-reports -S "url=https://localhost:8834/,user=joe,password=mypassword,reportid=2b212e10-0ef6-d777-3488-3ff52d6ec3bf4627e48e28786911" -E "key=my secret key,iv=my init vector" /tmp