boudjOK... just downloaded and ran the script. In the Else statement of the script "Network Scan - FAST NMAP scan of Agent Subnet" I fail on step 3. When I edit the script I see that step 3 & 4 of the else statement are write files that it is looking for (step 3 days ERROR: msxsl.exe is no longer on the server; step 4 says "ERROR: nmap.xsl is no longer on the server"
Where should I get these files from?
VNETwould anyone know if we could run nmap in this script but instead of it scanning the internal lan make it scan the gateway?
It would be nice to just run a script and see what ports the router has open.
1.) random variable doesn't seem to work in detailed scans, changed it to just rand and it worked fine (no clue).
2.) Had a old version of winpcap installed on test workstation. Script left the uninstall box up, finished uninstall manually and when ran again it worked fine.
3.) For people with spaces in their temp path you can fix the script by adding quotes in a few places ex: Simple Default Gateway Scan:
Step 3: -sS -F #vmachine.defaultgateway# -oX "#vAgentConfiguration.AgentTempDir#\nmap-results-default-gateway-fast.xml"
Step 4: -sS -F #vmachine.defaultgateway# -oX "#vAgentConfiguration.AgentTempDir#\nmap-results-default-gateway-fast.xml"
Step 7: "#vAgentConfiguration.AgentTempDir#\msxsl.exe" "#vAgentConfiguration.AgentTempDir#\nmap-results-default-gateway-fast.xml" "#vAgentConfiguration.AgentTempDir#\nmap.xsl" -o "#vAgentConfiguration.AgentTempDir#\nmap-results-default-gateway-fast-#rand#.htm"