Hosts File
Log In or Register to download the BES file, and more.

1 Votes

Description

This analysis pulls back entries in a system's hosts file. This file can be used to manually override DNS. This analysis will not return results on machines that do not have entries within their hosts file.

This analysis is derrived from this one: http://bigfix.me/cdb/Analysis/2994560

http://en.wikipedia.org/wiki/Hosts_(file)

This Analysis works for Windows, Mac, and Linux.

Property Details

ID2994561
StatusQA - Ready for Production Level Testing
TitleHosts File
DomainBESC
Added by on 8/9/2013 7:29:36 AM
Last Modified by on 3/7/2014 6:57:59 PM
Counters 7691 Views / 67 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Properties

# of Entries
Period 2 days
 
  * Results in a true/false
Show indented relevance
number of lines whose (it does not start with "#" AND it as trimmed string does not equal "") of file "hosts" of (if windows of operating system then folder "drivers\etc" of system x64 folder else if mac of operating system then folder "/private/etc" else folder "/etc")
Entries
Period 2 days
 
  * Results in a true/false
Show indented relevance
lines whose (it does not start with "#" AND it as trimmed string does not equal "") of file "hosts" of (if windows of operating system then folder "drivers\etc" of system x64 folder else if mac of operating system then folder "/private/etc" else folder "/etc")
# of Entries (localhost removed)
Period 2 days
 
  * Results in a true/false
Show indented relevance
number of lines whose (it does not start with "#" AND it as trimmed string does not equal "" AND it as trimmed string as lowercase does not contain " localhost") of file "hosts" of (if windows of operating system then folder "drivers\etc" of system x64 folder else if mac of operating system then folder "/private/etc" else folder "/etc")

Relevance

Used in 1 analsis   * Results in a true/false
Show indented relevance
exists (if windows of operating system then folder "drivers\etc" of system x64 folder else if mac of operating system then folder "/private/etc" else folder "/etc") whose(exists file "hosts" of it)
Used in 1 analsis   * Results in a true/false
Show indented relevance
0 < (number of lines whose (it does not start with "#" AND it as trimmed string does not equal "") of file "hosts" of (if windows of operating system then folder "drivers\etc" of system x64 folder else if mac of operating system then folder "/private/etc" else folder "/etc"))

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
jgstew -
number of lines whose (it does not start with "#" AND it as trimmed string does not equal "") of files "hosts" of (folders "/etc"; folders "/private/etc"; folders "/Windows/Sysnative/drivers/etc"; folders "/Windows/System32/drivers/etc")