Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
andrewbrannelly
Engaged Sweeper II
I'm looking to run vuln scans on our externals. The IP ranges are in already but we host multiple sites from a single IP and use host headers etc to NAT out the sites. The scans only cover the first site so a bunch are missed.

Is is possible in lansweeper to show all host headers/DNS info/sites hosted per IP/internal host?

I'm looking for something like:

IP: 192.168.0.2
?: firstsite.domain.com
?: secondsite.domain.com
?: thirdsite.domain.com

IP:192.168.0.3
?: firstsite.domain.co.uk
?: secondsite.domain.co.uk
2 REPLIES 2
andrewbrannelly
Engaged Sweeper II
Ah okay, no worries. For anyone else interested in the meantime, managed to come up with some powershell to do the trick:

$hostname = $env:computername
$file = "\\my-pc\" + $hostname + "output.txt"
import-module webadministration
$response = get-WebBinding |Select-Object -ExpandProperty bindingInformation
foreach($i in $response){
$ip,$port,$binding = $i.split(':')
if($binding -ne ""){
$binding >> $file
}
}

This basically stores a list of host named txt files showing all IIS bindings with a few extra bits. Haven't found an alternative for apache/nginx etc but might be helpful
Esben_D
Lansweeper Employee
Lansweeper Employee
Unfortunately, Lansweeper doesn't scan websites hosted. I assume that the current name that is being displayed is the one which is returned when the IP address is resolved.

We do already have a feature request to scan websites hosted on a machine or server. I've linked your topic to this feature request in order to add weight to it.

Product Discussions

Share feedback, exchange ideas and find answers to Lansweeper product questions.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now