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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1e934c54b27464d154b647f06871839495ab2428cf02b67d8f4bd0576ea1d14
4
- data.tar.gz: 7a2b8393da895f4245549ea4efcae28da51909eaba66063996ec4c2ceff0bc4f
3
+ metadata.gz: e7aa10a2e6a9087d8a41216de0002855833168b87b3597a4c65aadcba770ebcc
4
+ data.tar.gz: 6a38774240d4c3634de9fb9146e65a890867a748a7e88e90e86c50fb3a898dd0
5
5
  SHA512:
6
- metadata.gz: 450d6bdbed6611b7a05414efe5224db488106c00e1ea3c750b3ce8f33e782ad7ae7ca095454b16b3813237418e97aa0193737f8bef1129288e066b8d3dbe4d77
7
- data.tar.gz: d4f4182433af9d21818aeddfefd0116fd383d3945902811c9627e5e923cfa2fde322ddf7bf30af4e9a4105902e35987dce5a0402f15a6a6578c8ab02b79d4ab2
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 = "vagrant plugin install vagrant-scp\n"
23
+ script = ''
24
24
  outputs.each do |name, path|
25
- script += "vagrant scp :#{path} output/#{name}.data\n"
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
@@ -1,5 +1,5 @@
1
1
  module Xanthus
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
 
4
4
  def self.version
5
5
  puts VERSION
@@ -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.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: 2020-06-04 00:00:00.000000000 Z
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: '10.0'
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: '10.0'
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.0.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: []