Help - Search - Members - Calendar
Full Version: Toadbees "Hoster V 3.1" Hosts Manager
B.I.S.S. Forums > Internet Security Forum > Security Tool Database
Moore
A great HOSTS file Manager , and free to download, what more could you want smile.gif

Made by Toadbee , Admin from http://www.gladiator-antivirus.com/


Hoster page info and download:

http://babbling.funkytoad.com/?p=13

>> http://www.funkytoad.com/hoster.htm <<

Give him a visit if you like it and let him know , and if you can , send a few dollars his way to show your appreciation and help toadbee to keep his great tools free..
Satans_Spawn
mmMMMmm - Looks very pleasing to the eye*, and easy to use/edit/modify. Better than the Aldos one, and even got the option of backing up and restoring backups of the Hosts file. Oh, and it can tell if you have made it read only, and put in a handy button to allow you to write to it! Will have to give it a try...
(..."try pie, try!" - Weebl & Bob, www.weebl.jolt.co.uk/pie.htm)


Ced

P.S. Maybe a mod from here should see about getting bluetack on their site over at: http://www.gladiator-antivirus.com/ in their 'recommended sites' section! biggrin.gif

*Well, the XP screenshot of it does (lol)
r00ted
wow, that GUI does look neat. very clean wink.gif It would be PEERRRFECT if it had a "Merge HOSTS", maybe some toggle options for the "Remove hostname" function. tongue.gif Like, I never "remove" a hostname, the most I do is # comment it (thus ignoring that line). and a reverse look up function (basically, a PING command) that would go thru the list of hostnames and ping them, and if they dont respond, # comment em tongue.gif

Maybe Ill have to throw these suggestions over on that forum lol.
Moore
im sure he could add a few more features if enough people were asking for them smile.gif
r00ted
Let's go troops! Raid the Gladiator Antivirus forums!

Left, Left, Left Right Leftttt!

lol
Moore
lol, no invasions are scheduled for this month , this might have to be a ninja mission instead. ph34r.gif laugh.gif
toadbee
Groovy people of The land of BlueTack.
tongue.gif

Please keep in mind I am a goofball, and don't have a bunch o' time to code this stuff -
But - when r00ted says Merge Hosts - and that anoth proggy doesn't do it properly - what are you talking about exactly. What is proper what is not. Help me understand what you're talking about i may be able to hook it up wink.gif

ohmy.gif Ping what the heck is Ping - don't they make golf clubs? laugh.gif No, I honestly don't have time for that, though yes, that would be cool.

Grand Master Moore Pm'd me, I've added some things including appending the Hosts file, replacing the Hosts file and remove Blocking entries as well - But I say append, you say merge - not sure we're on the same wave length.
yozhno
Don't worry Toadbee I have the attention span of a billy goat. HEHE! I was on this site all day when I should of been working.
Tozzano
toadbee,

Excellent work on that app! And welcome to Bluetack. tongue.gif It's great to have talented people helping out in keeping us all secure on the sticky web!

Mike
r00ted
QUOTE (toadbee @ May 3 2004, 03:48 PM)
Groovy people of The land of BlueTack.
tongue.gif

Please keep in mind I am a goofball, and don't have a bunch o' time to code this stuff -
But - when r00ted says Merge Hosts - and that anoth proggy doesn't do it properly - what are you talking about exactly. What is proper what is not. Help me understand what you're talking about i may be able to hook it up wink.gif

ohmy.gif Ping what the heck is Ping - don't they make golf clubs? laugh.gif No, I honestly don't have time for that, though yes, that would be cool.

Grand Master Moore Pm'd me, I've added some things including appending the Hosts file, replacing the Hosts file and remove Blocking entries as well - But I say append, you say merge - not sure we're on the same wave length.

welcome to the forums toadbee wink.gif hehe. yea, merge/append mean the same thing tongue.gif hehe. when I say "merge" basically, if I select a file to "append" to the current HOSTS file, have it remove all duplicate entries, and then append them at the end of the HOSTS file wink.gif No need to actually load them into the GUI, as I think you will hit the ~65k size limit set by windows tongue.gif

But yea, basically, i tried Aldo's HOSTS Manager, which has a "Merge" function to set a file, and tell it to append that file to the current HOSTS file (and remove duplicates in the process), it messed with a lot of my commented lines, inserted a bunch of blank carriage returns at the beginning of the HOSTS file (not sure WHERE they came from lol). but yea, thats basically it tongue.gif I think that program (Hoster) would be pretty much complete if it had a browse text box to browse for a HOSTS file, and have Hoster remove all exact duplicates from it, and then append it to the current HOSTS file within the C:\Windows\SYSTEM32\drivers\etc (on XP anyway).

