rename host scan to services details
This commit is contained in:
parent
9f2826d522
commit
18775fb8b1
@ -13,12 +13,12 @@ $presets = [
|
|||||||
'refreshPeriod' => 60,
|
'refreshPeriod' => 60,
|
||||||
'sudo' => false,
|
'sudo' => false,
|
||||||
],
|
],
|
||||||
"host" => [
|
"services" => [
|
||||||
'-Pn' => true,
|
'-Pn' => true,
|
||||||
'-F' => true,
|
'-F' => true,
|
||||||
'-sV' => true,
|
'-sV' => true,
|
||||||
'-T5' => true,
|
'-T5' => true,
|
||||||
'--stylesheet' => "$BASEDIR/hostScan.xsl",
|
'--stylesheet' => "$BASEDIR/servicesDetails.xsl",
|
||||||
'refreshPeriod' => 60,
|
'refreshPeriod' => 60,
|
||||||
'sudo' => false,
|
'sudo' => false,
|
||||||
],
|
],
|
||||||
|
@ -112,5 +112,5 @@ if ($preset && isset($presets[$preset])) {
|
|||||||
'compareWith' => FILTER_VALIDATE_URL,
|
'compareWith' => FILTER_VALIDATE_URL,
|
||||||
'refreshPeriod' => ["filter" => FILTER_VALIDATE_INT, 'options' => ['min_range' => 0]],
|
'refreshPeriod' => ["filter" => FILTER_VALIDATE_INT, 'options' => ['min_range' => 0]],
|
||||||
'sudo' => FILTER_VALIDATE_BOOLEAN,
|
'sudo' => FILTER_VALIDATE_BOOLEAN,
|
||||||
], false) ?: $presets["lan"];
|
], false);
|
||||||
}
|
}
|
@ -292,7 +292,7 @@ function hostScanning(link) {
|
|||||||
<a class="ui mini icon teal button" onclick="hostScanning(this)">
|
<a class="ui mini icon teal button" onclick="hostScanning(this)">
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$basedir"/>
|
<xsl:value-of select="$basedir"/>
|
||||||
<xsl:text>/scan.php?preset=host&targets=</xsl:text>
|
<xsl:text>/scan.php?preset=services&targets=</xsl:text>
|
||||||
<xsl:value-of select="$hostAddress"/>
|
<xsl:value-of select="$hostAddress"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<i class="satellite dish icon"></i>
|
<i class="satellite dish icon"></i>
|
||||||
@ -301,7 +301,7 @@ function hostScanning(link) {
|
|||||||
<a class="ui mini icon teal label">
|
<a class="ui mini icon teal label">
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="$basedir"/>
|
<xsl:value-of select="$basedir"/>
|
||||||
<xsl:text>/options.php?preset=host&targets=</xsl:text>
|
<xsl:text>/options.php?preset=services&targets=</xsl:text>
|
||||||
<xsl:value-of select="$hostAddress"/>
|
<xsl:value-of select="$hostAddress"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<i class="sliders horizontal icon"></i>
|
<i class="sliders horizontal icon"></i>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user