aau-network-security / sec0x Goto Github PK
View Code? Open in Web Editor NEWThis repository contains some information and instructions on creating pre-configured VM box, in order to fire up Haaukins project in pre-configured VM
This repository contains some information and instructions on creating pre-configured VM box, in order to fire up Haaukins project in pre-configured VM
It is not ideal to have environment variables in system level, instead it is better to have a .env
file like in docker-compose cases.
It can be achieved through vagrant plugin
$ vagrant plugin install vagrant-env
then Vagrantfile can be updated with it such as
Vagrant.configure("2") do |config|
config.vm.box = "hkn-base"
config.vm.hostname = "sec0x"
config.env.enable
config.vm.network "public_network", bridge: bridged_if
config.vm.network "forwarded_port", guest: 8081, host: 8081 ## for secure connection
config.vm.network "forwarded_port", guest: 8080, host: 8080 ## for insecure connection
config.vm.network "forwarded_port", guest: 5454, host: 5454
config.vm.network "forwarded_port", guest: 8000, host: 8000
config.vm.network "forwarded_port", guest: 8003, host: 8003
config.vm.network "forwarded_port", guest: 5432, host: 5432
config.vm.network "forwarded_port", guest: 50095, host: 50095
config.vm.network "forwarded_port", guest: 27017, host: 27017
config.vm.network "forwarded_port", guest: 50051, host: 50051
config.vm.network "forwarded_port", guest: 9999, host: 9999
config.vm.synced_folder ENV['VMDKS'], "/scratch/virtualbox-vmdks"
config.vm.synced_folder ENV['GOPATH'], "/scratch/go"
config.vm.synced_folder ENV['HAAUKINSAPI'], "/scratch/personal/haaukins-api"
config.vm.synced_folder ENV['CONFIGS'], "/scratch/configs"
config.vm.synced_folder ENV['FRNTENDS'], "/scratch/ova"
config.vm.synced_folder ENV['DESKTOP'], "/scratch/Desktop"
config.ssh.forward_agent = true
config.disksize.size='50GB' ## this might not be required, in order to use this function install VBOX plugin
## vagrant plugin install vagrant-disksize
config.vm.provider :virtualbox do |vb|
# set name in virtualbox
vb.name = "sec0x"
vb.customize ["modifyvm", :id, "--memory", "4096"] ## might be customized according to your local computer resources
# enable promiscuous mode on the public network
#vb.customize ["modifyvm", :id, "--nicpromisc2", "allow-all"]
end
end
update go version to at least go1.17<=
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.