Merge pull request #6872 from projectdiscovery/pussycat0x-patch-4

Ensure Hostname is Set -pfsense
patch-1
Dhiyaneshwaran 2023-03-11 22:20:03 +05:30 committed by GitHub
commit a2ea1edaaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
id: set-hostname
info:
name: Ensure Hostname is Set
author: pussycat0x
severity: info
description: |
Ensure Hostname is set is a process that helps to ensure that the computer or device is being identified correctly on a network.
The hostname is a unique identifier for the device, and it is important that it is properly set so that other devices on the network can identify it.
reference: |
https://docs.netgate.com/pfsense/en/latest/config/general.html
tags: firewall,config,audit,pfsense,file
file:
- extensions:
- xml
matchers-condition: and
matchers:
- type: word
words:
- "<system>"
- "<hostname></hostname>"
- "domain>"
condition: and