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