Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81936 - Metasploit ebuild needs Term::ReadKey package dependency
Summary: Metasploit ebuild needs Term::ReadKey package dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 17:43 UTC by H D Moore
Modified: 2005-02-15 06:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
net-analyzer/metasploit ebuild with Term::ReadKey dep. (metasploit-2.3.ebuild,1.17 KB, text/plain)
2005-02-13 21:53 UTC, H D Moore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description H D Moore 2005-02-13 17:43:37 UTC
After installing the metasploit ebuild on a stock system, the following error appears when msfconsole is launched. The missing Term::ReadKey package prevents tab completion from working correctly in the msfconsole interface.

outernet ~ # msfconsole



                |                    |      _) |
 __ `__ \   _ \ __|  _` |  __| __ \  |  _ \  | __|
 |   |   |  __/ |   (   |\__ \ |   | | (   | | |
_|  _|  _|\___|\__|\__,_|____/ .__/ _|\___/ _|\__|
                              _|


+ -- --=[ msfconsole v2.3 [51 exploits - 69 payloads]

Can't ioctl TIOCGETP: Invalid argument
Consider installing Term::ReadKey from CPAN site nearby
        at http://www.perl.com/CPAN
Or use
        perl -MCPAN -e shell
to reach CPAN. Falling back to 'stty'.
        If you do not want to see this warning, set PERL_READLINE_NOWARN
in your environment.
msf > 

Reproducible: Always
Steps to Reproduce:
1. emerge metasploit
2. msfconsole
3. be annoyed that nobody checked this :-)

Actual Results:  
outernet ~ # msfconsole



                |                    |      _) |
 __ `__ \   _ \ __|  _` |  __| __ \  |  _ \  | __|
 |   |   |  __/ |   (   |\__ \ |   | | (   | | |
_|  _|  _|\___|\__|\__,_|____/ .__/ _|\___/ _|\__|
                              _|


+ -- --=[ msfconsole v2.3 [51 exploits - 69 payloads]

Can't ioctl TIOCGETP: Invalid argument
Consider installing Term::ReadKey from CPAN site nearby
        at http://www.perl.com/CPAN
Or use
        perl -MCPAN -e shell
to reach CPAN. Falling back to 'stty'.
        If you do not want to see this warning, set PERL_READLINE_NOWARN
in your environment.
msf > 

Expected Results:  
Dropped to a msf> shell without the above errors, additionally, tab completion
show work (use <tab> should show a list of exploits).

The easy fix is to just add Term::ReadKey as a dependency :-)
Comment 1 H D Moore 2005-02-13 21:53:12 UTC
Created attachment 51183 [details]
net-analyzer/metasploit ebuild with Term::ReadKey dep.
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-02-15 06:49:44 UTC
Fixed. Thanks for the report.