reporting now displays IP

This commit is contained in:
Lewis Ardern
2014-03-29 22:02:14 +00:00
parent a2a74bd2fc
commit 40aa0e12b5
3 changed files with 6 additions and 2 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -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%>

View File

@@ -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