Skip to content

Commit fa9fa0c

Browse files
committed
Capitalize N in Nmap
1 parent 9b11674 commit fa9fa0c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dojo/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ class Meta:
228228

229229

230230
class ImportScanForm(forms.Form):
231-
SCAN_TYPE_CHOICES = (("Burp Scan", "Burp Scan"), ("Nessus Scan", "Nessus Scan"), ("nmap Scan", "nmap Scan"), ("Nexpose Scan", "Nexpose Scan"),
231+
SCAN_TYPE_CHOICES = (("Burp Scan", "Burp Scan"), ("Nessus Scan", "Nessus Scan"), ("Nmap Scan", "Nmap Scan"), ("Nexpose Scan", "Nexpose Scan"),
232232
("AppSpider Scan", "AppSpider Scan"), ("Veracode Scan", "Veracode Scan"),
233233
("Checkmarx Scan", "Checkmarx Scan"), ("ZAP Scan", "ZAP Scan"),
234234
("Arachni Scan", "Arachni Scan"), ("VCG Scan", "VCG Scan"),

dojo/templates/dojo/import_scan_results.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<li><b>Burp XML</b> - When the Burp report is generated, we recommend selecting the option to Base64 encode both the request and
1919
response fields. These fields will be processed and made available in the Finding view page.</li>
2020
<li><b>Tenable Nessus</b> - Reports can be imported in the CSV, and .nessus (XML) report formats.</li>
21-
<li><b>nmap</b> - XML output (use -oX)</li>
21+
<li><b>Nmap</b> - XML output (use -oX)</li>
2222
<li><b>Rapid7 Nexpose XML 2.0</b> - Use the full XML export template from Nexpose.</li>
2323
<li><b>Rapid7 AppSpider</b> - Use the VulnerabilitiesSummary.xml file found in the zipped report download.</li>
2424
<li><b>Veracode Detailed XML Report</b></li>

dojo/tools/factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def import_parser_factory(file, test):
2828
parser = NessusCSVParser(file, test)
2929
elif filename.endswith("xml") or filename.endswith("nessus"):
3030
parser = NessusXMLParser(file, test)
31-
elif scan_type == "nmap Scan":
31+
elif scan_type == "Nmap Scan":
3232
parser = NmapXMLParser(file, test)
3333
elif scan_type == "Nexpose Scan":
3434
parser = NexposeFullXmlParser(file, test)

dojo/tools/nmap/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self, file, test):
1515
root = nscan.getroot()
1616

1717
if 'nmaprun' not in root.tag:
18-
raise NamespaceErr("This doesn't seem to be a valid nmap xml file.")
18+
raise NamespaceErr("This doesn't seem to be a valid Nmap xml file.")
1919
dupes = {}
2020
for host in root.iter("host"):
2121
ip = host.find("address[@addrtype='ipv4']").attrib['addr']

0 commit comments

Comments
 (0)