question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Only XML files are generated

See original GitHub issue

Only XML file is generated, IP for tex generator is empty:

docker run --name flan_1574405167 -v /srv/git/flan/shared:/shared flan_scan
# Nmap 7.70 scan initiated Fri Nov 22 06:46:08 2019 as: nmap -sV -oX /shared/xml_files/2019.11.22-06.46/x.x.x.18.xml -oN - -v1 --script=vulners/vulners.nse x.x.x.18
Nmap scan report for static.x-x-x-18.clients.your-server.de (x.x.x.18)
Host is up (0.00027s latency).
Not shown: 996 closed ports
PORT     STATE    SERVICE    VERSION
22/tcp   open     ssh        OpenSSH 7.4 (protocol 2.0)
| vulners: 
|   cpe:/a:openbsd:openssh:7.4: 
|       CVE-2018-15919  5.0     https://vulners.com/cve/CVE-2018-15919
|_      CVE-2017-15906  5.0     https://vulners.com/cve/CVE-2017-15906
80/tcp   open     http       nginx 1.16.1
|_http-server-header: nginx/1.16.1
443/tcp  open     ssl/http   nginx 1.16.1
|_http-server-header: nginx/1.16.1
|_http-trane-info: Problem with XML parsing of /evox/about
9001/tcp filtered tor-orport

Read data files from: /usr/bin/../share/nmap
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Fri Nov 22 06:46:23 2019 -- 1 IP address (1 host up) scanned in 15.41 seconds
# Nmap 7.70 scan initiated Fri Nov 22 06:46:23 2019 as: nmap -sV -oX /shared/xml_files/2019.11.22-06.46/.xml -oN - -v1 --script=vulners/vulners.nse
Read data files from: /usr/bin/../share/nmap
WARNING: No targets were specified, so 0 hosts scanned.
# Nmap done at Fri Nov 22 06:46:23 2019 -- 0 IP addresses (0 hosts up) scanned in 0.35 seconds
WARNING: No targets were specified, so 0 hosts scanned.
Traceback (most recent call last):
  File "/output_report.py", line 225, in <module>
    main()
  File "/output_report.py", line 216, in main
    parse_results(data)
  File "/output_report.py", line 98, in parse_results
    hosts = data['nmaprun']['host']
KeyError: 'host'
sed: /shared/reports/report_2019.11.22-06.46.tex: No such file or directory
sed: /shared/reports/report_2019.11.22-06.46.tex: No such file or directory
sed: /shared/reports/report_2019.11.22-06.46.tex: No such file or directory

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
nadinelyabcommented, Nov 26, 2019

@wheelq I tested with an empty line in the ips.txt file and got the same error as above. Are you still having issues?

1reaction
TravelinMaxcommented, Nov 23, 2019

I am having the same issue, but are you sure the xml file isn’t useful? Search the file for “cvss” or “cve” and you’ll see all your results.

Read more comments on GitHub >

github_iconTop Results From Across the Web

XML Files: What They Are & How to Open Them - HubSpot Blog
An XML file contains XML code and ends with the file extension ".xml". It contains tags that define not only how the document...
Read more >
Generating an XML file from an XML schema - IBM
Generating XML files from XML schemas · In the Navigator view, right-click the XML schema file that you want to work with and...
Read more >
How to generate only one single XML result with jasmine ...
'jasmine-reporters'. I have this protractor-config: exports.config = specs: [ 'build/test/e2e/**/*_spec.js' ] capabilities ...
Read more >
Why were the XML files not created ? - FAQ BusinessTech
It's because the module was not able to create the XML files which will receive you feed data (it's due to your server...
Read more >
Overview of XML in Excel - Microsoft Support
Microsoft Excel makes it easy to import Extensible Markup Language (XML) data that is created from other databases and applications, to map XML...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found