But yea, that was my biggest gripe of the other hosts file merging utilities tongue.gif they mutiliated my master piece tongue.gif I dont want something removing my comments and adding carriage returns at the top of my HOSTS file tongue.gif
toadbee
@r00ted -
Well I added append all ready, but it is not Looking for Dupes - simply adding on the end.
I can understand why Aldo's is making a mees for you, the seeking dupes is a trickery task than it may seem... i.e. a tab is different than a space, a space is different than 2 spaces etc, so it's brutal to look for an accurate match. If I get the time here I'll play around with that and see if I can come up with something.

Here's an updated version. Feel free to play around with it. Again the append is a "dumb" append at this point - though useful in some cases. You can also keep a bunch of different Hosts files (different names ofcourse) and "replace" the Hosts file at will. The back up is still a backup.

Also there a button there to remove all blocking lines in one shot (it leaves "local host") - basically strips the hosts of all 127.0.0.* - Some hiJacked folks might find that useful wink.gif

http://members.aol.com/toadbee/hoster11.zip
yozhno
@Rooted & toadbee Rather than have a tab would it be difficult to have it in a excel sheet? You could import from the excel sheet in other words. Now then there is a constant as well as Rooted's "masterpiece" is not ruined...I don't burn this idea if you want but it is the only compromise that i can think of...Cause I belive DA is having trouble making the alogorithm for BLM?
Moore
i only just noticed today you can double click to edit the line , biggrin.gif
deathangel
i need to add that to the exclusions manager smile.gif

/me pics toadbee head for some code

also would you like us to host that file for you?
r00ted
QUOTE (toadbee @ May 4 2004, 10:34 AM)
@r00ted -
Well I added append all ready, but it is not Looking for Dupes - simply adding on the end.
I can understand why Aldo's is making a mees for you, the seeking dupes is a trickery task than it may seem... i.e. a tab is different than a space, a space is different than 2 spaces etc, so it's brutal to look for an accurate match. If I get the time here I'll play around with that and see if I can come up with something.

Here's an updated version. Feel free to play around with it. Again the append is a "dumb" append at this point - though useful in some cases. You can also keep a bunch of different Hosts files (different names ofcourse) and "replace" the Hosts file at will. The back up is still a backup.

Also there a button there to remove all blocking lines in one shot (it leaves "local host") - basically strips the hosts of all 127.0.0.*  - Some hiJacked folks might find that useful wink.gif

http://members.aol.com/toadbee/hoster11.zip

hmm. as far as the comparing algorithm and stuff, I try and keep my HOSTS file (as in the BLM HOSTS file Project) as clean cut as possible, as in
127.0.0.1<tab-key>ad.server.us

All the way down, the only tricky part, would be lines with comments such as

127.0.0.1<tab>rd.yahoo.com<tab>#<tab>This will block a lot of shit at yahoo.com

like, how it would deal with the rd.yahoo.com when it removes all of the duplicates, and keeps 1 in tact.

Would it be possible to compare just the hostnames? so, have the compare algorithm thing ignore the 127.0.0.1 (since that will be the same all the way thru, to re-route all traffic to localhost). But yea, I've been trying to keep the columns fairly straight tongue.gif and I usually only use comments on entries that are already commented, or like, in the case of the above rd.yahoo.com, I have it un-commented, and a reason why.

Also, another suggestion wink.gif Would it be possible, to change the way the "Add to HOSTS file" text box functions upon "Add"? tongue.gif Make it so it puts the 127.0.0.1<tab> followed by the hostname that is entered. Or hell, have a toggle/option thing for how the hostnames should be entered, like, some people use 0.0.0.0, some use 127.0.0.1, others use google.com (which, would be 216.239.37.99<tab>adserver.com). Maybe a seperator option, whether to seperate the columns by " " or "<tab>" even lol tongue.gif hehe.

