mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
whois added to the default openers list
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@376 375186e5-ef17-0410-b0b6-91563547dcda
This commit is contained in:
parent
cc68014f96
commit
e17333ff11
@ -165,6 +165,7 @@ opener.telnet=Telnet
|
||||
opener.ssh=SSH
|
||||
opener.ping=Ping
|
||||
opener.traceroute=Trace route
|
||||
opener.whois=Whois
|
||||
opener.geolocate=Geo locate
|
||||
opener.netbios=Windows Shares
|
||||
opener.email=E-mail sample
|
||||
|
||||
@ -31,6 +31,7 @@ public class OpenersConfig extends NamedListConfig {
|
||||
add(labels.get("opener.ping"), new Opener("ping ${fetcher.ip}", true, null));
|
||||
add(labels.get("opener.traceroute"), new Opener((Platform.WINDOWS ? "tracert" : Platform.LINUX ? "tracepath" : "traceroute") + " ${fetcher.ip}", true, null));
|
||||
if (!Platform.WINDOWS) add(labels.get("opener.ssh"), new Opener("ssh ${fetcher.ip}", true, null));
|
||||
if (!Platform.WINDOWS) add(labels.get("opener.whois"), new Opener("whois ${fetcher.ip}", true, null));
|
||||
add(labels.get("opener.geolocate"), new Opener("http://www.azib.net/iplocate.php?ip=${fetcher.ip}", false, null));
|
||||
add(labels.get("opener.email"), new Opener("mailto:somebody@example.com?subject=IP: ${fetcher.ip}", true, null));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user