Hosts
2 Votes |
Collections (part of 1 collection)
Versioning - This is the latest version.
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
2994560 | |
Beta - Preliminary testing ready for more | |
Hosts | |
BESC | |
Local Hosts Any OS | |
danielheth on 8/8/2013 3:03:39 PM | |
danielheth on 8/8/2013 3:03:39 PM | |
10733 Views / 122 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Properties
Entries
Period
15 minutes
* Results in a true/false |
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 |
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: |
Comments
|
|
Inspiration for this came from a dashboard idea I have... http://forum.bigfix.me/viewtopic.php?f=18&t=140 |
|
|
I've uploaded an analysis derived from this one: http://bigfix.me/cdb/Analysis/2994561 |
|
|
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. |
|
|
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. |
|
|
So "windows of operating system" and "mac of operating system" are v9 and above? I did not realize that. |
|
|
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. |
|
|
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") |
|
|
"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) |
|
|
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) |
|
|
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") |
|
|
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") |
|
|
uploaded new version cause when my mac's finally came online, they were erroring out due to invalid folder. |