diff --git a/config.php b/config.php
index 0246406..8050968 100644
--- a/config.php
+++ b/config.php
@@ -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,
],
diff --git a/filter_inputs.php b/filter_inputs.php
index 8a45552..76c67aa 100644
--- a/filter_inputs.php
+++ b/filter_inputs.php
@@ -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);
}
\ No newline at end of file
diff --git a/lanScan.xsl b/lanScan.xsl
index f7f7c8c..1ede7b3 100755
--- a/lanScan.xsl
+++ b/lanScan.xsl
@@ -292,7 +292,7 @@ function hostScanning(link) {
- /scan.php?preset=host&targets=
+ /scan.php?preset=services&targets=
@@ -301,7 +301,7 @@ function hostScanning(link) {
- /options.php?preset=host&targets=
+ /options.php?preset=services&targets=
diff --git a/hostScan.xsl b/servicesDetails.xsl
similarity index 100%
rename from hostScan.xsl
rename to servicesDetails.xsl