diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 000000000..a9fb1230f Binary files /dev/null and b/.DS_Store differ diff --git a/lib/templates/report.erb b/lib/templates/report.erb index 8acd11924..cf44561d4 100644 --- a/lib/templates/report.erb +++ b/lib/templates/report.erb @@ -11,7 +11,11 @@ There were <%systems.count%> systems generated for this project. <% systems.each do |s| %> <%=s.id%> uses <%=s.basebox%> a distro of <%=s.os%> which can be downloaded from <%=s.url%> - + <% s.networks.each do |n| %> + <%grab_system_number = s.id.gsub(/[^0-9]/i, "") %> + <% n.range[9..9] = grab_system_number %> + ip address for <%=s.id%> = <%=n.range%>0 + <% end %> <% s.vulns.each do |v| %> Here is a summary of the vulnerability <%=v.type%>: Type: <%=v.type%> diff --git a/lib/templates/vagrantbase.erb b/lib/templates/vagrantbase.erb index 7fff1f1f8..2522c270f 100644 --- a/lib/templates/vagrantbase.erb +++ b/lib/templates/vagrantbase.erb @@ -53,7 +53,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| kali.vm.box_url = "http://ftp.sliim-projects.eu/boxes/kali-linux-1.0.4-amd64.box" kali.vm.network :public_network - kali.vm.network :private_network, ip: "172.16.0.30" + kali.vm.network :private_network, ip: "172.16.0.10" kali.vm.provider "virtualbox" do |v| v.gui = true