Included dig/whois dependencies
This commit is contained in:
parent
d16fd79207
commit
415e1a589e
|
@ -282,6 +282,8 @@ server_dependencies=" \
|
||||||
expect \
|
expect \
|
||||||
openssh-clients \
|
openssh-clients \
|
||||||
java \
|
java \
|
||||||
|
bind-utils \
|
||||||
|
whois \
|
||||||
http://firefly.artica.es/centos7/xprobe2-0.3-12.2.x86_64.rpm \
|
http://firefly.artica.es/centos7/xprobe2-0.3-12.2.x86_64.rpm \
|
||||||
http://firefly.artica.es/centos7/wmic-1.4-1.el7.x86_64.rpm \
|
http://firefly.artica.es/centos7/wmic-1.4-1.el7.x86_64.rpm \
|
||||||
https://firefly.artica.es/centos7/pandorawmic-1.0.0-1.x86_64.rpm"
|
https://firefly.artica.es/centos7/pandorawmic-1.0.0-1.x86_64.rpm"
|
||||||
|
|
|
@ -335,6 +335,8 @@ server_dependencies=" \
|
||||||
expect \
|
expect \
|
||||||
openssh-clients \
|
openssh-clients \
|
||||||
java \
|
java \
|
||||||
|
bind-utils \
|
||||||
|
whois \
|
||||||
http://firefly.artica.es/centos7/xprobe2-0.3-12.2.x86_64.rpm \
|
http://firefly.artica.es/centos7/xprobe2-0.3-12.2.x86_64.rpm \
|
||||||
http://firefly.artica.es/centos7/wmic-1.4-1.el7.x86_64.rpm \
|
http://firefly.artica.es/centos7/wmic-1.4-1.el7.x86_64.rpm \
|
||||||
https://firefly.artica.es/centos8/pandorawmic-1.0.0-1.x86_64.rpm"
|
https://firefly.artica.es/centos8/pandorawmic-1.0.0-1.x86_64.rpm"
|
||||||
|
|
|
@ -651,6 +651,12 @@ class ExternalTools extends HTML
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'whois':
|
||||||
|
if (empty($snmpget_path) === false) {
|
||||||
|
return $snmpget_path;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
@ -829,6 +835,7 @@ class ExternalTools extends HTML
|
||||||
if (empty($dig) === true) {
|
if (empty($dig) === true) {
|
||||||
ui_print_error_message(__('Dig executable does not exist.'));
|
ui_print_error_message(__('Dig executable does not exist.'));
|
||||||
} else {
|
} else {
|
||||||
|
$dig .= ' '.$ip;
|
||||||
$this->performExecution($dig);
|
$this->performExecution($dig);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -837,6 +844,7 @@ class ExternalTools extends HTML
|
||||||
if (empty($whois) === true) {
|
if (empty($whois) === true) {
|
||||||
ui_print_error_message(__('Whois executable does not exist.'));
|
ui_print_error_message(__('Whois executable does not exist.'));
|
||||||
} else {
|
} else {
|
||||||
|
$whois .= ' '.$ip;
|
||||||
$this->performExecution($whois);
|
$this->performExecution($whois);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue