$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'pgaulon/minicps' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: 0.0.2
==> default: Loading metadata for box 'pgaulon/minicps'
default: URL: https://vagrantcloud.com/pgaulon/minicps
==> default: Adding box 'pgaulon/minicps' (v0.0.2) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/pgaulon/boxes/minicps/versions/0.0.2/providers/virtualbox.box
==> default: Successfully added box 'pgaulon/minicps' (v0.0.2) for 'virtualbox'!
==> default: Importing base box 'pgaulon/minicps'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'pgaulon/minicps' is up to date...
==> default: Setting the name of the VM: packer_templates_default_1540136623068_68912
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
$ vagrant ssh
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-29-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
Add Vagrantfile with virtualbox VM.
Prerequisites:
Usage
vagrant@minicps:~$ ls minicps vagrant@minicps:~$ cd minicps/ vagrant@minicps:~/minicps$ sudo python examples/swat-s1/run.py Ping: testing ping reachability attacker -> plc1 plc2 plc3 plc1 -> attacker plc2 plc3 plc2 -> attacker plc1 plc3 plc3 -> attacker plc1 plc2 Results: 0% dropped (12/12 received) mininet> exit vagrant@minicps:~/minicps$ exit $