spijon Voice
Joined: 27 Aug 2006 Posts: 33
|
Posted: Sat Apr 02, 2011 12:22 pm Post subject: DNS to IP whois user but with a twist. |
|
|
Hi im running a support channel on a webpage over irc using mibbit webirc client.
When users join support chan there nick are Web_username and there "name" is the DNS/IP and the "address" is hidden.
ex:
| Code: |
[whois: Web_spijon]
› name: 61-cl69.boa.randomfiber.org
› address: ~cgiirc@ircserver-fhg.th6.sikt52.IP
› server: ircserver.org (ircserver)
[whois]
|
What im looking for is a script that convert "name" DNS to IP if necessary + adding a search url. And remove "web_" if its there.
ex:
| Code: |
Owner: !whois web_spjion
bot: User Search: http://mypage.org/users.php?search=spijon
bot: DNS/IP Search http://mypage.org/users.php?search=123.456.789.1&class=IP
-
Owner: !whois spjion
bot: User Search: http://mypage.org/users.php?search=spijon
-
Owner: !whois 123.456.789.1
bot: Ip Search http://mypage.org/users.php?search=123.456.789.1&class=IP
Owner: !whois 61-cl69.boa.randomfiber.org
bot: Ip Search http://mypage.org/users.php?search=123.456.789.1&class=IP
|
This would be awesome if anyone could help me make a script!
I've been looking tcl archive "dns whois" but cant code tcl and there is no script that does exactly what i want.
Any help would be appreciated!! |
|