laconicwolf / Nmap-Scan-to-CSV

Converts Nmap XML output to csv file, and other useful functions
216 stars 98 forks source link

Syntax Error #10

Open t0dd opened 4 years ago

t0dd commented 4 years ago

Running this on MacOs Catalina (Python 3.7.3) and getting the following error -

File "nmap_xml_parser.py", line 6 <!DOCTYPE html> ^ SyntaxError: invalid syntax

stefan-wuensch commented 3 years ago

@t0dd The file is Windows line endings (CRLF). You need to convert it to Mac line endings.