Check Website
Inclusion Status
It is currently Thu Jun 20, 2019 1:02 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: [INFO] Querying the hpHosts database with YOUR application
PostPosted: Mon Jun 09, 2008 9:30 pm 
Offline
Site Admin

Joined: Thu May 28, 2009 10:25 am
Posts: 6018
Developers can query the online database directly via the following;

http://verify.hosts-file.net/

Variables supported;

1. Your applications identifier (e.g. the name of your application)

Var: v=

E.g. &v=MyApplication

2. Site/IP being queried

Var: s=
Returns: Listed or Not Listed

3. Date added (where a site is listed)

Var: date=
Returns: Date added to the database

4. Classification (where a site is listed)

Var: class=
Returns: Classification given

5. Return IP address

Var: ip=
Returns: Current IP address, and IP address currently in the database for the queried hostname

6. Return IP PTR

Var: ipptr=
Returns: PTR result for the current IP, and for the IP currently in the database for the queried hostname

As an example;

Return only listed/not listed status
http://verify.hosts-file.net/?v=OEv0.0.7&s=microsoft.com

Return listed/not listed status and classification
http://verify.hosts-file.net/?v=OEv0.0.7&s=microsoft.com&class=true

Return listed/not listed status and date added
http://verify.hosts-file.net/?v=OEv0.0.7&s=microsoft.com&date=true

Return listed/not listed status & IP address
http://verify.hosts-file.net/?v=OEv0.0.7&s=microsoft.com&ip=true

Return listed/not listed status and IP PTR
http://verify.hosts-file.net/?v=OEv0.0.7&s=microsoft.com&ipptr=true

_________________
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

Keeping it FREE!



IP:
top
Top
 Profile  
Reply with quote  
 Post subject: Re: [INFO] Querying the hpHosts database with YOUR application
PostPosted: Tue Aug 12, 2008 11:58 pm 
Offline
Site Admin

Joined: Thu May 28, 2009 10:25 am
Posts: 6018
I've modified my hpHosts verification service to allow you to query for the NB info Smile

Example:
http://verify.hosts-file.net/?v=OEv0.0.7&s=microsoft.com&nb=1

Example (IP):
http://verify.hosts-file.net/?v=OEv0.0.7&s=74.6.13.110&nb=1

_________________
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

Keeping it FREE!



IP:
top
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
hpHosts and hpHosts Online are copyright © Malwarebytes Corp - All Rights Reserved

Powered by phpBB © 2000-2009 phpBB Group