mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
Linux path to 'tracepath' is no longer hardcoded by default
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/trunk@375 375186e5-ef17-0410-b0b6-91563547dcda
This commit is contained in:
parent
fbfcfae53f
commit
cc68014f96
@ -29,7 +29,7 @@ public class OpenersConfig extends NamedListConfig {
|
||||
add(labels.get("opener.ftp"), new Opener("ftp://${fetcher.ip}/", false, null));
|
||||
add(labels.get("opener.telnet"), new Opener("telnet ${fetcher.ip}", true, null));
|
||||
add(labels.get("opener.ping"), new Opener("ping ${fetcher.ip}", true, null));
|
||||
add(labels.get("opener.traceroute"), new Opener((Platform.WINDOWS ? "tracert" : Platform.LINUX ? "/usr/sbin/tracepath" : "traceroute") + " ${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));
|
||||
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