xanthus 0.2.1 → 0.2.2
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/README.md +48 -0
- data/lib/xanthus/version.rb +1 -1
- data/lib/xanthus/virtual_machine.rb +5 -0
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d1e934c54b27464d154b647f06871839495ab2428cf02b67d8f4bd0576ea1d14
|
|
4
|
+
data.tar.gz: 7a2b8393da895f4245549ea4efcae28da51909eaba66063996ec4c2ceff0bc4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 450d6bdbed6611b7a05414efe5224db488106c00e1ea3c750b3ce8f33e782ad7ae7ca095454b16b3813237418e97aa0193737f8bef1129288e066b8d3dbe4d77
|
|
7
|
+
data.tar.gz: d4f4182433af9d21818aeddfefd0116fd383d3945902811c9627e5e923cfa2fde322ddf7bf30af4e9a4105902e35987dce5a0402f15a6a6578c8ab02b79d4ab2
|
data/README.md
CHANGED
|
@@ -237,3 +237,51 @@ We welcome bug reports and pull requests on GitHub at https://github.com/[USERNA
|
|
|
237
237
|
### License
|
|
238
238
|
|
|
239
239
|
This gem is available as an open source project under the [MIT License](https://opensource.org/licenses/MIT).
|
|
240
|
+
|
|
241
|
+
### Issues and Solutions with VirtualBox
|
|
242
|
+
VirtualBox Guest Additions is not as well designed as we may hope. If you encountered the following error:
|
|
243
|
+
```
|
|
244
|
+
Vagrant was unable to mount VirtualBox shared folders. This is usually
|
|
245
|
+
because the filesystem "vboxsf" is not available. This filesystem is
|
|
246
|
+
made available via the VirtualBox Guest Additions and kernel module.
|
|
247
|
+
Please verify that these guest additions are properly installed in the
|
|
248
|
+
guest. This is not a bug in Vagrant and is usually caused by a faulty
|
|
249
|
+
Vagrant box. For context, the command attempted was:
|
|
250
|
+
|
|
251
|
+
mount -t vboxsf -o uid=900,gid=900 vagrant /vagrant
|
|
252
|
+
|
|
253
|
+
The error output from the command was:
|
|
254
|
+
|
|
255
|
+
/sbin/mount.vboxsf: mounting failed with the error: No such device
|
|
256
|
+
```
|
|
257
|
+
It is most likely the fault of incompatible GA between the VM and the host. Even though the script might have stop, the VM is still booted. You can `vagrant ssh` into the VM and manually input the following two commands:
|
|
258
|
+
```
|
|
259
|
+
sudo apt-get -y install dkms build-essential linux-headers-$(uname -r) virtualbox-guest-additions-iso
|
|
260
|
+
sudo /opt/VBoxGuestAdditions*/init/vboxadd setup
|
|
261
|
+
```
|
|
262
|
+
After this, you may encounter this error:
|
|
263
|
+
```
|
|
264
|
+
...
|
|
265
|
+
==> default: Machine booted and ready!
|
|
266
|
+
[default] GuestAdditions seems to be installed (6.0.20) correctly, but not running.
|
|
267
|
+
bash: line 4: setup: command not found
|
|
268
|
+
==> default: Checking for guest additions in VM...
|
|
269
|
+
The following SSH command responded with a non-zero exit status.
|
|
270
|
+
Vagrant assumes that this means the command failed!
|
|
271
|
+
|
|
272
|
+
setup
|
|
273
|
+
|
|
274
|
+
Stdout from the command:
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
Stderr from the command:
|
|
279
|
+
|
|
280
|
+
bash: line 4: setup: command not found
|
|
281
|
+
```
|
|
282
|
+
Please add the following into the Vagrant script:
|
|
283
|
+
```
|
|
284
|
+
if Vagrant.has_plugin?("vagrant-vbguest")
|
|
285
|
+
config.vbguest.auto_update = false
|
|
286
|
+
end
|
|
287
|
+
```
|
data/lib/xanthus/version.rb
CHANGED
|
@@ -41,6 +41,11 @@ Vagrant.configure(2) do |config|
|
|
|
41
41
|
config.vm.box_version = "#{@version}"
|
|
42
42
|
config.vm.network "private_network", ip: "#{@ip}"
|
|
43
43
|
}
|
|
44
|
+
script += %Q{
|
|
45
|
+
if Vagrant.has_plugin?("vagrant-vbguest")
|
|
46
|
+
config.vbguest.auto_update = false
|
|
47
|
+
end
|
|
48
|
+
}
|
|
44
49
|
script += %Q{
|
|
45
50
|
config.vm.synced_folder ".", "/vagrant", disabled: false, type: 'rsync'
|
|
46
51
|
} unless !@on_aws
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Thomas Pasquier
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2020-04
|
|
12
|
+
date: 2020-06-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json
|
|
@@ -94,8 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
95
|
version: '0'
|
|
96
96
|
requirements: []
|
|
97
|
-
|
|
98
|
-
rubygems_version: 2.7.6.2
|
|
97
|
+
rubygems_version: 3.0.3
|
|
99
98
|
signing_key:
|
|
100
99
|
specification_version: 4
|
|
101
100
|
summary: Automated intrusion detection dataset generation framework.
|