Downloads:

5,431

Downloads of v 4.7.105.20180405:

1,867

Last Update:

05 Apr 2018

Package Maintainer(s):

Software Author(s):

  • abelhadigital.com

Tags:

hostsman security hosts hostsfile freeware admin

HostsMan

4.7.105.20180405 | Updated: 05 Apr 2018

Downloads:

5,431

Downloads of v 4.7.105.20180405:

1,867

Maintainer(s):

Software Author(s):

  • abelhadigital.com

HostsMan 4.7.105.20180405

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install HostsMan, run the following command from the command line or from PowerShell:

>

To upgrade HostsMan, run the following command from the command line or from PowerShell:

>

To uninstall HostsMan, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade hostsman -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade hostsman -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure hostsman installed
  win_chocolatey:
    name: hostsman
    state: present
    version: 4.7.105.20180405
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'hostsman' do
  action    :install
  version  '4.7.105.20180405'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: hostsman,
    Version: 4.7.105.20180405,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller hostsman
{
   Name     = 'hostsman'
   Ensure   = 'Present'
   Version  = '4.7.105.20180405'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'hostsman':
  provider => 'chocolatey',
  ensure   => '4.7.105.20180405',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install hostsman version="4.7.105.20180405" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 03 Nov 2019.

Description

HostsMan is a freeware application that lets you manage your Hosts file with ease.

Features

  • Built-in hosts file updater
  • Enable/Disable hosts file
  • Built-in hosts editor
  • Scan hosts for errors, duplicates and possible hijacks
  • Hosts file backup manager
  • Exclusion list
  • No Spyware, no adware, no viruses, 100% freeware, clean and simple.

legal\LICENSE.txt
Software License AGREEMENT

Software Products:
HostsMan and accompanying documentation ("Freeware").

Licensor: abelhadigital.com.

THIS IS A LEGAL AGREEMENT BETWEEN YOU, AN END USER, AND LICENSOR.

BY DOWNLOADING AND INSTALLING THE FREEWARE, YOU ARE AGREEING TO BE BOUND BY THE
TERMS OF THIS AGREEMENT.  IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT, DO
NOT INSTALL AND DELETE ANY COPIES OF THE FREEWARE THAT YOU HAVE DOWNLOADED.

THIS FREEWARE IS PROVIDED TO YOU FREE OF CHARGE. OBTAINING A LICENSE TO THIS
FREEWARE FROM ANY PARTY OTHER THAN LICENSOR AND/OR PAYING A FEE FOR SUCH LICENSE
IS STRICTLY FORBIDDEN. IF YOU ARE AWARE OF ANY UNAUTHORIZED THIRD PARTY
DISTRIBUTING THIS FREEWARE AND/OR CHARGING A FEE FOR THIS FREEWARE, PLEASE
REPORT SUCH VIOLATIONS TO YOUR CONSUMER PROTECTION AUTHORITIES.

DISTRIBUTION ON INTERNET AND CD-ROM

1. The Licensor grants you the right to make this freeware available on an
internet site for the purpose of downloading, as long as NO FEE IS CHARGED for
said download.

2. The Licensor grants you the royalty-free right to reproduce and distribute
this freeware as part of a CD-ROM to be enclosed with the print issue of any
magazine, book or printed publication, as long as said CD-ROM and printed
publication contain material that would have been distributed regardless of the
inclusion of this freeware, and NO EXTRA FEE IS CHARGED for inclusion of this
freeware.

3. You are not allowed to distribute merged hosts files without permission from
the respective vendors.

LICENSE TERMS AND CONDITIONS

I. Grant of license

This Agreement permits you to use a copy of the Freeware acquired with this
license on any computer ("License"). The Freeware is "in use" on a computer when
it is loaded into the temporary memory or installed into the permanent memory
(e.g. hard disk, CD ROM, or other storage device) of that computer, except that
a copy installed on a network server for the sole purpose of distribution to
other computers is not considered "in use".

II. Copyright

The Freeware is owned by Licensor and is protected by copyright laws,
international treaty provisions, and other national laws. You agree that you
have no right, title or interest in the Freeware, except as set forth in
Subsection I.

III. Other restrictions

You may not rent, lease or sell the Freeware to any third party. You may not
reverse engineer, decompile or disassemble the Freeware.

IV. Warranties

YOU ACKNOWLEDGE THAT YOU HAVE LICENSED THIS FREEWARE FREE OF CHARGE AND THAT
LICENSOR MAKES NO WARRANTIES TO YOU IN CONNECTION WITH THIS LICENSE, INCLUDING
BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. YOU AGREE TO DEFEND, INDEMNIFY
AND HOLD HARMLESS LICENSOR FROM ANY AND ALL CLAIMS OF INFRINGEMENT (INCLUDING
THOSE MADE BY THIRD PARTIES) RESULTING IN WHOLE OR IN PART FROM YOUR USE OF THE
FREEWARE.

V. No liability for consequential damages

In no event shall Licensor be liable for any damages whatsoever (including,
without limitation, damages for loss of business profits, business interruption,
loss of business information, or other pecuniary loss) arising out of the use
of or inability to use the Freeware, even if Licensor has been advised of the
possibility of such damages.

VI. Governing Law

This Agreement shall be governed by and interpreted in accordance with the laws
of Portugal. If any dispute shall arise pursuant to any provision of this
Agreement, said dispute shall be settled by binding arbitration in accordance
with the rules and regulations of the courts, located in Portugal. If any term
or provision of this Agreement shall be declared invalid in arbitration or by a
court of competent jurisdiction, such invalidity shall be limited solely to the
specific term or provision invalidated, and the remainder of this Agreement
shall remain in full force and effect, according to its terms. Any provision
declared invalid shall be modified to the fullest extent possible to reflect the
parties intent as of the Effective Date.

Copyright © 1997-2012 abelhadigital.com. All rights reserved.
legal\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The embedded software have been downloaded from the listed download
location on <http://hostsman2.it-mate.co.uk/>
and can be verified by doing the following:

1. Download the following <http://hostsman2.it-mate.co.uk/HostsMan_4.7.105.zip>
2. Get the checksum using one of the following methods:
  - Using powershell function 'Get-FileHash'
  - Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

  checksum type: sha256
  checksum: B98F1155CDA04E8A96CF29F6CC68497BDB28ADD7C8317CAE79F6EC34C3BDC7FA

The file 'LICENSE.txt' has been obtained from <http://hostsman2.it-mate.co.uk/licenses/hostsman_4.txt>
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

$toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition

$packageArgs = @{
  packageName  = $env:ChocolateyPackageName
  fileType     = 'zip'
  file         = "$toolsPath\HostsMan_4.7.105.zip"
  destination  = $toolsPath
  softwareName = 'hostsman*'
}

Get-ChocolateyUnzip @packageArgs
Remove-Item $toolsPath\*.zip -ea 0
tools\HostsMan_4.7.105.zip
md5: 1A1CC34F6AD59711D031B6C605C02B31 | sha1: A1E9B079A2857AA7FB1D3BD0561E308AC1291CB6 | sha256: B98F1155CDA04E8A96CF29F6CC68497BDB28ADD7C8317CAE79F6EC34C3BDC7FA | sha512: ECAF28A526AD87A094C998D0268B6FC73D9C54715B0AD03BBBA2A97F7A3FA7E6B2A4508F9626544F960608D3624964FBD596074B98AFDD62FEE0E76BD7A12401

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
HostsMan 4.7.105 1160 Tuesday, January 3, 2017 Approved
HostsMan 4.6.103.20161126 414 Saturday, November 26, 2016 Approved
HostsMan 4.6.103 552 Friday, January 15, 2016 Approved
HostsMan 4.5.102 687 Saturday, September 6, 2014 Unknown
HostsMan 4.0.95 145 Thursday, April 5, 2018 Approved

This package has no dependencies.

Discussion for the HostsMan Package

Ground Rules:

  • This discussion is only about HostsMan and the HostsMan package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or HostsMan, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus