{"action":"opened","issue":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/8170","repository_url":"https://api.github.com/repos/rapid7/metasploit-framework","labels_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/8170/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/8170/comments","events_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/8170/events","html_url":"https://github.com/rapid7/metasploit-framework/issues/8170","id":218442889,"number":8170,"title":"db_import fails to import Nikto XML","user":{"login":"Kalaratri","id":26086418,"avatar_url":"https://avatars3.githubusercontent.com/u/26086418?v=3","gravatar_id":"","url":"https://api.github.com/users/Kalaratri","html_url":"https://github.com/Kalaratri","followers_url":"https://api.github.com/users/Kalaratri/followers","following_url":"https://api.github.com/users/Kalaratri/following{/other_user}","gists_url":"https://api.github.com/users/Kalaratri/gists{/gist_id}","starred_url":"https://api.github.com/users/Kalaratri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kalaratri/subscriptions","organizations_url":"https://api.github.com/users/Kalaratri/orgs","repos_url":"https://api.github.com/users/Kalaratri/repos","events_url":"https://api.github.com/users/Kalaratri/events{/privacy}","received_events_url":"https://api.github.com/users/Kalaratri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-31T09:11:05Z","updated_at":"2017-03-31T09:11:05Z","closed_at":null,"body":"## Steps to reproduce\r\n\r\nI created a Nikto XML file from scan, then used db_import, but it fails:\r\n\r\n## Current behavior\r\nb_import lab_nikto_http.xml\r\n[*] Importing 'Nikto XML' data\r\n[-] Failed to import /mnt/hgfs/KaliShare/pwk_exercises/14.2.3/lab_nikto_http.xml due to malformed XML:\r\n[-] REXML::ParseException: No close tag for /niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan/niktoscan\r\nLine: 6716\r\nPosition: 421622\r\nLast 80 unconsumed characters:\r\n\r\nI've tried to recreate the issue with a much smaller nikto scan of my loopback address and this time the import works fine.\r\n\r\nAn nmap XML import also works fine.\r\n\r\n### Metasploit version\r\n\r\nFramework: 4.14.5-dev\r\nConsole  : 4.14.5-dev\r\n\r\n### I installed Metasploit with:\r\n- [X] Kali package via apt\r\n- [ ] Omnibus installer (nightly)\r\n- [ ] Commercial/Community installer (from http://www.rapid7.com/products/metasploit/download.jsp)\r\n- [ ] Source install (please specify ruby version)\r\n\r\n### OS\r\n\r\nWhat OS are you running Metasploit on?\r\n\r\nLinux kali 4.6.0-kali1-686 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) i686 GNU/Linux\r\n\r\n"}}
{"actor":{"display_login":"Kalaratri"}}