oops, dont know if this is a bug or not...lol. I hit the "Remove All Block Items" button, and it left behind the following:
QUOTE
# Welcome to the BlueTack.Co.Uk HOSTS file, brought to you by, r00ted!
#
# To INSTALL this HOSTS file:
# Windows XP C:\WINDOWS\SYSTEM32\DRIVERS\ETC (CONFIRMED)
# Windows 2K C:\WINNT\SYSTEM32\DRIVERS\ETC (CONFIRMED)
# Win 98\M C:\WINDOWS (UNCONFIRMED, IF IT WORKS TELL ME VIA PM PLEASE!)
#
# For more information please goto http://www.bluetack.co.uk/forums/index.php?showtopic=812
#
# To download the hosts goto http://www.bluetack.co.uk/forums/index.php?showtopic=1099
#
# Other Good URLS:
# www.21stcentury.net/~flan/hosts.html
# http://pgl.yoyo.org/adservers/
# http://datadragon.com/banners/
# http://ssmedia.com/utilities/hosts/
# http://www.hostboard.com/cgi-bin/ultimateb...bb/forum/f/7596
# http://wizbangblog.com/mtblacklist/mtblacklist.php
# http://groups.yahoo.com/group/hphosts_support/
# http://groups.yahoo.com/group/hphosts_support/files/
# http://webpages.charter.net/hpguru/hosts/hosts.html
# http://asp.flaaten.dk/download/pafiledb.ph...n=category&id=2
# http://asp.flaaten.dk/proxo/
# http://someonewhocares.org/hosts/
# http://www.ngweb.biz/software/hostsedit.shtml
# http://www.pattersondesigns.com/tweakdun/
# http://www.mvps.org/winhelp2002/
# http://www.gnu.org/licenses/lgpl.txt
# http://mvps.org/winhelp2002/restricted.htm
# http://everythingisnt.com/hosts.html
# http://remember.mine.nu
# http://www.hostboard.com/cgi-bin/ultimateb...bb/forum/f/7596
# http://groups.yahoo.com/group/hphosts_support/
# http://groups.yahoo.com/group/hphosts_support/files/
# http://webpages.charter.net/hpguru/hosts/hosts.html
# http://ssmedia.com/utilities/hosts/
#
# To report new Ads/Popups/etc e-mail hpguru(AT)flaaten.dk , hosts(AT)someonewhocares.org , r00ted(at)askchopper.com , user245(at)hotmail.com , pgl(at)yoyo.org , wduk10(at)hotmail.com , hphosts(at)yahoo.com , mjmeyer(at)myrealbox.com , x9000(at)techie.com
#
# Redirect to any of these three ip addresses using Find & Replace (the current settings SHOULD work fine though)
# 204.144.255.91 = www.localhost.com (some website lol)
# 0.0.0.0 = some invalid IP that NOBODY HAS
# 209.185.108.220 = www.google.com (BEST SEARCH ENGINE, FAST LOADING)
# 216.156.164.158 = www.vb.com (BLANK SITE)

# As a side-note, the HOSTS file can handle "descriptions" such as

127.0.0.1 localhost
127.0.0.1 localhost.utopiad.com
127.0.0.1 localhost.devnull.com
127.0.0.1 localhost.localdomain
127.0.0.1 localhost.devnull.com
127.0.0.1 www.127.0.0.1.in.localhost.net.ar

127.0.0.1 localhost.bonustreasures.com
127.0.0.1 localhost.bonusnation.com


my guess is you got some code in there to remove all lines, except for lines with leading #, and the term localhost ;-) hehe
r00ted
QUOTE (yozhno @ May 4 2004, 11:27 AM)
@Rooted & toadbee Rather than have a tab would it be difficult to have it in a excel sheet? You could import from the excel sheet in other words. Now then there is a constant as well as Rooted's "masterpiece" is not ruined...I don't burn this idea if you want but it is the only compromise that i can think of...Cause I belive DA is having trouble making the alogorithm for BLM?

hmm, Im not sure Im understanding what you're asking hehe.

you mean to export the hostnames to an excel sheet, then attach the 127.0.0.1 lines, then import to the HOSTS file?

as far as the compromise, whats the compromise hehe. as far as the algorithm for the BLM, last i heard wasnt it the ~65k limit messing it up? or are you referring to the IP count (% blocked) used in Moore's Blocklist Campaign thread?
toadbee
@Rooted -
QUOTE
oops, dont know if this is a bug or not

laugh.gif - Hmmm, well it's not a bug, because as you suspected, I'm leaving lines with 'localhost' if its found.
Ah... I'll re think that, maybe wink.gif i.e. if I whack all 127.0.0.* - then add localhosts back in, All I can do is append it. So that, in some cases would "reorder" a persons hosts file...pis5ing them off a tad.

Maybe the button should say "attempt to remove blocking hosts" tongue.gif But really - keep in mind the purpose of the whole thing is/was to help people who have been hijacked bet back online quick (er).

As for sorting...I think I'm done even thinking about that. There is an efficient way to search for dupes, but it involves sorting alphabetically first - That would completely wack your super duper hosts files you guys use i.e. all #comments together etc. totally unacceptable. That leaves "old school - get it done" type parsing for matches - which is somewhat ok up to maybe 1,000 entries, but I've spyvied on some of these "masterpieces" and we're talking about 4-5,000 entries. Eegads! Thats just plain too slow.

I will try and resolve the localhosts issue in the future - until then - this is
version 1.2 - I added a "restore original hosts" function. Stick with this link only below, it will always be the most current.

http://members.aol.com/toadbee/hoster.zip
deathangel
kool smile.gif thanks toadbee
r00ted
cool info toadbee. about the "recovering from hijacked hosts" issue:

