rapid7 / metasploit-framework

Metasploit Framework
https://www.metasploit.com/
Other
33.95k stars 13.94k forks source link

Kitty doesn't have a terminfo file for metasploit. #13324

Open RancidRocket opened 4 years ago

RancidRocket commented 4 years ago

Steps to reproduce

How'd you do it?

  1. ... opened kitty
  2. ... opened metasploit

This section should also tell us any relevant information about the environment; for example, if an exploit that used to work is failing, tell us the victim operating system and service versions.

Expected behavior

no error message What should happen?

Current behavior

this infocmp: couldn't open terminfo file /opt/metasploit-framework/embedded/share/terminfo/x/xterm-kitty. infocmp: couldn't open terminfo file /opt/metasploit-framework/embedded/share/terminfo/x/xterm-kitty. infocmp: couldn't open terminfo file /opt/metasploit-framework/embedded/share/terminfo/x/xterm-kitty. infocmp: couldn't open terminfo file /opt/metasploit-framework/embedded/share/terminfo/x/xterm-kitty. What happens instead?

You might also want to check the last ~1k lines of /opt/metasploit/apps/pro/engine/config/logs/framework.log or ~/.msf4/logs/framework.log for relevant stack traces

System stuff

Ubuntu 19.10 (about 1 hour away from the release of 20.04 so by the time you're reading this probably 20.04.

Metasploit version

Framework Version: 5.0.86-dev- Get this with the version command in msfconsole (or git log -1 --pretty=oneline for a source install).

I installed Metasploit with:

OS

ubuntu What OS are you running Metasploit on? see ##System Stuff

adfoster-r7 commented 4 years ago

Couldn't replicate on Kali after running sudo apt install kitty and running msfconsole:

image

Replicated on Ubuntu 20.04 with omnibus:

infocmp: couldn't open terminfo file /opt/metasploit-framework/embedded/share/terminfo/x/xterm-kitty.
infocmp: couldn't open terminfo file /opt/metasploit-framework/embedded/share/terminfo/x/xterm-kitty.
infocmp: couldn't open terminfo file /opt/metasploit-framework/embedded/share/terminfo/x/xterm-kitty.
infocmp: couldn't open terminfo file /opt/metasploit-framework/embedded/share/terminfo/x/xterm-kitty.
msf5 > 

There's terminfo available, so it looks a problem with metasploit-omnibus

$ ls -l /usr/share/terminfo/x/
total 4
-rw-r--r-- 1 root root 3168 Jan 24 20:32 xterm-kitty