xanthus 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/xanthus +0 -0
- data/lib/xanthus/job.rb +3 -3
- data/lib/xanthus/version.rb +1 -1
- data/lib/xanthus/virtual_machine.rb +2 -1
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e7aa10a2e6a9087d8a41216de0002855833168b87b3597a4c65aadcba770ebcc
|
|
4
|
+
data.tar.gz: 6a38774240d4c3634de9fb9146e65a890867a748a7e88e90e86c50fb3a898dd0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 81c35a68c080c5375612a4a8f88478ee14fa7c8bf9fa0d0357d5cf38201f40d86c40739517cf8eb7bf6cbf2fcfcb454238db17e3e049f9b717120693e5ad03ce
|
|
7
|
+
data.tar.gz: 0de1c69ccd12ed193f32de812683c494ccb648ca1c099f333eda0b6fccf1eb69447da5469799789a31d0ace76586b5d2c8a23e38517f4cf7e2636f788c15fbf7
|
data/bin/xanthus
CHANGED
|
File without changes
|
data/lib/xanthus/job.rb
CHANGED
|
@@ -20,9 +20,9 @@ module Xanthus
|
|
|
20
20
|
end
|
|
21
21
|
|
|
22
22
|
def output_script machine, outputs
|
|
23
|
-
script =
|
|
23
|
+
script = ''
|
|
24
24
|
outputs.each do |name, path|
|
|
25
|
-
script += "
|
|
25
|
+
script += "cp -f #{path} /vagrant/output/#{name}.data\n"
|
|
26
26
|
end
|
|
27
27
|
return script
|
|
28
28
|
end
|
|
@@ -42,11 +42,11 @@ module Xanthus
|
|
|
42
42
|
f.write(config.vms[machine].to_vagrant)
|
|
43
43
|
end
|
|
44
44
|
script = Script.new(scripts, config).to_s
|
|
45
|
+
script += self.output_script(machine, @outputs[machine]) unless @outputs[machine].nil?
|
|
45
46
|
File.open('provision.sh', 'w+') do |f|
|
|
46
47
|
f.write(script)
|
|
47
48
|
end
|
|
48
49
|
script = 'echo "nothing to do"'
|
|
49
|
-
script = self.output_script(machine, @outputs[machine]) unless @outputs[machine].nil?
|
|
50
50
|
File.open('before_halt.sh', 'w+') do |f|
|
|
51
51
|
f.write(script)
|
|
52
52
|
end
|
data/lib/xanthus/version.rb
CHANGED
|
@@ -40,10 +40,11 @@ Vagrant.configure(2) do |config|
|
|
|
40
40
|
config.vm.box = "#{@box}"
|
|
41
41
|
config.vm.box_version = "#{@version}"
|
|
42
42
|
config.vm.network "private_network", ip: "#{@ip}"
|
|
43
|
+
config.vm.synced_folder ".", "/vagrant", create: true, owner: 'vagrant', disabled: false, type: 'virtualbox'
|
|
43
44
|
}
|
|
44
45
|
script += %Q{
|
|
45
46
|
if Vagrant.has_plugin?("vagrant-vbguest")
|
|
46
|
-
config.vbguest.auto_update = false
|
|
47
|
+
config.vbguest.auto_update = false
|
|
47
48
|
end
|
|
48
49
|
}
|
|
49
50
|
script += %Q{
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xanthus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thomas Pasquier
|
|
8
8
|
- Xueyuan "Michael" Han
|
|
9
|
-
autorequire:
|
|
9
|
+
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2021-06-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json
|
|
@@ -45,14 +45,14 @@ dependencies:
|
|
|
45
45
|
requirements:
|
|
46
46
|
- - "~>"
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: '
|
|
48
|
+
version: '13'
|
|
49
49
|
type: :development
|
|
50
50
|
prerelease: false
|
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
52
|
requirements:
|
|
53
53
|
- - "~>"
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: '
|
|
55
|
+
version: '13'
|
|
56
56
|
description: Automated intrusion detection dataset generation framework.
|
|
57
57
|
email:
|
|
58
58
|
- thomas.pasquier@bristol.ac.uk
|
|
@@ -79,7 +79,7 @@ homepage: http://camflow.org
|
|
|
79
79
|
licenses:
|
|
80
80
|
- MIT
|
|
81
81
|
metadata: {}
|
|
82
|
-
post_install_message:
|
|
82
|
+
post_install_message:
|
|
83
83
|
rdoc_options: []
|
|
84
84
|
require_paths:
|
|
85
85
|
- lib
|
|
@@ -94,8 +94,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
95
|
version: '0'
|
|
96
96
|
requirements: []
|
|
97
|
-
rubygems_version: 3.
|
|
98
|
-
signing_key:
|
|
97
|
+
rubygems_version: 3.2.15
|
|
98
|
+
signing_key:
|
|
99
99
|
specification_version: 4
|
|
100
100
|
summary: Automated intrusion detection dataset generation framework.
|
|
101
101
|
test_files: []
|