If i understand correctly, the whole thing about "hijacking" a HOSTS file means re-routing common hostnames (such as yahoo.com, google.com,msn.com, etc) to a "bad" IP address (which often points to a webhost that contains malicious javascript/vbscript/etc)

So, in essense, what you MIGHT be able to do, is have it remove all lines that do NOT lead with 127.0.0.1, but have it ignore lines with leading # comments of course

so, if someones host file got hijacked such as:

# Mac-Daddy Test HOSTS file
127.0.0.1 localhost
127.0.0.1 g.msn.com
215.33.43.65 virushosthax.hax
127.0.0.1 adservers.com
127.0.0.1 ad.doubleclick.net

have the hoster scan for "odd" looking lines (that are not # commented), so, the scan would ignore the 1st line (cause its # commented), and would pick up the 215.33.43.65 line, and "fix" it to 127.0.0.1.

hehe. would something like this be possible? tongue.gif see i never knew that was the purpose of this little app hehe. My guess is some kind of compare algorithm could be created to remove all lines that don't match 127.0.0.1.

The only issue, would be for people who actually use the HOSTS file as it's MEANT to be used (such as including a line 216.239.57.99 google.com within the HOSTS file, so there computer doesn't have to contact a DNS server to get to google (thus making internet speed/access a tad bit faster).
toadbee
r00ted -

You are correct on the rerouting. but whats more troubling is that a couple of common hijackings is blocking
90 or 100 anit-malware, and computer help sites in one shot.
So folks can't get Adaware updates, spybpt s&D updates, anti virus updates. Then they're also blocked from sites which offer help from Hijacking. So Hoster needs to knock out the blocked sites so people can actually download HiJackthis ohmy.gif Its brutal business they're messing with.

Then we have to becareful of people on intranets and wide area networks where the HOSTS is used to direct peoples computers to networks that are on private networks -
Heres mine as example:

127.0.0.1 localhost
192.168.1.10 mailserver
192.168.1.11 munchkin
192.168.1.12 oz
192.168.2.11 trappe
192.168.3.11 ksquare
192.168.1.30 kip8000
192.168.1.3 webserver
192.168.4.11 nj

All the 192 entries are servers on a wide area VPN. If I lose those entires - BOOM
I'm knocked off 7 networks and 1 KIP printer. The 192's are private IP numbers, they don't correspond to what a dns server will return - ie they are critical.

So This Hoster thing is made so these good hearted folks that advise people on the HiJackLogs can help them safely Check, and if necssary modify their hosts file smile.gif
Moore
thanks again toadbee biggrin.gif , hey i like the backup feature , no matter how bad i try to screw it up, i have something to go back to.

i do use hosts for adblocking and for website access, some sites i cant even get to unless i have their ips in the hosts file.. sad.gif
toadbee
Hey guys/gals -
Ver 1.3 of Hoster is posted. Same url
http://members.aol.com/toadbee/hoster.zip

We ran into trouble with win95/98 only allowing 64kb total HOSTS file size. This Ver. 1.3 takes care of that wink.gif

And some other little items.

Todd
Moore
thanks Toadbee biggrin.gif
Angelus
hey this Hoster program is real great.

been here for a while and i only find it now laugh.gif
toadbee
Hi Folks -

New link for Hoster: www.funkytoad.com/download/hoster.zip

I'm sorry to do that to you but the aol link will be gone within a week or two wink.gif
There has been NO update to the program - Just the move.

(Moore - I updated the link in your most thorough and informative post at GSF smile.gif )
Moore
Hi Toadbee, thanks for keeping us updated biggrin.gif
.broken.
just to let you all know that Hoster 1.6 is now available at http://www.funkytoad.com/

been cruising through this site for a couple of hours now, you've done a good jobs pplz. you'll be seeing more of me ph34r.gif

.broken.
Moore
Thanks .broken. Hoster is one of my favourite programs and Toadbee has done a great job with it.. hope to see you around the forum.. smile.gif
Moore
Upadated to v1.7.3 - updated 9-14-05

http://www.funkytoad.com/hoster.htm

biggrin.gif
TeMerc
New in v3.5:
    -Downloading hosts files via Hoster
    -Whitelist function
    -DNS client service check
    -Better memory management, and improved speed.
    -Added “Delete Selected / Add to whitelist” button and menu item.
Changes:
    -”Memopad” is made available only if running on an NT based machine (win2000 and >). Win9x machines can not display files larger than 64kb, so to stay out of trouble it is disabled for the older OS’s.
No Install, Just put in it's own directory and run. Simply delete it to "uninstall".

Hoster35b1.zip
Hoster Beta w\screen shots
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.