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

2 Votes

Collections (part of 1 collection)

Windows Configuration

Versioning - This is the latest version.

1Hosts8/8/2013 10:48:12 AM
2Hosts8/8/2013 11:32:36 AM
3Hosts8/8/2013 3:03:39 PM

Description

This analysis will pull in the customized entries for the windows\system32\drivers\etc\hosts file.

This works on v9 platform ONLY.


Property Details

ID2994560
StatusBeta - Preliminary testing ready for more
TitleHosts
DomainBESC
KeywordsLocal Hosts Any OS
Added by on 8/8/2013 3:03:39 PM
Last Modified by on 8/8/2013 3:03:39 PM
Counters 10733 Views / 122 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

Entries
Period 15 minutes
 
  * 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 native system 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 native system folder else if mac of operating system then folder "/private/etc" else folder "/etc") whose (exists file "hosts" of it)

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
danielheth -
Inspiration for this came from a dashboard idea I have... http://forum.bigfix.me/viewtopic.php?f=18&t=140
jgstew -
I've uploaded an analysis derived from this one: http://bigfix.me/cdb/Analysis/2994561
danielheth -
I'm having a hard time finding references to the newer inspectors. native registry was introduced in v8 I believe... but native system folder and others came out in v9. I discovered them after a conversation with one of the Devs. Part of the reason for http://bigfix.me/inspectorguide but no one seems interested in updating it either.
jgstew -
Also, I wondered why "native system folder" and similar uses of "native" never worked for me when I felt like they should, I did not realize it was added in v9.
jgstew -
So "windows of operating system" and "mac of operating system" are v9 and above? I did not realize that.
danielheth -
LOL... you're showing the absolute power of community right here! I originally started building this to be pre v9 compatible... but, now that you mention the better way to detect windows, I realized "native system folder" is a v9 thing. "native" is a new alias for several of the x64 x86 inspectors... new to v9.
jgstew -
This works to make the OS specification easier: (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")
jgstew -
"native system folder" did not seem to work on my x64 system, but "system x64 folder" should be equivalent on both x32 and x64 systems. (it seems to be the equivalent of turning off redirection)
jgstew -
exists (if name of operating system starts with "Win" then folder "drivers\etc" of system x64 folder else if name of operating system starts with "Mac" then folder "/private/etc" else folder "/etc") whose (exists file "hosts" of it)
jgstew -
lines whose (it does not start with "#" AND it as trimmed string does not equal "") of file "hosts" of (if name of operating system starts with "Win" then folder "drivers\etc" of system x64 folder else if name of operating system starts with "Mac" then folder "/private/etc" else folder "/etc")
jgstew -
lines whose (it does not start with "#" AND it as trimmed string does not equal "") of file "hosts" of (if name of operating system starts with "Win" then folder "drivers\etc" of native system folder else if name of operating system starts with "Mac" then folder "/private/etc" else folder "/etc")
danielheth -
uploaded new version cause when my mac's finally came online, they were erroring out due to invalid folder.