New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scanner/oracle/oracle_login - NoMethodError undefined method `doctype' for Rex::Parser::NmapXMLStreamParser #11063

Open
bcoles opened this Issue Dec 5, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@bcoles
Contributor

bcoles commented Dec 5, 2018

msf5 auxiliary(scanner/oracle/oracle_login) > run

[*] Nmap: Setting up credential file...
[*] Nmap: Starting Oracle bruteforce with 568 credentials against SID 'XE'...
[*] Using RPORTS range 1521
[*] Nmap: Starting nmap with pid 53933
[*] Nmap: 'Warning: The -P0 option is deprecated. Please use -Pn'
[*] Nmap: Starting Nmap 7.70SVN ( https://nmap.org ) at 2018-12-03 20:42 EST
[*] Nmap: NSE: Loaded 1 scripts for scanning.
[*] Nmap: NSE: Script Pre-scanning.
[*] Nmap: Initiating NSE at 20:42
[*] Nmap: Completed NSE at 20:42, 0.00s elapsed
[*] Nmap: Initiating SYN Stealth Scan at 20:42
[*] Nmap: Scanning 2 hosts [1 port/host]
[*] Nmap: Discovered open port 1521/tcp on 123.123.123.123
[*] Nmap: Discovered open port 1521/tcp on 123.123.123.124
[*] Nmap: Completed SYN Stealth Scan at 20:42, 0.22s elapsed (2 total ports)
[*] Nmap: NSE: Script scanning 2 hosts.
[*] Nmap: Initiating NSE at 20:42
[*] Nmap: Completed NSE at 20:42, 0.04s elapsed
[*] Nmap: Nmap scan report for 123.123.123.123
[*] Nmap: Host is up (0.0031s latency).
[*] Nmap: PORT     STATE SERVICE
[*] Nmap: 1521/tcp open  oracle
[*] Nmap: Nmap scan report for 123.123.123.124
[*] Nmap: Host is up (0.0078s latency).
[*] Nmap: PORT     STATE SERVICE
[*] Nmap: 1521/tcp open  oracle
[*] Nmap: NSE: Script Post-scanning.
[*] Nmap: Initiating NSE at 20:42
[*] Nmap: Completed NSE at 20:42, 0.00s elapsed
[*] Nmap: Read data files from: /usr/local/bin/../share/nmap
[*] Nmap: Nmap done: 2 IP addresses (2 hosts up) scanned in 0.51 seconds
[*] Nmap: Raw packets sent: 2 (88B) | Rcvd: 2 (88B)
[-] Auxiliary failed: NoMethodError undefined method `doctype' for #<Rex::Parser::NmapXMLStreamParser:0x0000564f22cd1dc0>
[-] Call stack:
[-]   /usr/lib/ruby/2.5.0/rexml/parsers/streamparser.rb:44:in `parse'
[-]   /usr/lib/ruby/2.5.0/rexml/document.rb:242:in `parse_stream'
[-]   /pentest/exploits/metasploit-framework/lib/msf/core/auxiliary/nmap.rb:262:in `nmap_hosts'
[-]   /pentest/exploits/metasploit-framework/modules/auxiliary/scanner/oracle/oracle_login.rb:62:in `run'
[*] Auxiliary module execution completed

@bcoles bcoles added the bug label Dec 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment