This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

A really useful ip locator?

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
T
Torrevado
Op
Posts: 101
Joined: Wed Aug 02, 2006 6:29 pm

A really useful ip locator?

Post by Torrevado »

There are some iplocation scripts, but none of them works when mode +x is enabled.

So, I have 2 questions:

1- How could it be done to "link" (manually) some hosts to the countries they belong to?. This way if a host couldn't be resolved (ie. masked-BP158T3D.us), we'll get a secondary result for that partially hidden masks. Something like:

Code: Select all

set hosts(spain) "*.es"
set hosts(germany) "*.de.* *.berlikomm.net *.o-tel-o.net"
set hosts(united states) "*.us *.com"
2- For totally masked hosts (ie. C2E7CA67.9702A984.C9C5D0C6.IP), is there a way to convert such hexadecimal host to a readable one?. Also with some webchats (ie. 53295a13@ircip1.mibbit.com).


I use ip-to-country by Ofloo, but all tcl's I tested, doesn't work with mode +x
User avatar
CrazyCat
Revered One
Posts: 1299
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

I think you can use regexp to manualy link hosts to countries, it's the easiest way.

Concerning the totally masked hosts, you can't do anything unless you know the rules used by the server and/or the client.
Post Reply