Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

10,037

Downloads of v 4.7.105.20180405:

5,539

Last Update:

05 Apr 2018

Package Maintainer(s):

Software Author(s):

  • abelhadigital.com

Tags:

hostsman security hosts hostsfile freeware admin

HostsMan

  • 1
  • 2
  • 3

4.7.105.20180405 | Updated: 05 Apr 2018

Downloads:

10,037

Downloads of v 4.7.105.20180405:

5,539

Maintainer(s):

Software Author(s):

  • abelhadigital.com

HostsMan 4.7.105.20180405

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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:

>

Deployment Method:

NOTE

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

1. Enter Your Internal Repository Url

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


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • 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://community.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. Copy Your Script

choco upgrade hostsman -y --source="'INTERNAL REPO 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="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install hostsman
  win_chocolatey:
    name: hostsman
    version: '4.7.105.20180405'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'hostsman' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '4.7.105.20180405'
end

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


cChocoPackageInstaller hostsman
{
    Name     = "hostsman"
    Version  = "4.7.105.20180405"
    Source   = "INTERNAL REPO URL"
}

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


package { 'hostsman':
  ensure   => '4.7.105.20180405',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

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


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 12 Jul 2020.

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.

Add to Builder Version Downloads Last Updated Status
HostsMan 4.7.105 1324 Tuesday, January 3, 2017 Approved
HostsMan 4.6.103.20161126 583 Saturday, November 26, 2016 Approved
HostsMan 4.6.103 728 Friday, January 15, 2016 Approved
HostsMan 4.5.102 836 Saturday, September 6, 2014 Unknown
HostsMan 4.0.95 341 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