Skip to content

Commit 5c7b5ad

Browse files
committed
Update nmap.py to reflect latest changes
1 parent 9a978e2 commit 5c7b5ad

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

sensors/nmap.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def get_sensordef():
4848
"tag": "mpnmapsensor",
4949
"groups": [
5050
{
51-
"name": " portspecific",
51+
"name": "portspecific",
5252
"caption": "Port specific",
5353
"fields": [
5454
{
@@ -79,6 +79,19 @@ def get_sensordef():
7979
"help": "Specify the ip-address or a range of addresses using one of the following notations:[br]Single: 192.168.1.1[br]CIDR: 192.168.1.0/24[br]- separated: 192.168.1.1-192.168.1.100"
8080
}
8181
]
82+
},
83+
{
84+
"name": "mail",
85+
"caption": "Mail Settings",
86+
"fields": [
87+
{
88+
"type": "edit",
89+
"name": "email",
90+
"caption": "E-Mailaddress",
91+
"required": "1",
92+
"help": "Specify the e-mailaddress to which the NMAP report should be sent to when the scanning has been finished"
93+
}
94+
]
8295
}
8396
]
8497
}

0 commit comments

Comments
 (0)